Re:Butano: Modern C++ high level GameBoy Advance engine
by ArtWomb on Saturday November 14, 2020 @05:10PM
(#25096126)
Beautiful! Is sprite rendering the only way to draw pixels to the screen? And is the Audio API of real time synth?
[ Parent
| on HN ]
Re:Butano: Modern C++ high level GameBoy Advance engine
by deaddodo on Sunday November 15, 2020 @01:47AM
(#25098895)
No, you can directly rasterize to the screen buffer:
https://www.coranac.com/tonc/text/bitmaps.htm
However, you’re limited to the CPU’s (relatively) mediocre processing power. This is exactly how some of the raycasted game engines were built, though:
https://m.youtube.com/watch?v=eD1RRESSF6Y
And, if you look at open source raycaster engines, they’ll use either Mode 3 or Mode 4, usually with a background enabled:
https://github.com/jduranmaster/GBA-caster/blob/dd62073a4371...
Re:Butano: Modern C++ high level GameBoy Advance engine
by lostgame on Saturday November 14, 2020 @05:14PM
(#25096159)
Looks like it supports raster effects, but from what I'm seeing this engine does not e.g. support writing directly to the framebuffer.
Re:Butano: Modern C++ high level GameBoy Advance engine
by msk-lywenn on Saturday November 14, 2020 @06:15PM
(#25096587)
There is no framebuffer on the GBA, just sprites and tiled backgrounds. Although if it's like on the DS, I don't recall exactly, you can setup a background in such a way that it emulates a framebuffer. Handy for software 3D.