2D Platform. Table of Contents

Size: px
Start display at page:

Download "2D Platform. Table of Contents"

Transcription

1 2D Platform Table of Contents 1. Making the Main Character 2. Making the Main Character Move 3. Making a Platform 4. Making a Room 5. Making the Main Character Jump 6. Making a Chaser 7. Setting Lives and Health 8. Throwing Objects in Several Directions 9. Adding Prizes 10.Displaying Lives and Health 11.Making a Second Chaser 12.Adding a Goal 13.Adding a Title Screen and Music 14.Atmosphere 15.Making the Boss 16.Making the Boss Move 17.Making the Boss Jump 18.Making the Boss Attack 19.Adding Health to the Boss 20.Making the Boss Hit the Main Character 21.Adding the Victory Screen

2 2D Platform L 1 Making the Main Character We will start creating our platform game by making the main character. The player will control this character with the arrow keys. This character will face left or right depending on the which way it is moving. 1. First, we will add a sprite to represent our main character. A sprite is just a picture; it does not have any game logic associated with it. We will add two sprites, one for each direction that the main character can face. We'll start with the right one. Click Create a Sprite. Set the Name to spritemainright. Click Load Sprite and select a character that faces to the right. Your instructor will show you where to find the small character library and help you choose a sprite. Deselect Precise collision checking. Under Bounding Box, select Full image. We select Full image to keep our main character from getting stuck when it turns around. You may find that the sprite you chose actually faces to the left. If this is the case, when you follow the next step, flip spritemainright instead of spritemainleft. 1/2 1

3 2D Platform L 1 2. Next, we'll duplicate our main character sprite and flip it to make it face to the left. Right-click spritemainright in the Sprites list on the left side of the window and select Duplicate. Set the Name to spritemainleft. Click Edit Sprite. Select Transform Mirror Horizontal. Click the green checkmark. 3. We now have two sprites for the main character. Next, we need to make an object so we will be able to place our main character in our room. Click Create an Object. Set the Name to objectmain. Set the Sprite to spritemainright. Save your work. Next, we will add movement to our main character. 2/2 2

4 2D Platform L 2 Making the Main Character Move Next, we'll add controls to the main character. We'll start with adding movement to the left and right. When the player presses the left arrow key, the main character will move to the left and when the player presses the right arrow key, it will move to the right. 1. We'll start by adding the event for the left key. When the player presses the left key, the main character will turn to face the left. Then, if the space to the left of the main character is unoccupied, the main character will move to the left. We will use the Keyboard type of event so that the event will happen repeatedly as long as the player holds the key down. Open objectmain. Click Add Event and select Keyboard Left. On the Main 1 tab, add a Change Sprite action. Set sprite to spritemainleft. Set subimage to -1. This tells Game Maker to run the entire animation (if the sprite is animated). On the Control tab, add a Check Empty action. Set x to -6. Set y to 0. Set objects to Only solid. Select Relative. 1/3

5 2D Platform L 2 On the Move tab, add a Speed Horizontal action. Set hor. speed to Next, we'll add the event for the right key. Since the actions will be very similar to the actions in the Keyboard Left event, we will duplicate that event to get started. Right-click on the Keyboard Left Event we already made. Click Duplicate Event and select Keyboard Right. Double click on the Change Sprite action we already made. It should read Change sprite into spritemainleft. Set sprite to spritemainright. 2/3

6 2D Platform L 2 Double click on the Check Empty action we already made. It should read If a position is collision free. Set x to 6. Double click on the Speed Horizontal action we already made. It should read Set the horizontal speed. Set hor. speed to To stop the main character's movement when the player releases a key, we will add friction. This will gradually slow the main character to a stop. Click Add Event and select Create. On the Move tab, add a Set Friction action. Set friction to 0.5. Click OK to close the Object Properties window. Save you work. We are almost ready to test our game. Next, we'll add a platform for our character to stand on. 3/3

7 2D Platform L 3 Making a Platform We will make a sprite and an object for the platforms in our game. These platforms are what the main character stands on and will be what you use to design your levels. 1. First we need to choose a sprite for the platform. Click Create a Sprite. Set the Name to spriteplatform. Click Load Sprite and select a platform. Your instructor will show you where to find the platforms library. Deselect Precise collision checking. 2. Next, we need to make an object for the platform. Click Create an Object. Set the Name to objectplatform. Set the Sprite to spriteplatform. Select Solid. If you like, you can add many different platforms for the main character to stand on. Just make sure that the sprites for any new platforms use a Full image bounding box and the objects are Solid. Save your work. Next, we'll add a room so that we can test our game. 1/1

8 2D Platform L 4 Making a Room Next, we will add the first room (level) to our game. We'll also add a background to bring some scenery into our room. 1. First, we need to add a background that will fill the room. Click Create a Background. Set the Name to backgroundlevel1. Click Load Background and select a tileable background. Your instructor will show you where to find the correct library. 2. Next, we'll add a room. We need to set it up so that it will scroll and along follow the main character. We will also set it to display our background. Click Create a Room. Click the backgrounds tab. Set the background to backgroundlevel1 by clicking where it says <no background> 1/3

9 2D Platform L 4 3. Next, we'll set up the room size. We will make the room long so that the screen will scroll as the player travels through the level. Click the settings tab. Set the Name to roomlevel1. Set the Caption to anything you like. This will display at the top of the game window. Set the Width to 1280 or Next, we need to set up a view so the screen will scroll. Using a view is like looking into a house through a window. You can only see a small portion of the room at a time. By using views, the player can see just the portion of the room the main character is in. Click on the Views Tab. Select Enable the use of Views. Select Visible when room starts. Under Object following, select objectmain by clicking where it says <no object>. Set Hbor to 256. This sets how close the main character can get to the edge of the screen. Set Vbor to /3

10 2D Platform L 4 5. Lastly, we need to place some objects, like our main character and some platforms, in our room. Set Snap X to 43. Set Snap Y to 32. You may find it helpful to use the Top value of the platform sprite's bounding box. Click on the objects tab. Add objectmain and a couple objectplatforms to your room. To select which object to add, click on the large space on the left side of the Room Properties window and choose an object. To place an object, click where you'd like to the object to go. Right-click an object to delete it. Hold the Shift key, click, and drag the mouse to place multiple copies of an object. Click the green check mark to save the room. Save and test your game (by pressing the green play button on the top menu bar). Make sure that the main character can move left and right. Make sure that it faces the direction it is moving. Make sure that if you let go of a key, it slows down and stops. We haven't added gravity or jumping to the main character yet. Also, it will not collide with platforms. We'll add that next. 3/3

11 2D Platform L 5 Making the Main Character Jump Next, we'll need to make our main character jump. This will allow it to navigate around the level and avoid enemies. 1. First, we will set up an event so that when the player presses the up key, the main character jumps in the air. Open objectmain. Click Add Event and select Key Press Up. 1. On the Control tab, add a Check Collision action. Set x to 0. Set y to 1. Set objects to Only Solid. Select Relative. On the Control tab, add a Start Block action. On the Move tab, add a Speed Vertical action. Set vert. speed to /4

12 2D Platform L 5 On the Draw tab, add a Create Effect action. Set type to explosion. Set x to 16. Set y to 64. Set size to medium. Set color to any color. Set where to below objects. Select Relative. On the Control tab, add an End Block action. 2. To bring our main character back to the ground, we'll add gravity. If it is in the air (there is nothing under the main character), gravity will pull the main character downward. We will use the step event (a new step happens every 1 / 30 th of a second) to continuously check whether to apply gravity or not. Still in objectmain, click Add Event and select Step Step. On the Control tab, add a Check Empty action. Set x to 0. Set y to 1. Set objects to Only solid Select Relative. 2/4

13 2D Platform L 5 On the Move tab, add a Set Gravity action. Set direction to 270. In Game Maker, directions are in degrees. 270 is down. Set gravity to 1.5. On the Control tab, add an Else action. On the Move tab, add a Set Gravity action. Set direction to 270. Set gravity to We'll add two more actions to this event to prevent the main character from moving too quickly as it falls. This will keep the main character from skipping through platforms. Still in objectmain, click on the Step we already made. On the Control tab, add a Test Variable action. Set variable to vspeed. Set value to 12. Set operation to larger than. 3/4

14 2D Platform L 5 On the Move tab, add a Speed Vertical action. Set vert. speed to Lastly, we need to add a script to handle the collisions between the main character and the platforms. Scripts allow you to create additional instructions. They are commonly used for custom or complex actions that would be difficult to create with the action icons. On the top menu bar, click on Scripts Import Scripts. Load the script file for this game. Your instructor will show you where it is. Back in objectmain, click Add Event and select Step End Step. On the Control tab, add an Execute Script action. Set script to handle_platforms. Save and test your game. Make sure that your main character can jump and land on platforms. Make sure that you place platforms under your main character so that it doesn't fall out of the room. 4/4

15 2D Platform L 6 Making a Chaser To make our levels more interesting, we will add chasers that patrol platforms. The main character will need to avoid these chasers to complete the level. 1. This chaser will move left and right and also face in the direction it is moving, so we need to load a sprite that faces to the right. Click Create a Sprite. Set the Name to spritechaser1right. Click Load Sprite and select a chaser sprite facing to the right. You instructor will show you where to find the small characters library and help you choose a sprite. Deselect Precise collision checking. Under Bounding Box, select Full image. You may find that the sprite you chose is facing to the left. If that is the case, in the next step, flip spritechaser1right, instead of spritechaser1left. 1/6

