Tank Game Part 4 of 6.

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

GAME:IT Junior Learning Game Maker: The Control Tab.
Create a Simple Game in Scratch
Create a Simple Game in Scratch
 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.
How to make a game on game maker 7. Start With an Idea Before you actually start making your game, you are going to need an idea as to what it is you.
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”.
Windows 8 Windows Phone 8 Web Mobile … and WakeUpAndCode.com.
SmashBlasters Chau Vo, David Huynh, Lowell Bateman, William Kentris Department of Computer Science and Engineering The Ohio State University Gameplay Controls.
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.
Creative Commons Attribution 3.0 creativecommons.org/licenses/by/3.0 Key Abstractions in Game Maker Foundations of Interactive Game Design Prof. Jim Whitehead.
GAME:IT Bouncing Ball Objectives: Create Sprites Create Sounds Create Objects Create Room Program simple game.
Game Maker Day 2 Making a Maze Game.
KeyListener and Keyboard Events Just as we can implement listeners to handle mouse events, we can do the same for keyboard events (keypresses) –to implement.
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.
 12X Go to next question TRY AGAIN.
How to make a Shooting Target game in Scratch!. WE ARE GOING TO MAKE A TARGET GAME. This game will have: A Target that will move when clicked. A Timer.
SuperChair Productions proudly presents… PYGAME © 2006 SuperChair Productions. All rights reserved.
GAME:IT Helicopter Objectives: Review skills in making directional sprites Create objects that shoot and destroy for points Create random enemies on the.
Catch the Clown Tutorial Tech Camp Fall 2008 Colorado School of Mines.
Game Maker Terminology
Software Evaluation By Mwajabu S. Mfaume. Katie’s PDA.
Shooters in GameMaker J Parker.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech June 2008.
July 5 Game Workshop. Schedule 9-10:25Finish maze/platform games 10:25-10:45Game structure –Different interactions to motivate players 10:45-11:15Playtest.
ENGR-TS-2: The students will develop an understanding of how the design process is used to develop a technological system.
Game Maker Galactic Mail Advanced Group: Complete Galactic Mail, then start developing an independent project.
Game Maker Tutorial.
Instruction Booklet.  Use the arrow keys to move your plane.  Don’t get hit by the rockets or you will die.  The level will last for 45 seconds.
Create a Halloween Computer Game in Scratch Stephanie Smullen and Dawn Ellis Barb Ericson October 2008.
Programming Games Show your rock-paper-scissors. Demonstrate bouncing ball. Demonstrate and examine Bo the dog. Homework: Modify Bo to make your own.
Games Programming in Scratch
Galactic Mail Part 2. Winning and Losing Exploding Asteroids Including Scoring Adding Levels And more.
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.
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.
Tank Game Part 2 of 6. Firing Shells Coming up… Players Scores Large Explosions Small Explosions Damage Health Bars Parent Shell Destructible Walls Reappear.
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.
Lesson Seven: Using Flags. What Are Flags? Flags are Variables or Switches Used to Help With Logic Control of your character. Normally, Flags are used.
Game Maker Tutorials Introduction Clickball IntroductionClickball Where is it? Shooting Where is it?Shooting.
Index Background Costumes Making object walk smoothly Controlling an object with the keyboard Control an object with the mouse Changing costume when hit.
Create a Halloween Computer Game in Scratch
Broadcasting (Adding a new level)
Games Programming in Scratch
WITH PYGAME ON THE RASPBERRY PI
Street Racing Game.
Game Maker Intro to Programming Game Maker Pop Quiz (Both Groups)
Creating a Tank Game in Scratch
Game Engines By James Tedder.
User Interface & Bouncing Ball Game
Competitive Multiplayer Game
Finish the Scratch Presentations Game Maker
اختر أي شخصية واجعلها تطير!
Tank Game Part 4 of 6.
Tank Game Part 6 of 6.
Tank Game Part 2 of 6.
ICT Gaming Lesson 3.
Game Maker Intro to Programming Game Maker Pop Quiz (Both Groups)
Transparency & magic pixel
Tank Game Int 10 Unit 3 – Game Maker.
Creating a Simple Game in Scratch
Unity Game Development
So you want to be a Game Designer
Presentation transcript:

