Intermediate game making

Slides:



Advertisements
Similar presentations
Create a Simple Game in Scratch
Advertisements

Summer Computing Workshop. Introduction to Variables Variables are used in every aspect of programming. They are used to store data the programmer needs.
Create a Simple Game in Scratch
How to import and edit video clips in Windows Movie Maker
Boardmaker 6 Basic Tutorial
Punch! Pro Platinum Home Design Adding a Roof. Change the View First lets change the view of your plan so that your entire house is visible on the screen.
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”.
Google SketchUp Castle
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.
GameMaker Workshop Geoff Cameron Sarah Scialli. What this workshop will teach you GameMaker GameMaker No Programming Required No Programming Required.
Creative Commons Attribution 3.0 creativecommons.org/licenses/by/3.0 Key Abstractions in Game Maker Foundations of Interactive Game Design Prof. Jim Whitehead.
Introduction to TouchDevelop
Backgrounds, Inheritance in GameMaker (BrickMania 1 of 2) Foundations of Interactive Game Design Professor Jim Whitehead January 28, 2008 Creative Commons.
GAME:IT Bouncing Ball Objectives: Create Sprites Create Sounds Create Objects Create Room Program simple game.
Game Maker Day 2 Making a Maze Game.
VIDEO GAME PROGRAMMING Video Game Programming Junior – DigiPutt INSTRUCTOR TEACHER’S ASSISTANT.
GAME:IT Junior Learning Game Maker: The Move Tab.
Learning Game Maker Studio:
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.
Edmo.do/j/q4b8fs xnt8zb SAVE DOCUMENTS TO EDMODO WEBSITE.
Game Maker Terminology
Game Maker – Getting Started What is Game Maker?.
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.
Variables and Random Numbers Computer App Session 4.
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.
From last time… Explore the blue commands from the motion menu Find at least three ways to get the sprite to move to the UPPER LEFT corner.
Galactic Mail Part 2. Winning and Losing Exploding Asteroids Including Scoring Adding Levels And more.
Game Maker Evil Clutches.
How to create a basic game in Scratch. The Scratch Stage The Scratch stage is 480 pixels wide and 360 pixels high x increasesx decreases.
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.
Choose Sprite. Add collision event for object and add score action. Set your score to plus 100 and check relative.
Game 4: Pac Man Tutorial. New events/actions to learn: Animated sprites Change instances – allows you to change objects into other objects. Change sprites.
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.
Game Maker Tutorials Introduction Clickball IntroductionClickball Where is it? Shooting Where is it?Shooting.
Create a Halloween Computer Game in Scratch
Scratch for Interactivity
Mrs. Tracy Moricone Game Design Project 3
Game Maker Intro to Programming Game Maker Pop Quiz (Both Groups)
The Smarter Balanced Assessment Consortium
Scratch Unit Overview We are going to look at computer programming and how to create your very own computer game The piece of software we will be using.
User Interface & Bouncing Ball Game
The Smarter Balanced Assessment Consortium
Scratch for Interactivity
Competitive Multiplayer Game
Finish the Scratch Presentations Game Maker
The Smarter Balanced Assessment Consortium
Microsoft Word Text Basics.
Windows 7                      .
Introduction to TouchDevelop
The Smarter Balanced Assessment Consortium
Unit 11 – PowerPoint Interaction
Introduction to TouchDevelop
How to PostPower Point Presentations
Game Maker Intro to Programming Game Maker Pop Quiz (Both Groups)
Tank Game Int 10 Unit 3 – Game Maker.
Personal Planning System Enterprise Edition
The Smarter Balanced Assessment Consortium
Creating a Simple Game in Scratch
So you want to be a Game Designer
The Smarter Balanced Assessment Consortium
Presentation transcript:

Intermediate game making Presented by the School of Computing and the Center for Forensics, Information Technology, and Security

introduction We will now create a more involved game In our game, we will consider more objects We will also see the concept of Inheritance We will create a game that has multiple rooms Each time we clear a room, we will go to the next

Create a new game Create a new game in Game Maker Call it <Your Name>intermediate

The objects Doors Rings A person This object will define a person. It will be a player. We will define events on the person Walls These objects will represent the walls in a room Doors These objects will surround rings Rings These objects are used to allow to go to a different room Diamonds These objects represent things a player must gather before they can leave the room Monsters These objects represent obstacles to the player

