Galactic Mail Part 2. Winning and Losing Exploding Asteroids Including Scoring Adding Levels And more.

Slides:



Advertisements
Similar presentations
Introduction to Macromedia Director 8.5 – Lingo
Advertisements

Create a Simple Game in Scratch
Mike Scott University of Texas at Austin
PowerPoint Basics   Tutorial 5: Navigation
Create a Simple Game in Scratch
Learning Computer Programming by Creating Computer Games
Lets Play Catch! Keeping Score in Alice By Francine Wolfe Duke University Professor Susan Rodger May 2010.
Microsoft® Small Basic
Harry Potter Scratch Game
Adventures in Animation Harry Potter Game Pranali Choubal Kunal Shaw Barb Ericson Dec 2007.
A Christmas Scratch game
Lights Camera Action! Part 3: BDE Events By Deborah Nelson under the direction of Professor Susan Rodger Duke University July 2008.
Code Club Session 3 Shark Eats Fish. Picture of finished product here.
 First you have to think up a what kind of game are you going to have it can be any thing from a brick breaker to an role playing game.
Extending the Pong Example Barb Ericson Georgia Tech June 2011.
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.
Scratch the Cat. Object Oriented Programing Writing computer programs Based on Objects Instead of Actions Based on Data Instead of Logic.
Game Design Creating a game called PING Phase 3: Steps for building basic game.
Introduction to TouchDevelop
Backgrounds, Inheritance in GameMaker (BrickMania 1 of 2) Foundations of Interactive Game Design Professor Jim Whitehead January 28, 2008 Creative Commons.
Code Club Session 2 Dance Party. What will we learn ?  How to change the background  How to create animations  How to make objects talk to each other.
Introduction to Scratch!
GAME:IT Bouncing Ball Objectives: Create Sprites Create Sounds Create Objects Create Room Program simple game.
Game Maker Day 2 Making a Maze Game.
Teach Yourself Windows 98 Module 2: Working with Files, Folders, and the Desktop.
VIDEO GAME PROGRAMMING Video Game Programming Level One – Breakout INSTRUCTOR Big Dan Teague TEACHER’S ASSISTANT Delmar O'Donnell.
Alice 2.0 Introductory Concepts and Techniques Project 1 Exploring Alice and Object-Oriented Programming.
GAME:IT Helicopter Objectives: Review skills in making directional sprites Create objects that shoot and destroy for points Create random enemies on the.
Right-click to Rename each sprite Name them: Player Monster Bullet Explosion.
GAME:IT Pinball Objectives: Review skills from Introduction Introduce gravity and friction Introduce GML coding into programming.
Game Maker Terminology
Piñata Game: Keeping Score in Alice By Maggie Bashford Professor Susan Rodger Duke University July
Game Maker – Getting Started What is Game Maker?.
Shooters in GameMaker J Parker.
Guide to Programming with Python Chapter Twelve Sound, Animation, and Program Development: The Astrocrash Game.
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.
2D Platform Game Game Maker Terminology. Object  Item in a game that has behavior, such as a main character who can move.
Create a Halloween Computer Game in Scratch Stephanie Smullen and Dawn Ellis Barb Ericson October 2008.
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.
Today we are learning to: Understand how flow charts are used to design games Add events to our objects to control stuff in our game – (Using the user.
Open a new Flash File Action Script 2.0. Create a button like you did last lesson and name it Click to Play.
Using MIT Scratch for Programming and Control Exercise 4 – Cat and Dog game Year 9 ICT Autumn Term 2007.
Game Maker Evil Clutches.
Tank Game Part 3 of 6. Secondary Weapons and Pick ups Pick ups will appear randomly in the battle area and can be collected by driving into them. Each.
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.
ICT/COMPUTING RULES Only use software allowed by the teacher
Tank Game Part 2 of 6. Firing Shells Coming up… Players Scores Large Explosions Small Explosions Damage Health Bars Parent Shell Destructible Walls Reappear.
Microsoft Visual C# 2010 Fourth Edition Chapter 3 Using GUI Objects and the Visual Studio IDE.
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.
School of Computer Science Space School 2015 Programming a Lunar Lander Game.
Create a Halloween Computer Game in Scratch
Scratch for Interactivity
Game Maker Intro to Programming Game Maker Pop Quiz (Both Groups)
Introduction to Object-Oriented Programming
Competitive Multiplayer Game
Scratch Programming Intro
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)
Game Over Module 4 Lesson 2.
Creating a Simple Game in Scratch
So you want to be a Game Designer
Presentation transcript:

Galactic Mail Part 2

Winning and Losing Exploding Asteroids Including Scoring Adding Levels And more

Explosions Create Object Name it obj_explosion Tie it to the spr_explosion. Set the Depth to to -10. Now add the sound. Add Event Play Sound Sound_explosion

Ending the Animation Add Event Other Animation end

The show the Highest Score Show highscore Change the ‘other color’ to go with the background.

And restart the game Restart

Explode Open the obj_flying Select the collision event with obj_asteroid Select, right click and delete.

Create an Explosion object Create Object Obj_explosion Relative Still in the collision event with an obj_asteroid.

