Friday, September 26, 2008
I decided to put some more effort in my Super Mario project. I started with stripping my code leaving only the background. I wanted to see for how far I could make a real playable version of Super Mario on my LPC2148 ARM board.
After making some minor changes to the code I had created a scrollable background without using extra CPU time. After some other changes I enlarged the frame buffer to have a part of it outside the displayed area. In this off screen part of the buffer the level is built by reading which blocks to use from a level file.
To create the feeling of the real Super Mario I connected an ordinary NES controller to control the game. At that point it was only possible to use the controller to scroll through the level, but at least it was something.
The only thing left to do was to program the game play and the possibility to show sprites back into the software. Please check the video below to see the result:
Joost Thijssen =)
Fill out the form below to add your own comments