Working game!

Hello hello!

Finally a game from the most time consuming student of contrechoc!

First a bit history, information about the things that pushed me in the directions of this little piece of art.
</sarcasm> (people who don’t know me: place these tags random in the rest of the text, you can’t go wrong)
Initially I had the idea to create a nice ‘framework’ , so you could easily make buttons in C. Just like in java or php. Make a button, put some text on it, adding a handler etc. But that was not going to happen, I found out after several weeks of time consuming research, cheers! It was too difficult for someone like me, who didn’t know anything about C yet

Contrechoc allready told me several times it was better if I made a simple game first, before I would drown myself in complicated pointer structures. I heard him but didn’t listen! So the first deadline for this class was a miss. I had to make a game in the retry.

So I decided to make a simple game with the information and basic functionality I had for the framework: some buttons on the screen, one of those pressed would take you to the next level! A hole in the market as we’d say here in the Netherlands.

Not only buttons should be visible, that’s not really a game. So I displayed the level and a timer on the screen, a lot more competitive. So after some trash buttons you press the ‘end-boss’-button of each level, proceed to the next level, repeat this like twenty times and set a new world record.
Then I decided to add sounds to this, something like drum sounds, so you press buttons like a crazy, and each ‘level’ you make a new popsong. So it’s not only competitive, but also a lot of fun. Or you just play for fun and make music, with five! different sounds.

This all could be programmed in under three hours, I made it in … I fell asleep while counting.

What took me so long?
Well the most ‘simple’ things were driving me crazy.
For example the case where I was adding the counter. It wouldn’t work for days, until master Contrechoc tested my app on the nds, and found out the emulator (wich we use to develop) doesn’t support time… awesome! I needed stuff like that too, and arranged a dstt card to get my code running on my little sister’s nds.
The last days I was trying to print the time taken in decimals on the screen, tried for days to print a double with “iprintf(…%.2f…)”. Found several working examples on the internet where they did what I wanted:  “printf(…%.2f….)”. Didn’t worked on my pc nor ds! why didn’t I just copy and paste the working code? why did I have to found out with Contrechoc that I missed the “i” as in “iprintf” in my code? Well it doesn’t matter anymore, I can’t ctrl+z my spent time anyway.
These were only two examples of some ‘easy’ to make functionality. Imagine me struggling with more ‘complicated’ C issues.

Because this was allready so time consuming for me, and especially contrechoc, the to-do-list (or wishlist) is kinda long for such a small game:
– Save the best time with name of competitor
– Make an exit program function, so I can’t be sued by addicted gamers
– Really make a good button framework (as initially planned)
– More buttons and sounds
– In-game configuring of levels, button sizes, number of buttons
– Best feature imho: switch buttons to the top screen while you have to press on the toucharea!
– Choose the sounds to use with the buttons
– Make it impossible to play the game while dragging like a crazy over the screen, so you have to ‘tap’ each button. You have to release after you tried a button. Anyway i can make a lot money with selling new touchscreens muhahaha.
– And etc.

[Edited download link on 08/03/2010]
Click here to get your own copy for free.

I decided to release the .nds file too, because there can be problems when you try to compile your own with my code. This can be caused due a difference in mine and your version of devkitpro.
Get the nds file here.

Advertisements

Comments are closed.

%d bloggers like this: