GAME:IT Bouncing Ball Objectives: Create Sprites Create Sounds Create Objects Create Room Program simple game.

Slides:



Advertisements
Similar presentations
GAME:IT Junior Paddle Ball Objectives: Review skills from Introduction Create a background Add simple object control (up and down) Add how to create a.
Advertisements

Getting Started with PowerPoint
GAME:IT Junior Ping Pong Objectives: Review skills from previous lessons Create a 2-player game Create a scoring display system Using old and new skills,
Create a Simple Game in Scratch
Intro to Computers!.
Working with Profiles in IX1D v 3 – A Tutorial © 2006 Interpex Limited All rights reserved Version 1.0.
BTEC 149. Windows Desktop Click on the Start Button.
Create a Simple Game in Scratch
DEVELOPING ICT SKILLS PART -TWO
 Use the Left and Right arrow keys or the Page Up and Page Down keys to move between the pages. You can also click on the pages to move forward.  To.
EXCEL Spreadsheet Basics
Microsoft Windows Vista Chapter 5 Personalize Your Work Environment.
Advanced Microsoft Word Hosted by Jared Hoffman Topics Keyboard Shortcuts Customizing Toolbars and Menus Auto Format & Auto Correct Tabs Inserting Pictures.
How to… Keep your character from leaving the game (never to return)
Justus Nyagwencha Game Maker. Getting started -> Resources The icons across the top are very important All the things you add to the game are called “Resources”.
Conversational Computers
Google Earth How to create a Google Earth Tour and place it in your Wiki.
GAME:IT Junior Bouncing Ball Objectives: Create Sprites Create Sounds Create Objects Create Room Program simple game.
GameMaker.  A lot of Different Definitions  Easier to Say What is NOT a Game  Movie is Not a Game  No Active Participation  Final Outcome is Fixed.
Mastering Your Word Processing Skills
Game Design Creating a game called PING Phase 3: Steps for building basic game.
Art 315 Lecture 4 Dr. J. Parker AB 606 Today’s class: Programming! We are going to write some simple programs. We will use a tool called GameMaker –It.
PowerPoint. Basic Vocabulary Slide - Presentation - Slide layout – ► ► ► ► a single page in PowerPoint all the slides for a speech all the slides for.
Game Maker Day 2 Making a Maze Game.
Lehigh University Introduction to Flash MX Sharmeen Mecklai.
VIDEO GAME PROGRAMMING Video Game Programming Junior – DigiPutt INSTRUCTOR TEACHER’S ASSISTANT.
EEC-693/793 Applied Computer Vision with Depth Cameras Lecture 13 Wenbing Zhao
Microsoft Word 2000 Presentation 5. Major Word Topics Columns Tables Lists.
WindowsXP Explorer The Explorer is a used to organize and control the files and folders of the different storage systems such as the hard drive, floppy.
Art 315 Lecture 5 Dr. J. Parker AB 606. Last time … We wrote our first program. We used a tool called GameMaker. The program we wrote causes a ball to.
Lesson 2 Solid Works GUI and the Design Process. Model Parts Set Up Document Properties –Select a Plane Create a 2D Sketch Create a 3D Feature.
Photo Story 3 Importing Pictures. When you create a new Photo Story, the first thing that you will do is import pictures. You can import pictures from.
GAME:IT Helicopter Objectives: Review skills in making directional sprites Create objects that shoot and destroy for points Create random enemies on the.
GAME:IT Pinball Objectives: Review skills from Introduction Introduce gravity and friction Introduce GML coding into programming.
Microsoft Access 2010 Chapter 8 Advanced Form Techniques.
Catch the Clown Tutorial Tech Camp Fall 2008 Colorado School of Mines.
Game Maker Terminology
This is what we want to draw Extrude Mirror Round Edges.
Game Maker – Getting Started What is Game Maker?.
Shooters in GameMaker J Parker.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech June 2008.
Game Maker Galactic Mail Advanced Group: Complete Galactic Mail, then start developing an independent project.
Game Maker Tutorial.
Create a Halloween Computer Game in Scratch Stephanie Smullen and Dawn Ellis Barb Ericson October 2008.
Tutorial for Arrays and Lists. Description This presentation will cover the basics of using Arrays and Lists in an Alice world It uses a set of chickens.
This is the finished body RADIUS LOFT EXTRUDE. Creating the body taper Open the wing Click on new part in context.
Learning to Program: Part 1 Scene Setup and Starting Animation by Ruthie Tucker and Jenna Hayes Under the direction of Professor Susan Rodger Duke University,
Hyperstudio: A Beginner’s Tutorial By Judy Swaim.
Today we are learning to: Understand how actions and events control our game. Completing the catch the clown game – making a room – adding music Gather.
Galactic Mail Part 2. Winning and Losing Exploding Asteroids Including Scoring Adding Levels And more.
Game Maker Evil Clutches.
GAME:IT Junior Paddle Ball Objectives: Review skills from Introduction Create a background Add simple object control (up and down) Add how to create a.
GAME:IT Paddle Ball Objectives: Review skills from Introduction Create a background Add simple object control (up and down) Add how to create a simple.
Tank Game Part 2 of 6. Firing Shells Coming up… Players Scores Large Explosions Small Explosions Damage Health Bars Parent Shell Destructible Walls Reappear.
This is what we want to produce Import sketch dimensions Label angles Set the scale Add linear dimensions.
GAME:IT Mario Creating Platform Games Level 4 with GML Game Maker Language (GML) allows users more flexibility in game design. GML is similar to how real.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech May 2009.
1 Word Processing Intermediate Using Microsoft Office 2000.
Game Maker Tutorials Introduction Clickball IntroductionClickball Where is it? Shooting Where is it?Shooting.
Create a Halloween Computer Game in Scratch
Scratch for Interactivity
Game Maker Intro to Programming Game Maker Pop Quiz (Both Groups)
User Interface & Bouncing Ball Game
Competitive Multiplayer Game
Finish the Scratch Presentations Game Maker
Intermediate game making
Tank Game Part 2 of 6.
Game Maker Intro to Programming Game Maker Pop Quiz (Both Groups)
Creating a Simple Game in Scratch
Presentation transcript:

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.

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. Creating a New Game Where do I start? 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 and select ball.png 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. It only takes a few seconds to type in something that could cause minutes/hours of frustration. What are good examples? 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) Click the Create an Object icon 2) Give it a name (obj_ball) 3) Select the correct sprite to associate with this object. To do so, 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. ? Check both for the ball. Click “OK” to save that object. Next, create the wall object next following the same steps.

