GAME:IT Bouncing Ball

Similar documents
GAME:IT Junior Bouncing Ball

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

GAME:IT Junior Bouncing Ball

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.

Overview. The Game Idea

VACUUM MARAUDERS V1.0

2D Platform. Table of Contents

Game Maker Tutorial Creating Maze Games Written by Mark Overmars

KEEPING SCORE: HOW TO USE SCORES, LIVES AND HEALTH

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

Create a Simple Game in Scratch

G54GAM Lab Session 1

04. Two Player Pong. 04.Two Player Pong

Star Defender. Section 1

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

CONCEPTS EXPLAINED CONCEPTS (IN ORDER)

Tutorial: A scrolling shooter

Scratch for Beginners Workbook

Tutorial: Creating maze games

5.0 Events and Actions

More Actions: A Galaxy of Possibilities

Game Maker: Platform Game

COMPUTING CURRICULUM TOOLKIT

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

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

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

Meteor Game for Multimedia Fusion 1.5

GAME PROGRAMMING & DESIGN LAB 1 Egg Catcher - a simple SCRATCH game

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

Lesson 2 Game Basics

Alibre Design Tutorial: Loft, Extrude, & Revolve Cut Loft-Tube-1

Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl. Kinect2Scratch Workbook

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

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

Creating Computer Games

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

Beginner s Guide to Game Maker 4.3 Programming. Beginner s Guide to Game Maker 4.3 Programming

Step 1 - Setting Up the Scene

1 Sketching. Introduction

Introduction to Turtle Art

Your First Game: Devilishly Easy

Ghostbusters. Level. Introduction:

Competitive Games: Playing Fair with Tanks

Moving Man Introduction Motion in 1 Direction

InfoSphere goes Android Angry Blob

CS Problem Solving and Structured Programming Lab 1 - Introduction to Programming in Alice designed by Barb Lerner Due: February 9/10

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!

Assignment 5 CAD Mechanical Part 1

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. Oregon State University. Oregon State University Computer Graphics

Whack-a-Witch. Level. Activity Checklist Follow these INSTRUCTIONS one by one. Test Your Project Click on the green flag to TEST your code

Chief Architect X3 Training Series. Layers and Layer Sets

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

Modeling Basic Mechanical Components #1 Tie-Wrap Clip

Name: Date Completed: Basic Inventor Skills I

Arcade Game Maker Product Line Requirements Model

Kodu Game Programming

Scrolling Shooter 1945

How to Make Smog Cloud Madness in GameSalad

The Games Factory 2 Step-by-step Tutorial

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.

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

Development Outcome 2

REVIT - RENDERING & DRAWINGS

How to create a cove for cove lighting in DIALux In this tutorial you will learn how to make a cove similar to the one in the following image

On completion of this exercise you will have:

Photo Story Tutorial

AUTODESK INVENTOR Trial Projects

Key Abstractions in Game Maker

Davis Art Images: Create and Share Slideshows

Register and validate Step 1

SAVING, LOADING AND REUSING LAYER STYLES

Enhanced Eyes. Here's the image I'll be working with (glamour eyes photo from Shutterstock): Here's what the eyes will look like when we're done:

Cannon Ball User Manual

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

LESSON ACTIVITY TOOLKIT 2.0

Flappy Parrot Level 2

Writing Interactive Fiction With Adrift

GlassSpection User Guide

Using the Desktop Recorder

Introducing Scratch Game development does not have to be difficult or expensive. The Lifelong Kindergarten Lab at Massachusetts Institute

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

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

Photo One Digital Photo Shoots and Edits

Creo: Hole, Fillet, and Round Layout/Dimension Tutorial. By: Matthew Jourden Brighton High School

Getting Started. Before You Begin, make sure you customized the following settings:

The Kollision Handbook. Paolo Capriotti

7.0 - MAKING A PEN FIXTURE FOR ENGRAVING PENS

Pong! The oldest commercially available game in history

Instructions for using Object Collection and Trigger mechanics in Unity

Created by: Susan Miller, University of Colorado, School of Education

Starting from LEARNER NOTES edited version. An Introduction to Computing Science by Jeremy Scott

Sudoku Touch. 1-4 players, adult recommended. Sudoku Touch by. Bring your family back together!

User Guide V10 SP1 Addendum

Materials Tutorial. Chapter 6: Setting Materials Defaults

C# Tutorial Fighter Jet Shooting Game

Veco User Guides. Property Photos & Images

ARCHICAD Introduction Tutorial

ArbStudio Triggers. Using Both Input & Output Trigger With ArbStudio APPLICATION BRIEF LAB912

SolidWorks Tutorial 1. Axis

Transcription:

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 the elements that make up the game parts. The sprites are later turned into objects (which can be programmed). Backgrounds are just that they are what you see in the background. Backgrounds are colors, or textures, or even pictures. The backgrounds are later used as part of the rooms. Sounds are little files (usually.wav files) that add another dimension to games. They are used directly in the programming. Rooms are the playing fields for the games. If you want to change the playing field, you change the room. Rooms can be changed to different sizes and detail.