16 2D Platform L 6 2. Since we want our chaser to face to the left and right, we need to duplicate the right facing sprite and flip it. Right-click spritechaser1right in the Sprites list on the left side of the window and select Duplicate. Set the Name to spritechaser1left. Click Edit Sprite. Select Transform Mirror Horizontal. Click the green checkmark. 3. Before we get started on the object for our chaser, we need to create a helper object. This object will be invisible and will turn the chaser around when they collide. This will keep the chasers from running off the end of a platform. Click Create a Sprite. Set the Name to spriteuturn. Click Load Sprite and load the U-turn marker. Your instructor will show you where it is. Deselect Precise collision checking. Deselect Preload texture. Under Bounding Box, select Full image. 2/6

17 2D Platform L 6 4. Next, we need to add an object so we can use it with our chaser. Click Create an Object. Set the Name to objectuturn. Set the Sprite to spriteuturn. Deselect Visible. 5. Next, we'll add an object for our chaser, so we can add logic to it and place it in the level. Click Create an Object. Set the Name to objectchaser1. Set the Sprite to spritechaser1right. 6. We'll start setting up our chaser by adding a create event. This will make the chaser start moving either to the left or the right. In objectchaser1, click Add Event and select Create. On the Move tab, add a Move Fixed action. Set Direction to Left and Right. When we select multiple directions, the chaser will randomly choose in which direction to move. Set Speed to 5. 3/6

18 2D Platform L 6 7. Next, we'll add the collision between the chaser and the helper object. When they collide, the chaser will turn around and head in the other direction. Still in objectchaser1, click Add Event and select Collision objectuturn. On the Move tab, add a Reverse Horizontal action. 4/6

19 2D Platform L 6 8. Since we don't really know which way the chaser is moving, we'll need to find out which sprite to use. Since the horizontal speed of the chaser is positive when the chaser is moving to the right and negative when it is moving to the left, we can check the current horizontal speed and choose which sprite to show based on that. Click Add Event and select Draw. On the Control tab, add a Test Variable action. Set variable to hspeed. Set value to 0. Set operation to larger than. On the Draw tab, add a Draw Sprite action. Set sprite to spritechaser1right. Set x to 0. Set y to 0. Set subimage to -1. Select Relative. On the Control tab, add an Else action. On the Draw tab, add a Draw Sprite action. Set sprite to spritechaser1left. Set x to 0. Set y to 0. Set subimage to -1. Select Relative. 5/6

20 2D Platform L 6 9. Lastly, we need to make sure that a chaser turns around when it runs into a platform on it's left or right. We will make the U-turn object the parent of the platform. This means that platform can pretend to be a U-turn object and will do everything the U-turn object does (specifically, it will turn the chaser around when they collide). Open objectplatform. Set Parent to objectuturn. Open roomlevel1 and place some chasers in the room. Make sure that you place U-turn objects on the edges of the platforms to keep the chasers from falling off. Look at the picture below for an example. Save and test your game. Make sure your chasers move left and right. Note that there will not be any reaction if the main character collides with the chaser. We'll add that soon. Next, we'll add health and lives to the main character. 6/6

21 2D Platform L 7 Setting Lives and Health Before we can add collisions between the main character and the chasers, we need to give the main character lives and health. Then, we'll take health away every time the main character collides with an enemy. 1. We'll start by adding a setup object. When the game begins, this object will give the main character full health and a handful of lives. It will also set up the game window to show the current lives, score and health in the title bar. For now, we'll place this object in the first level, but when we add a title screen, we'll move this object there. Click Create an Object. Set the Name to objectstart. Deselect Visible. 1/6

22 2D Platform L 7 2. Now, we'll add a Game Start event to set up the player's health and lives. In objectstart, click Add Event and select Other Game Start. On the Score tab, add a Set Health action. Set value to 100. On the Score tab, add a Set Lives action. Set new lives to 3. On the Score tab, add a Score Caption action. Set show lives to show. Set show health to show. 2/6

23 2D Platform L 7 3. Now we can add the collision between the main character and the chasers. When a chaser collides with the main character, the player loses some health and the main character bounces away from the enemy. Open objectmain and click Add Event and select Collision objectchaser1. On the Score tab, add a Set Health action. Set value to -10. Select Relative. On the Move tab, add a Speed Vertical action. Set vert. speed to sign(y - other.y) * 10. This calculates the vertical direction the main character should move to bounce away from the chaser after a collision. On the Move tab, add a Speed Horizontal action. Set hor. speed to sign(x - other.x) * 10. 3/6

24 2D Platform L 7 4. When the main character loses all it's health, it loses a life. It's also placed back at it's starting position to try again. We will need to set the previous position of the character manually because of the way the script in the End Step event works. Still in objectmain, click Add Event and select Other No More Health. On the Score tab, add a Set Lives action. Set new lives to -1. Select Relative. On the Move tab, add a Jump to Start action. On the Control tab, add a Set Variable action. Set variable to xprevious. Set value to x. 4/6

25 2D Platform L 7 On the Control tab, add a Set Variable action. Set variable to yprevious. Set value to y. On the Score tab, add a Set Health action. Set value to When the main character runs out of lives, the game is over. We'll show the high score table and ask the player if they would like to try again. Click Add Event and select Other No More Lives. On the Main 2 tab, add a Display Message action. Set message to Game Over. On the Score tab, add a Show Highscore action. 5/6

26 2D Platform L 7 On the Control tab, add a Test Question action. Set question to Do you want to play again? On the Main 2 tab, add a Restart Game action. On the Control tab, add an Else action. On the Main 2 tab, add an End Game action. Open roomlevel1 and place objectstart anywhere in the room. Save and test your game. Make sure that you can collide with the chasers. Make sure you can lose all your health and all your lives. Try to restart the game after you lose. Try to quit the game after you lose. Next, we'll give the main character the ability to defend itself. 6/6

27 2D Platform L 8 Throwing Objects in Several Directions Now that we have chasers running all over our platforms, we need to give the main character a way to defend itself. We'll make the main character throw an object in the direction it is facing when the player presses a key. This thrown object will defeat any chaser it hits. 1. First, we need to create a sprite that will show what our thrown object looks like. Click Create a Sprite. Set the Name to spritemainthrow. Click Load Sprite and select an object to be thrown. Your instructor will show you where to find the small objects library. Deselect Precise collision checking. 2. Next, we'll add an object so that we can add logic to the thrown object. Click Create an Object. Set the Name to objectmainthrow. Set the Sprite to spritemainthrow. 1/5

28 2D Platform L 8 3. We will need to remember what direction the player is facing. We'll use a variable to store the current facing direction whenever the player presses the left or right key. Open objectmain. Click on the Create Event we already made. On the Control tab, add a Set Variable action. Set variable to facingdirection. Set value to When the player presses the left key, we want to remember that the character is facing to the left. We'll store 180 in our variable (which in Game Maker stands for left). Still in objectmain, click on the Left Keyboard Event we already made. On the Control tab, add a Set Variable action. Set variable to facingdirection. Set value to 180. Click and drag this new action to the top of the Actions list. 2/5

29 2D Platform L 8 5. Next, we'll store a 0 (which in Game Maker stands for right) when the player presses the right key. Still in objectmain, click on the Right Keyboard Event we already made. On the Control tab, add a Set Variable action. Set variable to facingdirection. Set value to 0. Drag this action to the top of your list. 3/5

30 2D Platform L 8 6. Now we will tell our main character to throw an object whenever the space bar is pressed. It will throw the object in the direction stored in the facingdirection variable (0 for right and 180 for left). Click Add Event and select Key Press Space. On the Main 1 tab, add a Create Moving action. Set object to objectmainthrow. Set x to 0. Set y to 0. Set speed to 8. Set direction to facingdirection. Select Relative. Click OK to close the Object Properties window. 7. Now that our main character can throw objects, we need to add a couple collisions. First, we'll add a collision between the thrown object and the platform so that thrown objects can't pass through platforms. Open objectmainthrow. Click Add Event and select Collision objectplatform. On the Main 1 tab, add a Destroy Instance action. 4/5

31 2D Platform L 8 8. Lastly, we'll add the collision between the thrown object and the chaser. When the main character defeats a chaser, it also gains some points. Click Add Event and select Collision objectchaser1. On the Score tab, add a Set Score action. Set new score to 25. Select Relative. On the Main 1 tab, add a Destroy Instance action. On the Main 1 tab, add a Destroy Instance action. Under Applies to, select Other. Save and test your game. Make sure that you can throw in both directions (left and right). Make sure that you can defeat the chasers with the thrown object. Make sure that you can't throw the object through the platforms. Next, we'll add prizes for the main character to collect. 5/5