Next—we create our first “room” 1) Select the Create a room icon 2) Select background tab 3) Select a color

To add objects to the room: 2) Click on the objects tab 4) Add in ball (anywhere in middle) 4) Add the obj_wall all around the outside of the room to create a border. Left mouse adds Right mouse removes HINT – Click & drag with the left mouse key depressed while holding down the Shift key will add the object quickly. 3) Select the object you wish to add (submenu will appear). In this case, we’ll add the obj_wall. 1) Make sure Snap X and Y are set to 16

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 it in the the side bar to open the Object Properties window for obj_ball. 2) Click on the “Add Event”

Create Event: You use this when you want an object to be created at the beginning of the game or during (as opposed 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 are EVENTS?

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 event and an 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 Bounce action and drag it into the action section. It applies to Self Precise: Precisely Against: solid objects Click on “OK” to save

To get the sound to work: Still in collision with wall—add a Play Sound action from the Main 1 folder. Select the sound: snd_beep (loop stays at false).

Save the Game— name it Game1_yourname It’s is now ready to play! Click the green arrow to test and play your game. Assignments: 1) Modify the game so that the when you click your left mouse on the ball, it will disappear. Save it as Game1A_yourname 2) Modify the game so that the when you click your left mouse on the ball, it changes direction and increases speed (hint: relative button). Save it as Game1B_yourname 3) Modify the game so that the when you click your left mouse on the ball, it changes direction and increases speed and if you right click on it, the ball changes direction and slows down. Save it as Game1C_yourname