Creating a New Game Where do I start? When starting a new program, typically you create the sprites & backgrounds first. The objects are then created from the sprites. Objects are important because they can be programmed to do things (sprites cannot). Rooms are created next because objects and backgrounds are needed to create the rooms. When the room is set up, programming the events and actions of the objects can take place and be tested for errors. If you know what sounds you are using, they can be created before programming starts or added later to enhance the game.

Your first game will be simple to demonstrate a few of the elements of Game Maker. The game will involve a ball bouncing around the room and making a sound when it hits the wall.

If you look at the game you should notice it has (1) a smiley face, (2) a red border, and (3) a lime green background.

To create the smiley face, you will need to create a sprite. 1) Select the sprite icon 2) Enter the name of the sprite in this case spr_ball. 3) You now have 2 options: #1-create your own sprite (we will do this later) or #2-load a pre-existing sprite. To load a pre-existing sprite, click the Load Sprite button.

1) Find the folder that contains you Game 1 Resources 2) Once the ball is loaded, click on the OK button to finish. *Now do the same for wall and create spr_wall (this creates a 2 nd sprite)

To create a sound 1) Click on the sound icon 2) Name the sound (snd_beep) 3) Load the sound from the Game 1 Resouce file 4) Click OK

By the way.... Why is it important to carefully label sprites, sound, backgrounds, rooms, and objects? It s just GOOD programming it helps you to save time later in searching for mistakes or making good changes to your game. What are good examples? It only takes a few seconds to type in something that could cause minutes/hours of frustration. Spr_ball, spr_wall, snd_beep, bckgd_desert, obj_plane What are BAD examples? Spr01, sound1, background, plane (is it a sprite or object?)

Now we need to create objects. But I don t understand we created sprites -- they look the same? The difference is sprites are just pictures, but objects can be programmed in Game Maker. How to create objects: 1) Select icon 2) Give it a name 3) Select the correct sprite from the list click the little icon and find the item

The objects have additional features that need to be addressed visible/solid? What is visible? Most items in your games will be visible but sometimes you need special pieces to be invisible (like walls and floors) to bounce off of or collide with.? What is solid? It is a state of being for an object solid you can collide with or bounce off of- not solid you will pass right through. To finish object click OK *Create the wall object next--

Next we create our first room 1) Select room icon 2) Select background tab 3) Select color

To create the room with objects: 1) Select object folder 2) Pick object (submenu will appear) 3) Create a border. Left mouse adds Right mouse removes *Left mouse with shift key adds quickly 4) Add in ball (anywhere in middle)

Time to Program! The actual programming occurs in the OBJECTS we have created: obj_ball and obj_wall. With the room set up and the objects in the room, what do we want the ball to do? 1) Bounce off the walls 2) Make a beep when it hits the wall. In this case, all the programming takes place in the obj_ball.

1) Recall you obj_ball by double clicking on the side bar. 2) Click on the Add Event

What are EVENTS? What is? Create Event: This happens when you want an object to be created at the beginning of the game or during (as apposed to placing the object in the room during room creation) Destroy Event: Whenever you destroy this object, it would set in motion any actions that accompany it (seldom used).

What is? Alarm(s): Each object has 12 alarms. The alarm counts down from whatever you set and when it reaches 0, the action occurs. Example: Object changes direction every 30 steps. FYI: Action must reset alarm. Step Event: Happens every step of the game. Can be used to continuously check to see if something has happened. Examples: When score exceeds 10 do this, when score exceeds 100 do this.

What is? Collision Event: When 2 objects collide, you want these actions to occur. Example: When bomb collides with object create an explosion sprite... Keyboard Event: When a player presses a certain key on the keyboard, the actions will occur. You get the action in every step as long as the key is depressed. There is a <no key> event and an <any key> event.

What is? Mouse Event: This would occur when the mouse cursor touches the object. You can select left, right or middle buttons. Other Events: Miscellaneous collection of special purpose events. Example: Outside room (when the object goes outside of the room do this action.

What is? Draw Event: Mostly used to display score or lives remaining or other information relevant to the game. FYI: Object must be checked visible! Key Press: Only happens once at key press (not continuously). Key Release: Only happens once at key release (not continuously).

1) Select the Create event from the Add Events menu. 2) Select the Move Fixed from the actions menu (Move tab) and drag it into the Actions area. 3) Double click on the icon in the actions area and a sub-menu should pop up. 4) Select the 4 corners of the directions and enter 5 as the speed. Leave the relative button unchecked at this point.

Next, select another add event this time Collision The collision should be with obj_wall.

When it collides with obj_wall you want it to bounce off so select the action bounce and drag it into the action section. Double click on the icon to bring up the bounce submenu and select precisely Click on OK

To get the sound to work: Still in collision with wall add Play Sound from the 2 nd folder Main1 and double click on it to select snd_beep (loop stays at false)

Save the Game Save it as Game1--It is now ready to play! Assignments: 1) Modify the game so that the when you click your left mouse on it, it will disappear. Save it as Game1A 2) Modify the game so that the when you click your left mouse on it, it will change direction and increase speed (hint: relative button). Save it as Game1B 3) Modify the game so that the when you click your left mouse on it, it will change direction and increase speed and if you right click it will change direction and slow down. Save it as Game1C