32 2D Platform L 9 Adding Prizes We will add a prize for the player to collect for points. This will give the player extra incentive to explore the level. 1. First, we will create a sprite to show what our prize will look like. Click Create a Sprite. Set the Name to spriteprize1. Click Load Sprite and select a prize sprite. Your instructor will show you where to find the small objects library. Deselect Precise collision checking. 2. Next, we'll create an object so that we can add logic to it and place it in our room. Click Create an Object. Set the Name to objectprize1. Set the Sprite to spriteprize1. 1/2

33 2D Platform L 9 3. When the main character collides with the prize it will gain points and the prize will disappear. Open objectmain. Click Add Event and select Collision objectprize1. On the Main 1 tab, add a Destroy Instance action. Under Applies to, select Other. On the Score tab, add a Set Score action. Set new score to 25. Select Relative. On the Draw tab, add a Create Effect action. Under Applies to, select Other. Set type to star. Set x to 16. Set y to 16. Set size to large. Set color to any color. Set where to above objects. Select Relative. Open roomlevel1 and add some prizes to your room. Place some of them in hard to reach places to encourage players to risk losing a life for a greater score. By strategically placing prizes, you can encourage players to explore your entire level. Save and test your game. Make sure that you can collect your prizes and that your score increases every time you pick one up. Next, we'll add an on-screen display to show the player's health and score. 2/2

34 2D Platform L 10 Displaying Health and Score We will add an object that will display the health and score on the screen. This will make it easier for the player to see the main character's health and keep track of the score. 1. First, we will create an object for the display. It won't have a sprite associated with it because we will be creating our own Draw event for it. We'll set the depth of this object to be lower than all the others so that it displays on top of everything. Click Create an Object. Set the Name to objectdisplay Set the Depth to To draw text on the screen, we need to create a font. This will define how the score displays on the screen. Click Create a Font. Set the Name to fontscore. Set the Font to anything you like. Set the Size to 12. 1/3

35 2D Platform L We will define the draw event to display the health and the score. We will use some variables provided by Game Maker to make sure that the display always stays in the upper corner of the screen. Open objectdisplay. Click Add Event and select Draw. On the Score tab, add a Draw Health action. Set x1 to view xview[0] + 16 Note the underscore after view. Make sure you use brackets [] and not parentheses (). Set y1 to view yview[0] + 16 Note the underscore after view. Set x2 to view xview[0] Note the underscore after view. Set y2 to view yview[0] + 28 Note the underscore after view. Set back color to black. Set bar color to green to red On the Draw tab, add a Set Font action. Set Font to fontscore. Set align to right. 2/3

36 2D Platform L 10 On the Draw tab, add a Set Color action. Set color to any color. This will be the color of the text showing the score. On the Score tab, add a Draw Score action. Set x to view xview[0] (note the underscore after view ). Set y to view yview[0] + 32 (note the underscore after view ). Open roomlevel1 and place objectdisplay somewhere in the room. Save and test your game. Make sure that the displays shows your health and score. Next we'll add a second variety of chaser. 3/3

37 2D Platform L 11 Making a Second Chaser To add even more danger to our game, we'll add a second type of chaser. This chaser will move up and down through the air. This chaser will be especially dangerous. If this chaser lands on the main character, the main character can lose a large amount of health. 1. First, we need to load a sprite. This chaser will not change directions, so it would be best to pick a sprite that faces forward, but you can choose any sprite that you like. Click Create a Sprite. Set the Name to spritechaser2. Click Load Sprite and select a sprite for the chaser. Your instructor will show you where to find the chaser library and help you choose a sprite. Deselect Precise collision checking. 2. Next, we'll make an object for our second chaser. It will be similar to the first chaser, so we can duplicate the first chaser's object to get started. 3. Right-click on the objectchaser1 and select Duplicate. Set the Name to objectchaser2. Set the Sprite to spritechaser2. 1/5

38 2D Platform L To set our second chaser, we need to edit a few events. We'll start with the create event. We need to change it's movement from moving left and right to moving up and down. In objectchaser2, click on the Create Event we already made. Double click on the Move Fixed action we already made. It should read Start moving in a direction. Deselect the Left and Right arrows. Select the Up and Down arrows. 2/5

39 2D Platform L Next, we need to change how the chaser reacts when it collides with the U-turn helper object. Since this chaser is traveling up and down, we need to reverse it's vertical movement, instead of it's horizontal movement. Still in objectchaser2, click on the Collision with objectuturn Event we already made. Right click the Reverse Horizontal Direction action we already made and select Delete. On the Move tab, add a Reverse Vertical action. 3/5

40 2D Platform L Lastly, since this chaser will not change sprites, so we can delete the draw event. Still in objectchaser2, right click on the Draw Event we already made and select Delete Event. Click OK to close the Object Properties window. 7. Now that our new chaser is ready, we can add the collision with the main character. Again, it will react exactly the same way as the first chaser, so we can duplicate that event. Open objectmain. Right click on the Collision with objectchaser1 Event we already made and select Duplicate Event. Select Collision objectchaser2. 8. Finally, we need to add the collision between our new chaser and the main character's thrown object. Once again, it will react the same way as the first chaser, so we can duplicate that event. Open objectmainthrow. Click on the Collision with objectchaser1 Event we already made and select Duplicate Event. Select Collision objectchaser2. 4/5

41 2D Platform L 11 Now open your room and place this new chaser wherever you like. Make sure that you place U-turn helper objects to make sure that your chaser stays in the room. Now save and test your game. Make sure that your new chaser moves up and down and stays inside the room. Make sure that you can hit the chaser with the main character's thrown object. Make sure that the chaser can hit the main character and take health. Next, we'll add a goal that will bring the character to the next level when it reaches it. 5/5

42 2D Platform L 12 Making a Goal Next, we'll make a goal that the main character must reach to complete the level. When the main character touches this goal, it will advance to the next level to challenge the boss. 1. First, we need to add a sprite for the goal to define what it will look like. Click Create a Sprite. Set the Name to spritegoal. Click Load Sprite and select a goal sprite. Your instructor will show you where to find the large objects library. 2. Next, we'll add an object for our goal so we can place it in our room. Click Create an Object. Set the Name to objectgoal. Set the Sprite to spritegoal. 1/3

43 2D Platform L We'll add a collision between the main character and the goal. When the main character reaches the goal, the player will gain points, see a message, and jump to the next level. Open objectmain. Click Add Event and select Collision objectgoal. On the Score tab, add a Set Score action. Set new score to Select Relative. On the Main 2 tab, add a Display Message action. Set message to something like Look out! Here comes the boss! On the Main 1 tab, add a Next Room action. Set transition to anything you like. Open roomlevel1 and place objectgoal in the room. 2/3

44 2D Platform L Lastly, we will create the boss room. Our boss will have a number of actions it can take, but it works best when it can rest on flat ground. To prepare our boss room, we will just line to borders of the room with platforms, so that neither character can escape. Click Create a Room. Set Snap X to 43. Set Snap Y to 32. You may find it helpful to set this the the Top value of your platform's Bounding Box. On the settings tab, set the Name to roomlevel2. On the backgrounds tab, set the background to backgroundlevel1. On the objects tab, place objectplatforms around the border of the room. Place objectmain at the top of the room. Place objectdisplay somewhere in the room. Once we build the boss, we will add it to this room. For now, we are just creating this room to test our goal. Save and test your game. Make sure you can reach the goal. Make sure that when you touch it, you are brought to the boss room. Before we dive into the boss, we'll add some music and a title screen to our game. 3/3

45 2D Platform L 13 Adding a Title Screen and Music We will add an interesting title screen that will appear before our game starts. This gives the player a chance to understand what kind of game this is before being dropped into the action. We'll also add some background music to further improve the feel of the game. 1. First, we'll load a background for our title screen. Then, we'll edit it by writing the title of the game and how to start. Be careful while editing the background. If you click away from any text (the dotted border disappears), you will not be able to edit it any more. If you make a mistake and can't undo it, close the Image Editor window and answer Don't Save when it asks if you want to save. Click Create a Background. Set the Name to backgroundtitle. Click Load Background and select any background you like. Click Edit Background. On the top menu bar, select Text Font... Choose any Font that you like. Set the Size to anything between 24 to 72. 1/4

46 2D Platform L 13 Click the Draw Text tool. Click anywhere on the image and type the title of the game. Position your text anywhere you like. Click the Draw Text tool again to drop the text in place. On the top menu bar, select Text Font... Set the Size to 24. Click anywhere in the image and type Press any key. Continue to edit the image as you like. Click the Green Check when you're happy with your image. Click OK. 2. Now, we can add a room for the title screen. Click Create a Room. Click the settings tab. Set the Name to roomtitle. Click on the backgrounds tab. Click on <no background> and select backgroundtitle. Click the objects tab. Place objectstart anywhere in the room. 2/4

47 2D Platform L We need to make a couple changes to objectstart which will let us start the game from the title screen. Open objectstart. Click Add Event and select Key Press Any Key. On the Main 1 tab, add a Next Room action. Select any transition. 4. Next, we'll add a music resource to play at the beginning of the game. Click Create a Sound. Set the Name to musicbackground. Click Load Sound and select a song you'd like to hear. Your instructor will show you where the music library is. Click Open. Click the Green Play Arrow to hear the sound. Click the Red Stop Button to stop listening. Repeat this process until you find a sound you like. 3/4

