Learning outcomes
- Design a background using a tile set
- Create a sprite animation
- Design and program a platform game
- Program objects to load and save games
To-do List
- Watch video - Using tiles
- Watch video - Using animated sprites
- Watch video - Loading and saving games
- Watch video - Space adventure
- Complete assignment - Space Adventure
Discussions
None for this unit.
Videos
Using tiles
http://www.youtube.com/watch?v=DB3nVUYXI98Using animated sprites
http://www.youtube.com/watch?v=SWzGp363MRkLoading and saving games
http://www.youtube.com/watch?v=so91g2r4Mu4Assignment
Space Adventure
http://www.youtube.com/watch?v=mZgu76jQpxASummary: Create a game that lets the player control a space man to collect diamonds and destroy walls (or other objects). Use the assignment project file (located here http://www.box.net/shared/ajqdp30dl4 ) to complete the following tasks. Look at the objects and how they are used in the room before trying to work on the assignment. Watch the assignment video. Click on the File menu item and make sure Advanced Mode is checked. This is necessary to see the TILES tab in the Room editor. Expand the tiles box to see all tiles. Tiles are just for decoration so you will need to overlay certain areas with invisible objects to create floors and walls.
Total Points: 100 Each step is 5 points each.
- Create a Title Screen room with background music. Use the tiles to create your Title Screen.
- Add a button to the Title Screen to allow the player to begin a new game.
- Add a button to the Title Screen to allow the player to continue a saved game.
- Adjust the power of the jump so the spaceman can jump to the level above.
- Add a sound when the spaceman jumps.
- Add more wall and floor objects so the spaceman will not fall off the screen.
- Add more decorations using the Tiles tab of the room. Add at least another cloud, a sign pointing to the right to indicate an exit and a flower. (The tileset is bigger than the display so scroll over to see more tiles.)
- Add an invisible object (uncheck the Visible option in the object properties) on the right side of the screen so that if the spaceman touches it the player will be taken to the next room.
- Increase the score when the diamond is touched. Destroy the diamond when it is touched.
- Create another level (room).
- Add an object that when touched will take the player to the Game Over room.
- Add music to both game levels.
- Add a button in both game levels to allow the player to save the game.
- Create a Game Over room with background music.
- Add a button to the Game Over room to allow the player to return to the title screen.
- Add a button to the Game Over room to allow the player to exit the game.
- Add a High Score option to the Game Over room.
- Add a wall object that can be destroyed by the bullet (see next page).
- Launched with (space bar) key release event. (1 point)
- Destroy instance of bullet when it collides with a wall or destroyable wall (1 point)
- Bullet must go left or right depending of which direction the player is facing
- Set a variable (control tab) when the player presses left or right. Set the value to 1 for left and 2 for right. (1 point)
- Test the variable (control tab) when the player presses the space bar to determine the direction the bullet should go.
- Test your variable for a value of 1. (1 point)
- If value of 1 then send the bullet left (1 point) ELSE send the bullet right. (1 point)
- Play a sound when the bullet fires. (1 point)
No comments:
Post a Comment