#46263 - whodoo - Wed Jun 22, 2005 3:21 pm
I've been creating lots of graphic engines and stuff during the last years (mainly for the PC) and now I want to make a complete game for the first time(for the GBA). What's best?
Should I create lots of classes with "easy" functions to handle the graphics/sound ect. This will make the programming of "the game" very simple and easy,and I will not have to care about the fact that I'm making a game for GBA since it will be so easy to use the hardware, but it will probably be a little bit slow and it will take some work before I can use it.
Or, should I make the game very "hardcoded" and use lots of GBA-code everywhere in my code? (e.g. suppose I want a new sprite to appear. The first strategy will allow me to do this by a simple function call like createSprite(x,y, size, imagedata). The other strategy would be more "setting the attribute0 to blabla, copy the sprite into the OAM". Thus, the second strategy will be faster but it will result in more code that is harder to read and change.
Making games by using the second strategy (3D-games mainly) for a PC is a bad idea since the games are so complex, but how is the GBA generally programmed? Any suggestions/ideas.
Should I create lots of classes with "easy" functions to handle the graphics/sound ect. This will make the programming of "the game" very simple and easy,and I will not have to care about the fact that I'm making a game for GBA since it will be so easy to use the hardware, but it will probably be a little bit slow and it will take some work before I can use it.
Or, should I make the game very "hardcoded" and use lots of GBA-code everywhere in my code? (e.g. suppose I want a new sprite to appear. The first strategy will allow me to do this by a simple function call like createSprite(x,y, size, imagedata). The other strategy would be more "setting the attribute0 to blabla, copy the sprite into the OAM". Thus, the second strategy will be faster but it will result in more code that is harder to read and change.
Making games by using the second strategy (3D-games mainly) for a PC is a bad idea since the games are so complex, but how is the GBA generally programmed? Any suggestions/ideas.