48 2D Platform L Now, we'll add an event to play our music when the game starts. Back in objectstart. click on the Game Start Event we already made. On the Main 1 tab, add a Play Sound action. Set sound to musicbackground. Set loop to true. 6. We want our title screen to show up before the first level, so it needs to be first in the list of rooms. Click and drag roomtitle above roomlevel1 so that is first in the Rooms list. Open roomlevel1 and right-click to delete objectstart from the room. You can identify objectstart by moving your mouse over each blue ball with a red question mark in your room and checking the name in the lower left of the screen. Save and test your game and make sure that your title screen shows at the beginning of the game. Make sure that when you restart the game it brings you back to the title screen. Next, we'll add some special effects to our game. 4/4

49 2D Platform L 14 Atmosphere For the second level, we'll add more visual interest by adding a full screen effect such as rain or snow. This will add more atmosphere to the boss encounter. 1. First, we need to add an object that will generate the effect. Click Create an Object. Set the Name to objectatmosphere. Click Add Event and select Step Step. On the Control tab, add a Test Chance action. Set sides to 5. This means that there is a 1 in 5 chance that the effect will appear this step. 1/2

50 2D Platform L 14 On the Draw tab, add a Create Effect action. Set type to any effect. The effects that work best are snow, rain, and cloud. Set x to 0. Set y to 0. Set size to medium. Set color to any color. Set where to below objects. If you did not chose rain or snow as your effect, select Relative. Open roomlevel2 and place this object anywhere. If you chose an effect other than rain or snow, you may want to place more than one instance around your room. The effect will appear where you place this object. Save and test your game. You can drag roomlevel2 to the top of the rooms list to test it without having to play through the entire game. Make sure that your effect shows up in your second level. Next, we'll get started building our boss. 2/2

51 2D Platform L 15 Making the Boss Now, we'll create the final enemy of the game: the Boss. Our boss will have three different behaviors that it can switch between. It can move towards the main character, jump in the air, or throw a set of objects. The boss always starts off running. After running towards the main character, it will randomly choose to jump or throw some objects. After it finishes either action, it again runs towards the main character, starting the cycle again. 1. We'll start by adding a sprite to represent our boss. We'll start with just one sprite for all three behaviors, but later you can make a different sprite for each. Click Create a Sprite. Set the Name to spriteboss. Click Load Sprite and select large boss character sprite. Your instructor will show you where to find the large character library. Deselect Precise collision checking. Deselect Preload texture. 2. Next, we'll add an object for the boss. This object will be the base object. We will have two others so that there is one for each type of behavior. Click Create an Object. Set the Name to objectboss. Set the Sprite to spriteboss. 1/2

52 2D Platform L We'll duplicate the boss object to make the other two behavior objects. We'll start with the jumping behavior. We'll make the the main boss object the parent of both of these new behavior objects so that we can define actions and events for the main boss object and they will apply to all three. Right-click on objectboss we already made and select Duplicate. Set the Name to objectbossjump. Set Parent to objectboss. Click OK. 4. Next, we'll duplicate the main boss object again for the throwing behavior. Right-click on objectboss we already made and select Duplicate. Set the Name to objectbossattack. Set Parent to objectboss. Click OK. Save your work, but don't test just yet. Our boss is far from ready. Next, we'll set up the running behavior. 2/2

53 2D Platform L 16 Making the Boss Move Now, we'll set up the running behavior. In this mode, the boss will run towards the main character for a little while. After that time, the boss will randomly choose whether to jump or throw some objects. 1. We'll start by adding a create event to our boss. We'll set an alarm for the when the boss should start moving. This is most important when the boss goes back to the running behavior after jumping or throwing something. This gives the main character a moment to try and hit the boss. Open objectboss Click Add Event and select Create. On the Main 2 tab, add a Set Alarm action. Set number of steps to 15. Fifteen steps is half a second. Set alarm no. to Alarm 0. 1/4

54 2D Platform L When the alarm goes off the boss will start moving towards the main character. We'll set a second alarm (separate from the Alarm 0) for when the boss should stop and choose a new behavior. Click Add Event and select Alarm Alarm 0. On the Control tab, add a Test Variable action. Set variable to objectmain.x. Set value to x. Set operation to smaller than. On the Move tab, add a Move Fixed action. Set Direction to Left. Set Speed to 5. On the Control tab, add an Else action. On the Move tab, add a Move Fixed action. Set Direction to Right. Set Speed to 5. 2/4

55 2D Platform L 16 On the Main 2 tab, add a Set Alarm action. Set number of steps to 30. Set alarm no. to Alarm When the second alarm goes off, the boss will randomly choose a new behavior. Most of the time it will choose to jump, but sometimes it will choose to throw something. Click Add Event and select Alarm Alarm 1. On the Control tab, add a Test Chance action. Set sides to 4. On the Main 1 tab, add a Change Instance action. Set change into to objectbossattack. Set perform events to yes. On the Control tab, add an Else action. On the Main 1 tab, add a Change Instance action. Set change into to objectbossjump. Set perform events to yes. 3/4

56 2D Platform L Lastly, we'll make the boss turn around when it run into a wall or U-turn marker, just like the chasers. Click Add Event and select Collision objectuturn On the Move tab, add a Reverse Horizontal action. Save your work, but don't test your game just yet. We're one step closer to seeing our boss in action. Next, we'll add the jumping behavior. 4/4

57 2D Platform L 17 Making the Boss Jump We will now program the Boss to move as it did in the previous lesson as well as jump in the air. This will make the boss attempt to smash the main character. 1. Just like objectboss, we'll start by adding a Create event. The boss will start moving towards the main character. In addition, we'll add gravity to the boss and make it jump in the air. Open objectbossjump. Click Add Event and select Create. On the Control tab, add a Test Variable action. Set variable to objectmain.x. Set value to x. Set operation to smaller than. On the Move tab, add a Move Fixed action. Set Direction to Left. Set Speed to 5. 1/4

58 2D Platform L 17 On the Control tab, add an Else action. On the Move tab, add a Move Fixed action. Set Direction to Right. Set Speed to 5. On the Move tab, add a Set Gravity action. Set direction to 270. Set gravity to 1.5. On the Move tab, add a Speed Vertical action. Set vert. speed to /4

59 2D Platform L When the boss collides with a wall, it will drop down to the ground. Then, we'll stop all it's movement, turn off gravity, and change it back into the main boss object. Click Add Event and select Collision objectplatform. On the Move tab, add a Set Gravity action. Set direction to 0. Set gravity to 0. On the Move tab, add a Move Fixed action. Set Direction to No Direction by clicking the center box. Set Speed to 0. 3/4

60 2D Platform L 17 On the Move tab, add a Move to Contact action. Set direction to 270 Set maximum to -1 Set against to solid objects. On the Main 1 tab, add a Change Instance action. Set change into to objectboss Set perform events to yes. Save your game but don't test just yet. Next, we'll make the boss throw objects at the main character. 4/4

61 2D Platform L 18 Making the Boss Throw Objects The last behavior to add to our boss will make it throw several objects in the direction of the main character. The boss will delay a bit before it throws anything to give the player a hint of what it is about to do. 1. First, we need a sprite to represent the object the boss will throw. Click Create a Sprite. Set the Name to spritebossthrow. Click Load Sprite and select an object for the boss to throw. Your instructor will show you where to find the small objects library. 2. Next, we'll add an object so we can add logic to it. We'll set the depth to 5 to make sure that this object appears from the behind the boss. Click Create an Object. Set the Name to objectbossthrow. Set the Sprite to spritebossthrow. Set the Depth to 5. 1/5

62 2D Platform L Now, we'll set up the boss's throwing behavior. We'll start with a create event where the boss will decide which direction to throw. This will give the main character a chance to jump over the boss and avoid the objects. Open objectbossattack. Click Add Event and select Create. On the Move tab, add a Speed Horizontal action. Set hor. speed to 0. Select Relative. On the Control tab, add a Test Variable action. Set variable to objectmain.x. Set value to x. Set operation to smaller than. On the Control tab, add a Set Variable action. Set variable to bossdirection. Set value to degrees points to the left. 2/5

63 2D Platform L 18 On the Control tab, add an Else action. On the Control tab, add a Set Variable action. Set variable to bossdirection. Set value to 0. 0 degrees points to the right. On the Main 2 tab, add a Set Alarm action. Set number of steps to 45. Set alarm no. to Alarm When the alarm goes off, the boss will throw three objects towards the main character. These objects will all be thrown at slightly different angles to make them more difficult to avoid. Click Add Event and select Alarm Alarm Alarm 0 On the Main 1 tab, add a Create Moving action. Set object to objectbossthrow. Set x to 32. Set y to 32. Set speed to 7. Set direction to bossdirection. Select Relative. 3/5

64 2D Platform L 18 Right click on the Create Moving action we just made and select Copy. Right click anywhere in the Actions list and select Paste. Again, right click anywhere in the Actions list and select Paste. Double click second Create Moving action to edit it. Set direction to bossdirection /5

65 2D Platform L 18 Double click the third Create Moving action to edit it. Set direction to bossdirection - 5. On the Main 1 tab, add a Change Instance action. Set change into to objectboss Set perform events to yes. Open roomlevel2 and place your boss in the room. Make sure that your main character starts in the top left corner and the boss starts in the lower right. Save your work and test your game. Make sure the boss runs at the main character, jumps around and throws objects towards the main character. Keep in mind that you can't hit the boss and the boss can't hit the main character. Next, we'll add health to our boss. 5/5

66 2D Platform L 19 Adding Health to the Boss Now, we'll add health to our boss. The main character can deplete this health by hitting the boss with it's throw. When the boss's health reaches 0, the player wins and we'll show a victory screen. 1. First, we need to give the boss health by creating a variable. Open objectboss. Click Add Event and select Other Room Start. On the Control tab, add a Set Variable action. Set variable to global.bosshealth. Set value to /3

67 2D Platform L Next, we'll check every step to see if the boss has run out of health. If it has, the player wins. Click Add Event and select Step Step. On the Control tab, add a Test Variable action. Set variable to global.bosshealth. Set value to 1. Set operation to smaller than. On the Main 1 tab, add a Next Room action. Set transition to anything you like. Click OK to close the Object Properties window. 2/3

68 2D Platform L Next, we'll make the object that the main character throws take health from the boss. Open objectmainthrow. Click Add Event and select Collision objectboss. On the Main 1 tab, add a Destroy Instance action. On the Control tab, add a Set Variable action. Set variable to global.bosshealth. Set value to -2. The larger this number is, the easier is will be to defeat the boss. Select Relative. 4. Lastly, we'll add a room to go to when the player wins the game. We'll finish setting it up later, but we'll add it for now just to test the boss. Click Create a Room. Click on the settings tab. Set the Name to roomend. Save and test your game. Make sure that you can defeat the boss and that you are taken to the next room (even though it is currently blank). Next, we'll make the main character take damage when it is hit by the boss or it's thrown objects. 3/3

69 2D Platform L 20 Make the Boss Hit the Main Character To finish the boss, we need to add a collision between the boss and the main character. If the main character runs into the boss, it will lose some health. We'll also do the same if it is hit by the boss's thrown objects. 1. First, we'll add a collision between the main character and the boss. It is very similar to the collision with the chaser, so we can duplicate that to get started. We'll decrease the amount of damage the boss does to the main character because the boss is harder to avoid and likely to hit the main character multiple times before it can get out of the way. Open objectmain. Right click the Collision with objectchaser1 Event action we already made. Click Duplicate Event and select Collision objectboss. Double click on the Set Health action to edit it. It should read Set the health relative... Set new health to -5. 1/2

70 2D Platform L Next, we'll add a collision between the main character and the boss's thrown object. We'll increase the amount of damage it does to the main character to make the game more challenging. Still in objectmain, right click on the Collision with objectboss Event we already made. Click Duplicate Event and select Collision objectbossthrow. Double click on the Set Health action to edit it. It should read Set the health relative... Set new health to -15. On the Main 1 tab, add a Destroy Instance action. Under Applies to, select Other. Save and test your game. Make sure that you can get hit by the boss and the boss's thrown objects. If you like, you can change the damage amounts to make your game easier or more challenging. The last step is to add a victory screen. 2/2

71 2D Platform L 21 Showing a Victory Screen To finish our game, we'll add a victory screen that will display when the player defeats the boss. This screen will show a victory message, display the high score table and ask the player to play again. 1. First, we will create an object that will display the high score table after a brief pause. We'll start by setting an alarm. Click Create an Object. Set the Name to objectend. Click Add Event and select Create. On the Main 2 tab, add a Set Alarm action. Set number of steps to 90. Set alarm no. to Alarm 0. 1/4

72 2D Platform L When the alarm goes off, we'll show the high score table and then ask the player to play again. Click Add Event and select Alarm Alarm 0. On the Score tab, add a Show Highscore action. On the Control tab, add a Test Question action. Set question to Do you want to play again? On the Main 2 tab, add a Restart Game action. On the Control tab, add an Else action. On the Main 2 tab, add an End Game action. Click OK to close the Object Properties window. 2/4

73 2D Platform L Next, we'll make the victory background to display on the screen. We'll load a background and then edit it with text just like we did with the title screen. Click Create a Background. Set the Name to backgroundwin. Click Load Background and select any background you like. Click Edit Background. On the top menu bar, select Text Font... Choose any Font that you like. Set the Size to anything between 24 to 72. Select a color from the palette on the right side of the screen. Click the Draw Text tool. Click anywhere on the image and type a message like You win! or Good job! Position your text anywhere you like. Continue to edit the image as you like. Click the Green Check when you're happy with your image. Click OK. 3/4

74 2D Platform L Lastly, we'll set up the room to display our background and place objectend in the room. Open roomend. Click on the backgrounds tab. Click on <no background> and select backgroundtitle. Click on the objects tab. Place objectend anywhere in the room. Save and test your game. Make sure that you see the victory screen after you defeat the boss. Make sure you the high score table shows and you are given the option to play again. Congratulations, you've just finished your own platform game. 4/4

More Actions: A Galaxy of Possibilities

More Actions: A Galaxy of Possibilities CHAPTER 3 More Actions: A Galaxy of Possibilities We hope you enjoyed making Evil Clutches and that it gave you a sense of how easy Game Maker is to use. However, you can achieve so much with a bit more

More information

Overview. The Game Idea

Overview. The Game Idea Page 1 of 19 Overview Even though GameMaker:Studio is easy to use, getting the hang of it can be a bit difficult at first, especially if you have had no prior experience of programming. This tutorial is

More information

GAME:IT Junior Bouncing Ball

GAME:IT Junior Bouncing Ball GAME:IT Junior Bouncing Ball Objectives: Create Sprites Create Sounds Create Objects Create Room Program simple game All games need sprites (which are just pictures) that, in of themselves, do nothing.

More information

Tutorial: Creating maze games

Tutorial: Creating maze games Tutorial: Creating maze games Copyright 2003, Mark Overmars Last changed: March 22, 2003 (finished) Uses: version 5.0, advanced mode Level: Beginner Even though Game Maker is really simple to use and creating

More information

GAME:IT Junior Bouncing Ball

GAME:IT Junior Bouncing Ball GAME:IT Junior Bouncing Ball Objectives: Create Sprites Create Sounds Create Objects Create Room Program simple game All games need sprites (which are just pictures) that, in of themselves, do nothing.

More information

04. Two Player Pong. 04.Two Player Pong

04. Two Player Pong. 04.Two Player Pong 04.Two Player Pong One of the most basic and classic computer games of all time is Pong. Originally released by Atari in 1972 it was a commercial hit and it is also the perfect game for anyone starting

More information

Game Maker: Platform Game

Game Maker: Platform Game TABLE OF CONTENTS LESSON 1 - BASIC PLATFORM...3 RESOURCE FILES... 4 SPRITES... 4 OBJECTS... 5 EVENTS/ACTION SUMMARY... 5 EVENTS/ACTION SUMMARY... 7 LESSON 2 - ADDING BACKGROUNDS...8 RESOURCE FILES... 8

More information

Tutorial: A scrolling shooter

Tutorial: A scrolling shooter Tutorial: A scrolling shooter Copyright 2003-2004, Mark Overmars Last changed: September 2, 2004 Uses: version 6.0, advanced mode Level: Beginner Scrolling shooters are a very popular type of arcade action

More information

Objectives: Create Sprites Create Sounds Create Objects Create Room Program simple game

Objectives: Create Sprites Create Sounds Create Objects Create Room Program simple game GAME:IT Bouncing Ball Objectives: Create Sprites Create Sounds Create Objects Create Room Program simple game All games need sprites (which are just pictures) that, in of themselves, do nothing. They are

More information

G54GAM Lab Session 1

G54GAM Lab Session 1 G54GAM Lab Session 1 The aim of this session is to introduce the basic functionality of Game Maker and to create a very simple platform game (think Mario / Donkey Kong etc). This document will walk you

More information

VACUUM MARAUDERS V1.0

VACUUM MARAUDERS V1.0 VACUUM MARAUDERS V1.0 2008 PAUL KNICKERBOCKER FOR LANE COMMUNITY COLLEGE In this game we will learn the basics of the Game Maker Interface and implement a very basic action game similar to Space Invaders.

More information

Using Game Maker. Getting Game Maker for Free. What is Game Maker? Non-event-based Programming: Polling. Getting Game Maker for Free

Using Game Maker. Getting Game Maker for Free. What is Game Maker? Non-event-based Programming: Polling. Getting Game Maker for Free Using Game Maker Getting Game Maker for Free Click here Mike Bailey mjb@cs.oregonstate.edu http://cs.oregonstate.edu/~mjb/gamemaker http://www.yoyogames.com/gamemaker What is Game Maker? Non-event-based

More information

Game Maker Tutorial Creating Maze Games Written by Mark Overmars

Game Maker Tutorial Creating Maze Games Written by Mark Overmars Game Maker Tutorial Creating Maze Games Written by Mark Overmars Copyright 2007 YoYo Games Ltd Last changed: February 21, 2007 Uses: Game Maker7.0, Lite or Pro Edition, Advanced Mode Level: Beginner Maze

More information

COMPUTING CURRICULUM TOOLKIT

