Scratch Level 2 - Racing Game


 https://scratch.mit.edu/projects/188429249/

1. What difficulties did you have with programming this game? How did you fix them? Be specific.


Initially, I had some difficulty programming the lap system for my game as the track in my game is in the shape of figure eight unlike the simple circle found in the tutorial. I solved this problem by adding 3 times as many requirements or "wait until" blocks that lined every turn in the course.

I also had some difficulty converting my game into multiplayer, as I realized that variable like speed and laps would be connected to both my cars. This means that if I pressed w to accelerate Car 1, then Car 2 speed up as well regardless if it was set to the w key. I fixed this problem by creating 4 new variables Black`s Speed and Laps, and Red`s Speed and Laps. I replaced with previous speed and lap variables in each car until the two sprites were using different variables that functioned better than before.

2. What changes to the tutorial game did you add? Why and how?

I added another car or player to the game, to enable multiplayer. I changed the track from a circle to a figure eight shape for more interesting and challenging races. I added 4 new variables to differentiate between the two cars make multiplayer work. I also added 2 new win screens that tailored to which player won, so that it would be clear at the end who won, and to make victory feel special.

Comments

  1. Missing link to project page. Currently 15/30.

    ReplyDelete
  2. Good ideas. Lap counter doesn't seem to work. 27/30.

    ReplyDelete

Post a Comment

Popular posts from this blog

GameMaker - Asteroids - Part C

Indie Game: The Movie

GameMaker - Asteroids Part A