Friday 13 January 2017

Scratch Level 2 - Racing Game




Use arrow keys to move Sonic, use WASD to move Shadow. Try to stay on the track, they love going fast but not so much off-track.

Project page.

1. I had difficulties trying to make the two-player work, making the countdown work, and making the game playable after hitting the green. For the first issue I was the most stuck but a friend told me I just needed separate speeds for the characters. For the countdown I wasn't sure if there was already a countdown setting, which there wasn't, so I made my own and just added it to the screen like with the "finished" text. For the last part, when you hit the green it would keep spinning you which was an issue so I decided to just take it out. It isn't really needed and I like to keep my theme of GOING FAST all the time.

2. I made the starting background Green Hill Zone by adding an backdrop for 3 seconds and then switching to the green again because the code wouldn't really work on the Green Hill Zone. I also added Sonic/Shadow instead of cars easily by replacing the cars and adding these costumes. Finally I also added Sanic/Shedow costumes for them when they hit the green just cause it seems better that way. With that it was simple coding like "if touching colour green switch costumes".

No comments:

Post a Comment