COMPUTING CURRICULUM TOOLKIT COMPUTING CURRICULUM TOOLKIT Pong Tutorial Beginners Guide to Fusion 2.5 Learn the basics of Logic and Loops Use Graphics Library to add existing Objects to a game Add Scores and Lives to a game Use Collisions

More information

Using Game Maker. Oregon State University. Oregon State University Computer Graphics

Using Game Maker.   Oregon State University. Oregon State University Computer Graphics Using Game Maker Mike Bailey mjb@cs.oregonstate.edu http://cs.oregonstate.edu/~mjb/gamemaker What is Game Maker? YoYo Games produced Game Maker so that many people could experience the thrill of making

More information

GAME:IT Bouncing Ball

GAME:IT Bouncing Ball GAME:IT Bouncing Ball Objectives: Create Sprites Create Sounds Create Objects Create Room Program simple game All games need sprites (which are just pictures) that, in of themselves, do nothing. They are

More information

Star Defender. Section 1

Star Defender. Section 1 Star Defender Section 1 For the first full Construct 2 game, you're going to create a space shooter game called Star Defender. In this game, you'll create a space ship that will be able to destroy the

More information

Your First Game: Devilishly Easy

Your First Game: Devilishly Easy C H A P T E R 2 Your First Game: Devilishly Easy Learning something new is always a little daunting at first, but things will start to become familiar in no time. In fact, by the end of this chapter, you

More information

TEMPLE OF LOCKS V1.0

TEMPLE OF LOCKS V1.0 TEMPLE OF LOCKS V1.0 2009 PAUL KNICKERBOCKER FOR LANE COMMUNITY COLLEGE In this game we will expand our look at Game Maker and deal with some of the complexities involved in making moving objects using

More information

CONCEPTS EXPLAINED CONCEPTS (IN ORDER)

CONCEPTS EXPLAINED CONCEPTS (IN ORDER) CONCEPTS EXPLAINED This reference is a companion to the Tutorials for the purpose of providing deeper explanations of concepts related to game designing and building. This reference will be updated with

More information

1 Shooting Gallery Guide 2 SETUP. Unzip the ShootingGalleryFiles.zip file to a convenient location.

1 Shooting Gallery Guide 2 SETUP. Unzip the ShootingGalleryFiles.zip file to a convenient location. 1 Shooting Gallery Guide 2 SETUP Unzip the ShootingGalleryFiles.zip file to a convenient location. In the file explorer, go to the View tab and check File name extensions. This will show you the three

More information

Create a Simple Game in Scratch

Create a Simple Game in Scratch Create a Simple Game in Scratch Based on a presentation by Barb Ericson Georgia Tech June 2009 Learn about Goals event handling simple sequential execution loops variables conditionals parallel execution

More information

Alright! I can feel my limbs again! Magic star web! The Dark Wizard? Who are you again? Nice work! You ve broken the Dark Wizard s spell!

Alright! I can feel my limbs again! Magic star web! The Dark Wizard? Who are you again? Nice work! You ve broken the Dark Wizard s spell! Entering Space Magic star web! Alright! I can feel my limbs again! sh WhoO The Dark Wizard? Nice work! You ve broken the Dark Wizard s spell! My name is Gobo. I m a cosmic defender! That solar flare destroyed

More information

Create Your Own World

Create Your Own World Create Your Own World Introduction In this project you ll learn how to create your own open world adventure game. Step 1: Coding your player Let s start by creating a player that can move around your world.

More information

KEEPING SCORE: HOW TO USE SCORES, LIVES AND HEALTH

KEEPING SCORE: HOW TO USE SCORES, LIVES AND HEALTH KEEPING SCORE: HOW TO USE SCORES, LIVES AND HEALTH A game isn t much of a game unless you can measure how well you re doing. How well players are doing in a game is often measure by their score, how many

More information

Annex IV - Stencyl Tutorial

Annex IV - Stencyl Tutorial Annex IV - Stencyl Tutorial This short, hands-on tutorial will walk you through the steps needed to create a simple platformer using premade content, so that you can become familiar with the main parts

More information

Scrolling Shooter 1945

Scrolling Shooter 1945 Scrolling Shooter 1945 Let us now look at the game we want to create. Before creating a game we need to write a design document. As the game 1945 that we are going to develop is rather complicated a full

More information

Introduction to Turtle Art

Introduction to Turtle Art Introduction to Turtle Art The Turtle Art interface has three basic menu options: New: Creates a new Turtle Art project Open: Allows you to open a Turtle Art project which has been saved onto the computer

More information

Game Design Curriculum Multimedia Fusion 2. Created by Rahul Khurana. Copyright, VisionTech Camps & Classes

Game Design Curriculum Multimedia Fusion 2. Created by Rahul Khurana. Copyright, VisionTech Camps & Classes Game Design Curriculum Multimedia Fusion 2 Before starting the class, introduce the class rules (general behavioral etiquette). Remind students to be careful about walking around the classroom as there

More information

BE SURE TO COMPLETE HYPOTHESIS STATEMENTS FOR EACH STAGE. ( ) DO NOT USE THE TEST BUTTON IN THIS ACTIVITY UNTIL THE END!

BE SURE TO COMPLETE HYPOTHESIS STATEMENTS FOR EACH STAGE. ( ) DO NOT USE THE TEST BUTTON IN THIS ACTIVITY UNTIL THE END! Lazarus: Stages 3 & 4 In the world that we live in, we are a subject to the laws of physics. The law of gravity brings objects down to earth. Actions have equal and opposite reactions. Some objects have

More information

5.0 Events and Actions

5.0 Events and Actions 5.0 Events and Actions So far, we ve defined the objects that we will be using and allocated movement to particular objects. But we still need to know some more information before we can create an actual

More information

Competitive Games: Playing Fair with Tanks

Competitive Games: Playing Fair with Tanks CHAPTER 10 Competitive Games: Playing Fair with Tanks Combat arenas are a popular theme in multiplayer games, because they create extremely compelling gameplay from very simple ingredients. This can often

More information

Step 1 - Setting Up the Scene

Step 1 - Setting Up the Scene Step 1 - Setting Up the Scene Step 2 - Adding Action to the Ball Step 3 - Set up the Pool Table Walls Step 4 - Making all the NumBalls Step 5 - Create Cue Bal l Step 1 - Setting Up the Scene 1. Create

More information

In this project you ll learn how to create a platform game, in which you have to dodge the moving balls and reach the end of the level.

In this project you ll learn how to create a platform game, in which you have to dodge the moving balls and reach the end of the level. Dodgeball Introduction In this project you ll learn how to create a platform game, in which you have to dodge the moving balls and reach the end of the level. Step 1: Character movement Let s start by

More information

Flappy Parrot Level 2

Flappy Parrot Level 2 Flappy Parrot Level 2 These projects are for use outside the UK only. More information is available on our website at http://www.codeclub.org.uk/. This coursework is developed in the open on GitHub, https://github.com/codeclub/

More information

Apple Photos Quick Start Guide

Apple Photos Quick Start Guide Apple Photos Quick Start Guide Photos is Apple s replacement for iphoto. It is a photograph organizational tool that allows users to view and make basic changes to photos, create slideshows, albums, photo

More information

AIM OF THE GAME GLACIER RACE. Glacier Race. Ben Gems: 20. Laura Gems: 13

AIM OF THE GAME GLACIER RACE. Glacier Race. Ben Gems: 20. Laura Gems: 13 Glacier Race 166 GLACIER RACE How to build Glacier Race Glacier Race is a two-player game in which you race up the screen, swerving around obstacles and collecting gems as you go. There s no finish line

More information

The Games Factory 2 Step-by-step Tutorial

The Games Factory 2 Step-by-step Tutorial Page 1 of 39 The Games Factory 2 Step-by-step Tutorial Welcome to the step-by-step tutorial! Follow this tutorial, and in less than one hour, you will have created a complete game from scratch. This game

More information

Before you start, you must go into Advanced Mode. Go to: File > Advanced Mode. You know you are in Advanced Mode when the checkmark appears.

Before you start, you must go into Advanced Mode. Go to: File > Advanced Mode. You know you are in Advanced Mode when the checkmark appears. GAME:IT Ping Pong Objectives: Review skills from previous lessons Create a 2-player game Create a scoring display system Using old and new skills, develop a game similar to the original Pong 1 Before you

More information

Introduction. The basics

Introduction. The basics Introduction Lines has a powerful level editor that can be used to make new levels for the game. You can then share those levels on the Workshop for others to play. What will you create? To open the level

More information

PING. Table of Contents. PING GameMaker Studio Assignment CIS 125G 1. Lane Community College 2015

PING. Table of Contents. PING GameMaker Studio Assignment CIS 125G 1. Lane Community College 2015 PING GameMaker Studio Assignment CIS 125G 1 PING Lane Community College 2015 Table of Contents SECTION 0 OVERVIEW... 2 SECTION 1 RESOURCES... 3 SECTION 2 PLAYING THE GAME... 4 SECTION 3 UNDERSTANDING THE

More information

In this project you ll learn how to create a game in which you have to save the Earth from space monsters.

In this project you ll learn how to create a game in which you have to save the Earth from space monsters. Clone Wars Introduction In this project you ll learn how to create a game in which you have to save the Earth from space monsters. Step 1: Making a Spaceship Let s make a spaceship that will defend the

