Day 6 Unit 3

Unit 3 Platform game

Create a Winning Condition

We need to make a winning condition for this game, just like we did with the maze game. But, this time, you will decide what the winning condition is, and what will happen when the condition is met.

https://csfirst.withgoogle.com/c/cs-first/en/game-design/platform-game/create-a-winning-condition.html

  1. Program an “if” block to decide if the player wins the game.
  2. Add a celebration when the player sprite wins the game.

Add on extras to your platform game. Here are some ideas.

https://csfirst.withgoogle.com/c/cs-first/en/game-design/platform-game/add-ons.html

  1. In Time to Celebrate, you’ll program a wild winning celebration.
  2. Make the platforms change positions on the stage in Moving Platforms.
  3. In Shrinking Platforms, create a platform that shrinks when the player stands on it.
  4. In Splash You Lose, create a losing condition for your game.
  5. Add music in your game with Add Some Tunes.
  6. In Bug Fix: Land on Your Feet, or not, you’ll program the sprite’s feet to land on the platform.

When you are done, let’s share and show your games.

Wrap up: Share your project!

  1. Click Share button on the top of the page.
  2. Click on +add to studio button at the bottom of the page
  3. Choose summer code camp 2019.
  4. Click okay

Wrap-up: Show your project

  1. click on your account name at the top right of the page.
  2. Select My Class
  3. Click on Class Studios – summer code camp 2019
  4. Check out your friends projects!