4 ms·
Aside from some a couple performance critical parts of code or if you're trying to push the hardware to it's maximum limits with effects or complex mechanics, C
by bbbbbr 5y ago
Aside from some a couple performance critical parts of code or if you're trying to push the hardware to it's maximum limits with effects or complex mechanics, C is totally sufficient for writing entire (and performant) games on the Game Boy. Many polished homebrew GB games have been (and are being) written and completed using C.
Of course, now the number of games now being made with GB Studio completely eclipses the number written in C and assembly.
Most of the GBDK/GBDK-2020 API used for C development is written in assembly, so if you use C you get some benefits of using assembly anyway.
Here's a more nuanced guide for choosing which development tools to use.
https://gbdev.io/to_c_or_not_to_c.html https://gbdev.io/to_c_or_not_to_c.html
And a couple recent-ish examples of polished games:
GB Studio:
https://lumpytouch.itch.io/super-impostor-bros https://lumpytouch.itch.io/super-impostor-bros
C/GBDK:
https://pocketpixel.design/super-jetpak-dx-game-boy-rom.html https://pocketpixel.design/super-jetpak-dx-game-boy-rom.html
https://user0x7f.itch.io/black-castle https://user0x7f.itch.io/black-castle
https://tangramgames.itch.io/tobu-tobu-girl-deluxe https://tangramgames.itch.io/tobu-tobu-girl-deluxe
C/GBDK + ZGB:
https://aiguanachein.itch.io/powa https://aiguanachein.itch.io/powa
(edit: line breaks)