More information

Audacity 5EBI Manual

Audacity 5EBI Manual Audacity 5EBI Manual (February 2018 How to use this manual? This manual is designed to be used following a hands-on practice procedure. However, you must read it at least once through in its entirety before

More information

In this project we ll make our own version of the highly popular mobile game Flappy Bird. This project requires Scratch 2.0.

In this project we ll make our own version of the highly popular mobile game Flappy Bird. This project requires Scratch 2.0. Flappy Parrot Introduction In this project we ll make our own version of the highly popular mobile game Flappy Bird. This project requires Scratch 2.0. Press the space bar to flap and try to navigate through

More information

Scratch for Beginners Workbook

Scratch for Beginners Workbook for Beginners Workbook In this workshop you will be using a software called, a drag-anddrop style software you can use to build your own games. You can learn fundamental programming principles without

More information

Photoshop CS6 automatically places a crop box and handles around the image. Click and drag the handles to resize the crop box.

Photoshop CS6 automatically places a crop box and handles around the image. Click and drag the handles to resize the crop box. CROPPING IMAGES In Photoshop CS6 One of the great new features in Photoshop CS6 is the improved and enhanced Crop Tool. If you ve been using earlier versions of Photoshop to crop your photos, you ll find

More information

GameMaker. Adrienne Decker School of Interactive Games and Media. RIT Center for Media, Arts, Games, Interaction & Creativity (MAGIC)

GameMaker. Adrienne Decker School of Interactive Games and Media. RIT Center for Media, Arts, Games, Interaction & Creativity (MAGIC) GameMaker Adrienne Decker School of Interactive Games and Media (MAGIC) adrienne.decker@rit.edu Agenda Introductions and Installations GameMaker Introductory Walk-through Free time to explore and create

More information

THE TECHNOLOGY AND CRAFT OF COMPUTER GAME DESIGN An introductory course in computer game design

THE TECHNOLOGY AND CRAFT OF COMPUTER GAME DESIGN An introductory course in computer game design THE TECHNOLOGY AND CRAFT OF COMPUTER GAME DESIGN An introductory course in computer game design TUTORIALS, GRAPHICS, AND COURSEWARE BY: MR. FRANCIS KNOBLAUCH TECHNOLOGY EDUCATION TEACHER CONWAY MIDDLE

More information

Photoshop Backgrounds: Turn Any Photo Into A Background

Photoshop Backgrounds: Turn Any Photo Into A Background Photoshop Backgrounds: Turn Any Photo Into A Background Step 1: Duplicate The Background Layer As always, we want to avoid doing any work on our original image, so before we do anything else, we need to

More information

The Slide Master and Sections for Organization: Inserting, Deleting, and Moving Around Slides and Sections

The Slide Master and Sections for Organization: Inserting, Deleting, and Moving Around Slides and Sections The Slide Master and Sections for Organization: Inserting, Deleting, and Moving Around Slides and Sections Welcome to the next lesson in the third module of this PowerPoint course. This time around, we

More information

Space Invadersesque 2D shooter

Space Invadersesque 2D shooter Space Invadersesque 2D shooter So, we re going to create another classic game here, one of space invaders, this assumes some basic 2D knowledge and is one in a beginning 2D game series of shorts. All in

More information

Creating Computer Games

Creating Computer Games By the end of this task I should know how to... 1) import graphics (background and sprites) into Scratch 2) make sprites move around the stage 3) create a scoring system using a variable. Creating Computer

More information

Introducing Photo Story 3

Introducing Photo Story 3 Introducing Photo Story 3 SAVE YOUR WORK OFTEN!!! Page: 2 of 22 Table of Contents 0. Prefix...4 I. Starting Photo Story 3...5 II. Welcome Screen...5 III. Import and Arrange...6 IV. Editing...8 V. Add a

More information

Once this function is called, it repeatedly does several things over and over, several times per second:

Once this function is called, it repeatedly does several things over and over, several times per second: Alien Invasion Oh no! Alien pixel spaceships are descending on the Minecraft world! You'll have to pilot a pixel spaceship of your own and fire pixel bullets to stop them! In this project, you will recreate

More information

This tutorial will guide you through the process of adding basic ambient sound to a Level.

This tutorial will guide you through the process of adding basic ambient sound to a Level. Tutorial: Adding Ambience to a Level This tutorial will guide you through the process of adding basic ambient sound to a Level. You will learn how to do the following: 1. Organize audio objects with a

More information

A. creating clones. Skills Training 5

A. creating clones. Skills Training 5 A. creating clones 1. clone Bubbles In many projects you see multiple copies of a single sprite: bubbles in a fish tank, clouds of smoke, rockets, bullets, flocks of birds or of sheep, players on a soccer

More information

Using Bloxels in the Classroom

Using Bloxels in the Classroom Using Bloxels in the Classroom Introduction and Getting Started: What are Bloxels? With Bloxels, you can use the concept of game design to tell stories! Bloxels Grid Board Each Bloxels set consists of

More information

Maze Puzzler Beta. 7. Somewhere else in the room place locks to impede the player s movement.

Maze Puzzler Beta. 7. Somewhere else in the room place locks to impede the player s movement. Maze Puzzler Beta 1. Open the Alpha build of Maze Puzzler. 2. Create the following Sprites and Objects: Sprite Name Image File Object Name SPR_Detonator_Down Detonator_On.png OBJ_Detonator_Down SPR_Detonator_Up

More information

DESIGN A SHOOTING STYLE GAME IN FLASH 8

DESIGN A SHOOTING STYLE GAME IN FLASH 8 DESIGN A SHOOTING STYLE GAME IN FLASH 8 In this tutorial, you will learn how to make a basic arcade style shooting game in Flash 8. An example of the type of game you will create is the game Mozzie Blitz

More information

Getting Started. with Easy Blue Print

Getting Started. with Easy Blue Print Getting Started with Easy Blue Print User Interface Overview Easy Blue Print is a simple drawing program that will allow you to create professional-looking 2D floor plan drawings. This guide covers the

More information

QUICKSTART COURSE - MODULE 1 PART 2

QUICKSTART COURSE - MODULE 1 PART 2 QUICKSTART COURSE - MODULE 1 PART 2 copyright 2011 by Eric Bobrow, all rights reserved For more information about the QuickStart Course, visit http://www.acbestpractices.com/quickstart Hello, this is Eric

More information

Clone Wars. Introduction. Scratch. In this project you ll learn how to create a game in which you have to save the Earth from space monsters.

Clone Wars. Introduction. Scratch. In this project you ll learn how to create a game in which you have to save the Earth from space monsters. Scratch 2 Clone Wars All Code Clubs must be registered. Registered clubs appear on the map at codeclubworld.org - if your club is not on the map then visit jumpto.cc/ccwreg to register your club. Introduction

More information

Programming with Scratch

Programming with Scratch Programming with Scratch A step-by-step guide, linked to the English National Curriculum, for primary school teachers Revision 3.0 (Summer 2018) Revised for release of Scratch 3.0, including: - updated

More information

How to Make Smog Cloud Madness in GameSalad

How to Make Smog Cloud Madness in GameSalad How to Make Smog Cloud Madness in GameSalad by J. Matthew Griffis Note: this is an Intermediate level tutorial. It is recommended, though not required, to read the separate PDF GameSalad Basics and go

More information

Game Making Workshop on Scratch

Game Making Workshop on Scratch CODING Game Making Workshop on Scratch Learning Outcomes In this project, students create a simple game using Scratch. They key learning outcomes are: Video games are made from pictures and step-by-step

More information

Create Your Own World

Create Your Own World Scratch 2 Create Your Own World All Code Clubs must be registered. Registered clubs appear on the map at codeclubworld.org - if your club is not on the map then visit jumpto.cc/ccwreg to register your

More information

Begin at the beginning," the King said, very gravely, "and go on till you come to the end

Begin at the beginning, the King said, very gravely, and go on till you come to the end An Introduction to Alice Begin at the beginning," the King said, very gravely, "and go on till you come to the end By Teddy Ward Under the direction of Professor Susan Rodger Duke University, May 2013

More information

Create a game in which you have to guide a parrot through scrolling pipes to score points.

Create a game in which you have to guide a parrot through scrolling pipes to score points. Raspberry Pi Projects Flappy Parrot Introduction Create a game in which you have to guide a parrot through scrolling pipes to score points. What you will make Click the green ag to start the game. Press

More information

Blend Photos Like a Hollywood Movie Poster

Blend Photos Like a Hollywood Movie Poster Blend Photos Like a Hollywood Movie Poster Written By Steve Patterson In this Photoshop tutorial, we're going to learn how to blend photos together like a Hollywood movie poster. Blending photos is easy

More information

Next Back Save Project Save Project Save your Story

Next Back Save Project Save Project Save your Story What is Photo Story? Photo Story is Microsoft s solution to digital storytelling in 5 easy steps. For those who want to create a basic multimedia movie without having to learn advanced video editing, Photo

More information

BEST PRACTICES COURSE WEEK 14 PART 2 Advanced Mouse Constraints and the Control Box