Tank Game Part 4 of 6

Description of the Pick up Weapons Rocket Behave like a shell, but automatically starts moving in the direction of the enemy tank. We’ll set it up much like we did with the shells Bouncing Bomb Behaves like a shell, but bounces off of walls Shields Will let you temporarily make your tank invincible.

Making the Parent Rocket 1) Create Sprite 2) spr_rocket 3) Load Sprite 4) resources\chapter10\Rocket

Center the rocket Sprite

3) Parent: obj_shell_parent Obj_rocket_parent 2) obj_rocket_parent 1) Create object 5) Set Alarm 4) Add Event Create 6) Number of steps: 60 In alarm no.: Alarm 0 7) OK 3) Parent: obj_shell_parent

End step 4) Change Sprite Add Event Step 5) Sprite: spr_rocket Subimage: direction/6 Speed:0 6) OK

4) Parent:obj_rocket_parent 1) Create Object 6) Move Towards 3) spr_rocket 7) x: obj_tank2.x Y: obj_tank2.y Speed: 8 4) Parent:obj_rocket_parent 5) Add Event Create 8) OK

6) Check the relative box Rocket Hits Tank 2 4) Set Variable Add Event Collision Obj_tank2 5) Applies to: Other Variable: damage Value: 10 6) Check the relative box 7) OK

Small Explosion 1) Create Instance 2) Object: obj_explosion_small X:0 Y: 0 3) Check the relative box 4) OK

Destroy The rocket 1)Destroy Instance 2) OK

Now make obj_rocket2 Repeat slides 142-145 Next to have the tanks fire the rockets. First check to see if the tank has a weapon and ammo in the Key Press event of the secondary fire key. If they do, then create the rocket and decrease the ammunition. When ammo reaches 0, set the weapon to -1 to disable it.

Operation:smaller than Tank1’s Shooter 1) Open obj_tank1 3) Test Variable 2) Add Event Key Press <ctrl> 4) variable: can_shoot Value: 0 Operation:smaller than 5) OK

Exit or… 1) Exit 3) Variable: weapon Value: 0 Operation: equal to 2) Test Variable 4) OK

If you have weapons, and if the other tank exists 1) Test Instance Count 2) object: obj_tank2 Number: 0 Operation: Larger than 3) OK

3) Check the relative box. Fire!! 1) Create Instance 2) object:obj_rocket1 X: 0 Y:0 3) Check the relative box. 4) OK

Lower the Ammo Count 1) Set Variable 2) Variable: ammunition Value: -1 3) Check the Relative Box 4) OK

If no more… 1) Test Variable 2) Variable: ammunition Value: 1 Operation: smaller than 3) OK

Then set the weapon to -1 1) Set Variable 2) variable: weapon Value: -1 3) OK

Can_shoot = -10 1) Set Variable 2) variable: can_shoot Value: -10 3) OK

Repeat Slides 147 to 154 for Tank 2 Add Event -> Key Press -> Others -> <Delete> Test Variable action (If you can’t shoot then…_ Variable: can_shoot Value: 0 Operation: smaller than Add Exit Event action (… exit) Test Variable action (If you have a weapon.._ Variable: weapon Operation: equal to Test Instance Count action (… and there is something to shoot at) Object: obj_tank1 Number: 0 Operation: Larger than Create Instance action (Shoot the rocket) Obj_rocket2 Enable relative Set Variable action (Minus 1 from the amount of ammo you have) Variable: ammunition Value: -1 Check the Relative box Test Variable action (If you are now out of ammo…) Variable: ammunition Value: 1 Operation: smaller than Set Variable action (…then set you can’t use the weapon) Variable: weapon Value: -1 Set Variable action (set can_shoot to -10) Variable: can_shoot Value: -10

Test it Now when you pick up the Rocket item you should be able to shoot the rocket (CTRL, DEL) and it should go towards the enemy