Unit 2 - Breaking Out Assignment Using Stencyl

Breaking Out

http://www.youtube.com/watch?v=WiBfgl8nPAM 
 Summary: In this assignment you will create a clone of the game called Breakout. Read background information about Breakout at http://en.wikipedia.org/wiki/Breakout_(arcade_game) Watch the assignment video.
  • Sprites located in the Gamemaker sprites folder under Bouncing Balls and Maze-Platform.
  • Sounds located in the Gamemaker sounds folder.




Creating a method to find when the game ends is similar to the lives event. Under the ball updating event, add another flow that checks when the game score has exceeded a value (sum of all bricks destroyed) and then transition to the game over screen.

Total points: 100 Sprites:
  • Ball, paddle, wall and brick (10 points - 2.5 points each)
  • Sprite for a "Continue" button. (5 points)
Sounds: Load a Sound to be used when ball collides with paddle, brick or wall (2 points) Background:
  • Create a Game Over background for the Game Over scene. The can be  640X480 image with the words “Game Over”. (5 points)
  • Background for the title screen scene. (5 points)
Objects:
  • Ball, paddle, wall, bottom wall, and brick (1 point each)
  • Ball – Begins moving during creation event (5 points). Bounces and plays sound when collision with wall, paddle or brick occurs (5 points). Sets the lives -1 (relative), returns the ball to the starting position when collision with bottom wall occurs (5 points). Destroys brick and sets score to +10 (relative) when collision with brick occurs (5 points).
  • Set lives to 3 in the lives variable. (10 points) 
  • Continue button: Placed in the title screen room. Takes the player to bouncing balls room when pressed. (5 points)
  • Other – Test to see if lives are equal to 0 when ball collides with bottom wall (go to game over room if equal to 0) (10 points). Test to see if all bricks destroyed (go to game over room if equal to 0) (15 points).
Room: The objBottomWall objects should be along the bottom (2 points). Border the rest of the room with the objWall objects (2 points). Position the ball and paddle objects (2 points). Place bricks in room. (2 points)

No comments:

Post a Comment