BEST PRACTICES COURSE WEEK 14 PART 2 Advanced Mouse Constraints and the Control Box BEST PRACTICES COURSE WEEK 14 PART 2 Advanced Mouse Constraints and the Control Box Copyright 2012 by Eric Bobrow, all rights reserved For more information about the Best Practices Course, visit http://www.acbestpractices.com

More information

User Guide. Version 1.4. Copyright Favor Software. Revised:

User Guide. Version 1.4. Copyright Favor Software. Revised: User Guide Version 1.4 Copyright 2009-2012 Favor Software Revised: 2012.02.06 Table of Contents Introduction... 4 Installation on Windows... 5 Installation on Macintosh... 6 Registering Intwined Pattern

More information

Before displaying an image, the game should wait for a random amount of time.

Before displaying an image, the game should wait for a random amount of time. Reaction Introduction You are going to create a 2-player game to see who has the fastest reactions. The game will work by showing an image after a random amount of time - whoever presses their button first

More information

Kodu Game Programming

Kodu Game Programming Kodu Game Programming Have you ever played a game on your computer or gaming console and wondered how the game was actually made? And have you ever played a game and then wondered whether you could make

More information

Add in a new ghost sprite, and a suitable stage backdrop.

Add in a new ghost sprite, and a suitable stage backdrop. Ghostbusters Introduction You are going to make a ghost-catching game! Step 1: Animating a ghost Activity Checklist Start a new Scratch project, and delete the cat sprite so that your project is empty.

More information

Copyright 2017 MakeUseOf. All Rights Reserved.

Copyright 2017 MakeUseOf. All Rights Reserved. Make Your Own Mario Game! Scratch Basics for Kids and Adults Written by Ben Stegner Published April 2017. Read the original article here: http://www.makeuseof.com/tag/make-mario-game-scratchbasics-kids-adults/

More information

Meteor Game for Multimedia Fusion 1.5

Meteor Game for Multimedia Fusion 1.5 Meteor Game for Multimedia Fusion 1.5 Badly written by Jeff Vance jvance@clickteam.com For Multimedia Fusion 1.5 demo version Based off the class How to make video games. I taught at University Park Community

More information

Target the Player: It s Fun Being Squished

Target the Player: It s Fun Being Squished CHAPTER 4 Target the Player: It s Fun Being Squished Our third game will be an action game that challenges players to make quick decisions under pressure and if they re not fast enough then they ll get

More information

Let s start by making a pencil, that can be used to draw on the stage.

Let s start by making a pencil, that can be used to draw on the stage. Paint Box Introduction In this project, you will be making your own paint program! Step 1: Making a pencil Let s start by making a pencil, that can be used to draw on the stage. Activity Checklist Start

More information

In this project you ll learn how to create a times table quiz, in which you have to get as many answers correct as you can in 30 seconds.

In this project you ll learn how to create a times table quiz, in which you have to get as many answers correct as you can in 30 seconds. Brain Game Introduction In this project you ll learn how to create a times table quiz, in which you have to get as many answers correct as you can in 30 seconds. Step 1: Creating questions Let s start

More information

PowerPoint Pro: Grouping and Aligning Objects

PowerPoint Pro: Grouping and Aligning Objects PowerPoint Pro: Grouping and Aligning Objects In this lesson, we're going to get started with the next segment of our course on PowerPoint, which is how to group, align, and format objects. Now, everything

More information

Out of Bounds - Dolphins

Out of Bounds - Dolphins Out of Bounds - Dolphins Let's start by making a copy of our original image layer - This is not essential but it's easier to rectify mistakes. From the menus, select Layer > Duplicate Layer or drag the

More information

For more information on how you can download and purchase Clickteam Fusion 2.5, check out the website

For more information on how you can download and purchase Clickteam Fusion 2.5, check out the website INTRODUCTION Clickteam Fusion 2.5 enables you to create multiple objects at any given time and allow Fusion to auto-link them as parent and child objects. This means once created, you can give a parent

More information

Lecture 1 - Getting to know Game Maker

Lecture 1 - Getting to know Game Maker Lecture 1 - Getting to know Game Maker Written by Carl Gustafsson Goal of the lecture The goal of this lecture is that the reader should be introduced to the program Game Maker. The reader should understand

More information

CISC 1600, Lab 2.2: More games in Scratch

CISC 1600, Lab 2.2: More games in Scratch CISC 1600, Lab 2.2: More games in Scratch Prof Michael Mandel Introduction Today we will be starting to make a game in Scratch, which ultimately will become your submission for Project 3. This lab contains

More information

The Beauty and Joy of Computing Lab Exercise 10: Shall we play a game? Objectives. Background (Pre-Lab Reading)

The Beauty and Joy of Computing Lab Exercise 10: Shall we play a game? Objectives. Background (Pre-Lab Reading) The Beauty and Joy of Computing Lab Exercise 10: Shall we play a game? [Note: This lab isn t as complete as the others we have done in this class. There are no self-assessment questions and no post-lab

More information

NWN ScriptEase Tutorial

NWN ScriptEase Tutorial Name: Date: NWN ScriptEase Tutorial ScriptEase is a program that complements the Aurora toolset and helps you bring your story to life. It helps you to weave the plot into your story and make it more interesting

More information

Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl. Kinect2Scratch Workbook

Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl. Kinect2Scratch Workbook Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl Workbook Scratch is a drag and drop programming environment created by MIT. It contains colour coordinated code blocks that allow a user to build up instructions

More information

User Guide. Version 1.2. Copyright Favor Software. Revised:

User Guide. Version 1.2. Copyright Favor Software. Revised: User Guide Version 1.2 Copyright 2009-2010 Favor Software Revised: 2010.05.18 Table of Contents Introduction...4 Installation on Windows...5 Installation on Macintosh...6 Registering Intwined Pattern Studio...7

More information

Lost in Space. Introduction. Scratch. You are going to learn how to program your own animation! Activity Checklist.

Lost in Space. Introduction. Scratch. You are going to learn how to program your own animation! Activity Checklist. Scratch 1 Lost in Space All Code Clubs must be registered. Registered clubs appear on the map at codeclubworld.org - if your club is not on the map then visit jumpto.cc/ccwreg to register your club. Introduction

More information

Turn A Photo Into A Collage Of Polaroids With Photoshop

Turn A Photo Into A Collage Of Polaroids With Photoshop http://www.photoshopessentials.com/photo-effects/polaroids/ Turn A Photo Into A Collage Of Polaroids With Photoshop Written by Steve Patterson. In this Photoshop Effects tutorial, we ll learn how to take

More information

In this project you ll learn how to create a game, in which you have to match up coloured dots with the correct part of the controller.

In this project you ll learn how to create a game, in which you have to match up coloured dots with the correct part of the controller. Catch the Dots Introduction In this project you ll learn how to create a game, in which you have to match up coloured dots with the correct part of the controller. Step 1: Creating a controller Let s start

More information

pla<orm-style game which you can later add your own levels, powers and characters to. Feel free to improve on my art

pla<orm-style game which you can later add your own levels, powers and characters to. Feel free to improve on my art SETTING THINGS UP Card 1 of 8 1 These are the Advanced Scratch Sushi Cards, and in them you ll be making a pla

More information

Lesson 2 Game Basics

Lesson 2 Game Basics Lesson What you will learn: how to edit the stage using the Paint Editor facility within Scratch how to make the sprite react to different colours how to import a new sprite from the ones available within

More information

How to use Photo Story 3

How to use Photo Story 3 How to use Photo Story 3 Photo Story 3 helps you to make digital stories on the computer using photos (or other images), text and sound. You can record your voice and write your own text. You can also

More information

Add Rays Of Sunlight To A Photo With Photoshop

Add Rays Of Sunlight To A Photo With Photoshop Add Rays Of Sunlight To A Photo With Photoshop Written by Steve Patterson. In this photo effects tutorial, we'll learn how to easily add rays of sunlight to an image, a great way to make an already beautiful

More information

LESSON 1 CROSSY ROAD

LESSON 1 CROSSY ROAD 1 CROSSY ROAD A simple game that touches on each of the core coding concepts and allows students to become familiar with using Hopscotch to build apps and share with others. TIME 45 minutes, or 60 if you

More information

Tearing Cloth. In this tutorial we are going to go over another basic use of the cloth modifier. Ripping Cloth based on forces like wind.

Tearing Cloth. In this tutorial we are going to go over another basic use of the cloth modifier. Ripping Cloth based on forces like wind. Tearing Cloth In this tutorial we are going to go over another basic use of the cloth modifier. Ripping Cloth based on forces like wind. We will use a starter file that I have put together so we can bypass

More information

Lesson 8 Tic-Tac-Toe (Noughts and Crosses)

Lesson 8 Tic-Tac-Toe (Noughts and Crosses) Lesson Game requirements: There will need to be nine sprites each with three costumes (blank, cross, circle). There needs to be a sprite to show who has won. There will need to be a variable used for switching

More information

UNDERSTANDING LAYER MASKS IN PHOTOSHOP

UNDERSTANDING LAYER MASKS IN PHOTOSHOP UNDERSTANDING LAYER MASKS IN PHOTOSHOP In this Adobe Photoshop tutorial, we re going to look at one of the most essential features in all of Photoshop - layer masks. We ll cover exactly what layer masks

More information