A few weeks ago I had no knowledge of C or NDS programming and now I’ve finished my first game.
The idea for this game comes from an old game of which I can’t remember the name. I played this game a lot when I was about 8 years old. And now I had to make a game my self. So I took the main concept from this old game and changed it a bit.
The idea is you have to collect points, and make your way through rooms by moving boxes.
I had no experience with C or programming without OO, so it took some time getting used to C.
I started building a lot of things I’m used from Java, like the panels, the draw functions and the actionlisteners, but after some time it got either to big to understand or the NDS emulator couldn’t handle it. But most of it did work and I learned a lot from it.
About two weeks ago I made a clean start and only made the things needed for my game. I made the map I was going to use in Numbers, made the images and made sure I could draw them on the screen, I made the structure for the data, and made the functions to listen to the buttons.
After this it took a few hours of programming and debugging, and after that I only needed to add some extra’s like the game-over screen and the sounds, but the main concept was working.
The game is now complete. Most of my ideas are in it and I can’t find anymore bugs. Comments are welcome, and here’s the game with source files: download
I had no experience with C, so I had some problems getting used to this way of programming. Especially in the beginning when I made it to complicated.
I had some problems with pointers to typedef structs, but in the final game I haven’t used pointers or typedef structs. I also had problems with the sounds but this was because I used the wrong makefile.
Overall I’ve learned a lot, but for my next game I’d prefer a OO-language and I’d propably choose a different platform.