The sprites We will now create the sprites We need sprites to represent The player (person.png) The walls (wall.png wall_horizontal.png wall_vertical.png wall_corner.png) The diamonds (diamond.png) The ring (ring.png) The doors (door.gif door2.png) The monster (monster1.png) A goal (goal.png) You will find images for each of these in the resources folder Create sprites. Call them sprPerson, sprWall, sprWall_Horizontal, sprWall_Vertical, sprWall_Corner, sprDiamond, sprRing, sprDoor, sprDoor2, sprMonster, and sprGoal

Create the objects Now create objects Make sure that when you create the wall objects, you select Solid Use the names objPerson, objDiamond, objMonster, objWall, objWall_Horizontal, objWall_Vertical, objWall_Corner, objRing, objDoor, and objDoor2

Inheritance We would like for the person to interact with each wall in the same way Instead of us creating events for each type of wall, we will end the wall objects so they all inherit from one object Edit objWall_Horizontal, objWall_Vertical, and objWall_Corner and change the parent to objWall

Creating the rooms We will create four rooms in this game. The first will simply be a starting screen In the second room, we will create a maze that the player must move through to get to a ring. We will call the room rmMaze Once they collect the ring, they are taken to the third room. We will call the third room rmDiamonds In the third room, we will have a grid with diamonds scattered around. After the player collects all the diamonds, the doors around a ring disappear. Inside the doors is a ring. Once the player collects the ring, they are taken to the fourth room. We will call the fourth room rmMonster In the fourth room, we will have goals scattered about, but monsters moving around We will give the player three lives. If they collide with the monster, they lose a life. If they lose all of their lives before they collect the diamonds, they lose Line the outer wall of each room with wall objects

Creating controller objects We will create two objects that will be used to control the game The first will be invisible. It’s events will be triggered after we click a key. The second will be used to display the number of lives We will call the first object start and the second object showlives The start object will have two events: Create, Any Key (Note this is the Keyboard Event. It is not a Key Press event) The showlives object will have a Draw event

The Events in start THE EVENTS IN SHOWLIVES

Decorating the MAZE room Place instances of the objWall_Horizontal, objWall_Vertical, and objWall_Corner around the room in the form of a maze and place a ring at a difficult to reach location Place a person object in the lower right corner of the grid Make sure to save your work

Adding events to the person object We need certain things to happen We want the person to start moving in a certain direction If the person gets to the wall, they stop If the person gets to the diamond, they go to the next room

Creating keyboard events Edit the person object and click on Add Event Click on Key Press and you will see this menu Let’s start with <Left> After you click on Left, you should see this

Defining what happens when the left arrow is clicked To the right you will see a group of icons and a blank area. The blank area is a set of command that will happen when the event occurs Drag the icon for Start Moving in a Direction into the blank area. This is the icon Once you drag the icon into the blank area, you will see this menu Click the left arrow and change the speed to 4 Click OK

Test the event Save your game Now click Run Your room should appear and notice what happens when you click the Left Arrow The person goes through the wall We need to define another event on the person so that they stop moving when they collide with a wall On the person object click Add Event and choose Collision In the blank area again drag the Start Moving in a Direction icon the blank area This time choose the middle block

Add events for moving right, up, and down Using the same procedure for moving left, add events for moving right, up, and down Test the game again Note that after you click an arrow the person starts moving. If you release the arrow, the person still keeps moving To fix this, add another event where you test if the user is pressing no key. If they are then drag the Start Moving in a Direction icon to the blank area, but choose the middle square. This will make the person stop if we aren’t pressing a key

Advancing to the next room In order to advance to the next room, we have to collect the ring We will create a Collision event on the Ring object that will destroy the ring and go to the next room You will find the Destroy Instance Icon in the main1 group on the right You will also find the Next Room icon

The Diamonds Room In the diamonds room, we are going to place diamonds at different locations We are also going to place a ring in the room and surround it with doors We are going to place events on the door object so that when all of the diamonds are collected, the doors will disappear When we collect the ring we go to the next room

The monster room In the monster room, we place several instances of the monster We will have the monster move back and forth If the player collides with a monster, they lose a life We will place a ring in the room and surround it with doors We will place an event on the door object so that if we have collected all the goals, the game restarts