Destroy the Ship Test the game. The ship should explode when it hits an asteroid.

Scores Get points for delivering mail Lose points for staying on a moon. Since both of these events involve interaction with the specialmoon, we will look at the specialmoon

Set the startingscore with obj_specialmoon Open the obj_specialmoon Open the Game Start Event Drag in the Set Score method Set the starting score to 1000 OK

Taking points away when the rocket is waiting on the moon. Open the obj_landed object Open the End Step Event Drag a Set Score method into the actions. Enter a score of -1, so it will take away from the score. Check relative so it lowers the score rather than replacing the score with a -1. This will take 1 point away every step, or 30 points per second!!

Add 500 points when the Rocket initially lands on the moon. Select obj_flying Select the collision with obj_moon event. Drag in a Set Score method into the actions window. Give it a new score of 500. Click on Relative so it will be added to your score.

Play a sound when you score. Drag in a Play Sound method into the actions window Still with obj_flying and in the Collision with obj_moon event. Select sound_bonus OK Time to Test your game!!

Levels What happens now when you complete all of the levels? Next we will look at adding more levels to the game. We’ll do this by adding more rooms. The order of rooms, determines the order of levels. If you need to change this order, just drag and drop the rooms into the correct location.

Making the new room Right click on room_first and select Duplicate.

Name the Room Select the settings tab. Rename the room to room_second. On original games you can pick your room names.

Change the number of objects in the new room Make sure there is one and only one obj_specialmoon and obj_landed

Getting to the new room When: When there are no moons remaining We need to have the game check. If there are no moons remaining, then go onto the next level, otherwise continue on the current level.

Checking if ‘0’ moons Open the obj_flying object Select the collision with obj_moon event Drag the Test Instance Count method into the Actions window Checking for the number of instance of obj_moon are remaining. This will be true if there are ‘0’ obj_moons remaining.

Blocking in Commands Drag a Start Block into the Action window Between the Start Block and the End Block will go all of the actions you want to occur when there are no moons left

Let the Game Pause for a Second Drag a Sleep method into the Actions window ms = 1 second

Give 1000 pts for completing the level Drag a Set Score method into the Actions window Enter the 1000 points Check Relative so it will be added to the score.

Go to the Next Room Drag a Next Room method into the Actions window. I’ll not add a transition. You can if you want.

End the Block Drag End Block into the actions window. Test it!! Extensions Add another room

Finish Touches Title Screen Winning the game Adding visual variety Adding a help screen/ instructions Experiment

Creating a Title Screen: Create a Title Sprite Create a Sprite Load Sprite Load the Title.gif

Create a Title Object Create an object Label it as obj_title Set the Depth to 1

Create Event: Start Music/Set Score These are currently tied to the special moon So we will move them from the special moon Object

2) Open the object_specialmoon Game Start Event 1) Open the object_title Create Event 3) Drag and Drop the Play sound and Set the score Actions into the titles Create actions 4) After doing this the Game Start event for the special moon should be empty and delete itself.

Move from Title to Game with a Keypress Add Event KeyPressed Go to next room

Making a New Room for the Title 1) Make a New Room 3) Add one instance of the object_title to the middle of the room. 4) Add some moons and asteroids. 2) Name it room_title 5) Drag the room to the top of the list of rooms so it will be the first room in your game. Test it.

Winning the Game Now to give a congratulations to the winner (instead of running out of rooms and crashing) We will create a finish object and finish room to display a message, then give the player a 2000 point bonus, show the high scores and restart the game.

Finish Object 1) Create and name an object_finish 2) We do not need a sprite for this object 3) Add a Create Event 4) Drag in a Display a Message Action. “Congratulations, You have delivered the mail. 5) Give a 2000 point bonus 6) Show the highscore table. 7) Restart the game

Finish Room 1) Create a Room 2) Name it room_finish 3) Give it a background 4) Add an object_finish Test it.

Adding Visual Variety Currently all of the moons look the same and the asteroids rotate in unison So you will add random inhabitants to the moons and Randomly determine the sub image of the asteroid..

Moons 1) Open the object_moon 2) Edit 3) Load Sprite 4) Double click on Bases. This is a GIF with 8 sub images with moons containing different bases. 5) Click ‘OK’ to close the Sprite Properties.

Pick a Random Moon 1) Open the Create Event 2) Pull in a Change Sprite action. 3) Enter random(8) in the subimages to randomly select from one of the 8 moon images. 4) Click ‘OK’ 5) Test it 6) Do the same with the moon_special object

Asteroid Randomness 1) Open the Asteroid Object 2) Open the Create Event 3) Change to random(180) in the subimage. 4) ‘OK’ and Test

Adding Game Information Now that you have created a masterpiece, it is time to impart your wisdom on those wanting to play your game. Create a help sheet describing how to play your game, what the controllers do, …. You will do this using ‘Game Information’

Double click on Game Information and add descriptions for your game. Name of the Game, Authors, goals of the game, and a list of controls. This will show up when the user hits the ‘F1’ key while playing the game.

Congratulations You have completed your third game. Extensions –Add levels with Faster moving objects Smaller moons Larger and smaller planets …