Sunday, 3 June 2012

A disappearing act

3rd June 2012

I thought I'd be losing some free time today, but I have one way or another. Today I felt like doing more work on Trance Sector, as last week I sort of missed out on it, for some reason. So then, what has happened today then? Well, let's continue yakking away ;)

First of all, I loaded up the SpritePad editor, because my next task is to do a spawn and disappearance of all game sprites. So I drew another 4 frames for the sprites. Then I worked on some sound effects to make a similar sound to Bulldog (Where the player appears and disappears). It worked out quite well, and I was pretty much pleased with it. I also made a sound for another idea I had (level complete explosion effect). Then I imported both updated sounds and sprites into the source code. I had to relocate the game sprites to $3000 and change the value of the animation / sprite type values. This was because of the sound effects/music taking over the memory at $2000. I also had to alter the variables that were pointed to $3xxx and make them point to $2xxx instead.

Now I programmed a few additional routines. The first of which was to spawn all of the sprites on to the game screen. I made them appear by using an expanding '+' type of sprite. I set the frames and pointers for the animation, and added the 'ding' style sound to make the player appear. Well, it turned out quite well. Then in the Level Complete routine, I got all of the sprites to disappear by using the same '+' sprite, but disappearing in reverse.

Next I wanted to add some effect to the level screen. So I decided to make the level's background multicolour colours, use the panic colours in high speed mode. I added a sound effect to this as well. Then I added a simple exploding screen and used the player's death sound for the quick explosion. Then the main Level Complete message + jingle comes on. Feels quite great. Check out the video:


No comments:

Post a Comment