Discussion about software development for the old-school Gameboys, ranging from the "Gray brick" to Gameboy Color
(Launched in 2008)
You are not logged in.
So, I finally got around to writing up a GBDK demo ROM for people to build things off from tonight.
It's fully commented and covers most of the bases to get a simple game started off with. Tiles / Data grabbing, joypad input, collision and a tiny amount of sound. Just enough to give a flavour of gameboy to it.
Any comments would be welcome.
You can download the files from here:
https://refreshgames.co.uk/2016/04/18/g … orial-rom/
Offline
Seems perfect for beginners
Thanks for sharing!
Offline
Hi! What version of GBDK compiles this?
I get
#error SFR is untested and disabled in 2.96
when I run the first line in the batch file. If I take out the -DUSE_SFR_FOR_REG, I get
/opt/gbdk/bin/lcc: fatal error in /opt/gbdk/bin/sdcc
I'm using https://github.com/gheja/gbdk
Thank you for all your hard work!
Offline
gbdk3-2.93 - http://gbdk.sourceforge.net/
-----------------------------------------
This is a early-release beta. Please report any bugs
Looks like I'm running an older version, eep!
Offline
rychan wrote:
So, I finally got around to writing up a GBDK demo ROM for people to build things off from tonight.
It's fully commented and covers most of the bases to get a simple game started off with. Tiles / Data grabbing, joypad input, collision and a tiny amount of sound. Just enough to give a flavour of gameboy to it.
Any comments would be welcome.
You can download the files from here:
https://refreshgames.co.uk/2016/04/18/g … orial-rom/
Hi rychan! I noticed there are actually five different tile patterns ---- with the first tile being totally blank! Thus the correct one should be rand()%5, rather than rand()%4, to make a starry background. I examined the program and found the "X" shaped tile was actually omitted in the random background, which I believe should be a little mistake.
Offline
rychan can you make video on how to develop with the GBDK
Offline
I might try to make a video at some point in the future but work and family commitments means I have little time for things currently. It would be cool to go througgh a simple game step - by - step though.
Offline
Yeah, that would be cool. I found one series of tutorials for the gameboy. It was quite informative, but they move slowly. Its good for beginners (me).
Offline