Dzz
stmia r0!, {r2-r9}
Hello everybody!
I was thinking it would be fun to play around with some graphics/game programming and it struck me that it would be particularly fun to build something for a handheld gaming device. The openness of the gp2x platform seemed attractive so I decided to play around with developing something for it.
I don't know much about 3D programming so I decided to do a 3D project since learning new stuff is half the fun of coding as a hobby. Mighty Mini Bug Blaster is the working title for this little game, which will likely take quite a while for me to program.
I didn't see any particularly useful 3D code that I could steal so I decided to build a 3D engine from scratch, which is very interesting and challenging.
Unfortunately, I do not yet have my gp2x (I'm sure it will arrive eventually) so I decided to start the development on Windows and port whatever I have over to the actual device when I get it. So I built a little SDL wrapper to emulate the gp2x screen memory. I'm not a big fan of big libraries so I won't use SDL for the gp2x version of the code, but it's a simple way to get stuff onto the screen for Windows.
So far I have some code to manage lists of vertices and triangles, and I think I understand the math well enough that my geometry transformation code works, although it will want some optimization eventually.
Besides the 3D engine, there's a bunch of other tasks that need doing:
As soon as I have something even mildly interesting working on the gp2x I'll start releasing binaries for people to play with, because I know I like to see what other people are up to. I'll release all the source too of course, though I doubt anybody will be too interested in using it for anything.
Anyway, just thought I'd introduce this project. I'll post new notes once in a while to chronicle my progress, unless that sort of thing is inappropriate for this forum, in which case somebody please tell me!
I was thinking it would be fun to play around with some graphics/game programming and it struck me that it would be particularly fun to build something for a handheld gaming device. The openness of the gp2x platform seemed attractive so I decided to play around with developing something for it.
I don't know much about 3D programming so I decided to do a 3D project since learning new stuff is half the fun of coding as a hobby. Mighty Mini Bug Blaster is the working title for this little game, which will likely take quite a while for me to program.
I didn't see any particularly useful 3D code that I could steal so I decided to build a 3D engine from scratch, which is very interesting and challenging.
Unfortunately, I do not yet have my gp2x (I'm sure it will arrive eventually) so I decided to start the development on Windows and port whatever I have over to the actual device when I get it. So I built a little SDL wrapper to emulate the gp2x screen memory. I'm not a big fan of big libraries so I won't use SDL for the gp2x version of the code, but it's a simple way to get stuff onto the screen for Windows.
So far I have some code to manage lists of vertices and triangles, and I think I understand the math well enough that my geometry transformation code works, although it will want some optimization eventually.
Besides the 3D engine, there's a bunch of other tasks that need doing:
- Sound and music. I plan to grab the code from MikMod and take what I need
- Fonts and text support. I plan to grab the SFont code for that
- Picture loading. I plan to grab the needed code from libpng
- 3d model importer. I'm planning to use the Milkshape 3D format
As soon as I have something even mildly interesting working on the gp2x I'll start releasing binaries for people to play with, because I know I like to see what other people are up to. I'll release all the source too of course, though I doubt anybody will be too interested in using it for anything.
Anyway, just thought I'd introduce this project. I'll post new notes once in a while to chronicle my progress, unless that sort of thing is inappropriate for this forum, in which case somebody please tell me!