Saturday, 11 April 2009
Enter the choppers
Saturday 11th April 2009
Yesterday I mentioned about the Ultimate Stunt Boat Challenge game. Well, today I have been doing a little bit more on the project. Before I could do any more to the project I converted the test run file on to a C64 tape using the WAV/PRG program and loaded the test file in to my Commodore 64. Damn, there was a major problem. The player's boat (when expanded MSB for the sprites) screwed up the scrolling engine. So now I have to work out what was causing the problem. Fortunately I figured out what was causing such a disturbance to the scrolling engine. It appeared that I used an insufficient area for the artificial sprite positions. So I altered the OBJPOS label to a different memory location. Crunched it all with the Exomizer and tested it on my real C64. RESULT!
Now that I was happy with everything, It was time for me to add some data tables and program some additional routines. I created some data tables for the sprites, and programmed a sprite animation routine. After that I worked on a small, but very easy routine, where the player can now shoot bullets. Then I started working on getting the enemies to move. At the moment they are the same enemies moving across the screen in the same place. However I can work more on making better movements and behaviour of the enemies next time I go on to this project. Which probably might be tomorrow morning.
So far, so good. Player can move and shoot, scroller is working fine (It uses DMA delay routines) and also the enemies can move - but more work is needed on this part of the project.