Tank Game Part 6 of 6.

Slides:



Advertisements
Similar presentations
Getting Started with PowerPoint
Advertisements

Create a Simple Game in Scratch
Clicking on the link for the.tns file gives you will get the following screen: Select Save File and click OK.
Create a Simple Game in Scratch
Working with Tables for Page Design – Lesson 41 Working with Tables for Page Design Lesson 4.
Chapter 3 Creating a Business Letter with a Letterhead and Table
Basic Powerpoint NEXT. Viewing Your Slides Click on Slide Show and on View Show. The slide show will automatically be displayed on the screen.
MICROSOFT OFFICE 2013 EXCEL 1. 2 File Tab 1 Title Bar 5. Group 7 Name Box 6 Active Cell 8 Formula Bar 4 Ribbon 9 Column 10. Row 11 Sheet Tabs 12 View.
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”.
1 Create a Questionnaire Learning Objective  To learn how to use the features in Microsoft Publisher to create a questionnaire.
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.
Created in 2011 at Liberty High School. Getting Started Overview on Magnet Tool – Graphics – Text – Image – Video – Sound – Wall A Sample Glog How to.
Game Maker Day 2 Making a Maze Game.
Creating Tables Lesson 6.
Review of last session Add text to your website Add text to your website Title Title Paragraph Paragraph Title and paragraph Title and paragraph Add photographs.
One Point Perspective Design and Technology. One Point Perspective Task 3 Here are some high quality examples of what we are aiming to produce by the.
GAME:IT Pinball Objectives: Review skills from Introduction Introduce gravity and friction Introduce GML coding into programming.
Game Maker Terminology
Game Maker – Getting Started What is Game Maker?.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech June 2008.
Creating Google Sites Laura Assem, Director of Technology.
Game Maker Tutorial.
Presented By: Weidong WU, Ph.D. Date: Part I Creating a drawing format for the paper size A (11 x 8.5) 1. Start Pro/E wildfire. 2. File  set.
Adding a wave file to a slide Adding a wave file to a slide (1 of 7) 1. Click on Insert. 2. Click Movies and Sounds. 3. Click Sound from file
Create a Halloween Computer Game in Scratch Stephanie Smullen and Dawn Ellis Barb Ericson October 2008.
Introduction to Drafting and Design In order to begin our drawing we have to set the drawing limits or the paper size.
Changing a Word table format Changing a Word table format (1 of 5) 1. Double click the Word table you want to edit. 1.
Unit 3: Text, Fields & Tables DT2510: Advanced CAD Methods.
Galactic Mail Part 2. Winning and Losing Exploding Asteroids Including Scoring Adding Levels And more.
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.
If you don’t have Google Earth downloaded already, you can go to to get it.
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.
Game Maker Tutorials Introduction Clickball IntroductionClickball Where is it? Shooting Where is it?Shooting.
Lecturer: Dalia Mirghani
Windows Tutorial 3 Personalizing Your Windows Environment
Weebly Elements, Continued
Create a Halloween Computer Game in Scratch
Graphical Output Basic Images.
MOM! Phineas and Ferb are … Aims:
Excel Training - Part One
Game Maker Intro to Programming Game Maker Pop Quiz (Both Groups)
Workshop 3.1 Sketching DesignModeler.
CS3015 Beacon Module 4 Messenger & Setting Preferences
Word and the Writing Process
Using the INSERT TAB in MS Word 2007
MS PowerPoint 2010 Week 2.
Unit 4: Using Spreadsheets to Make Economic Choices Lessons 20–26
1. Open up Windows Live Movie Maker
Excel 1 Microsoft Office 2013.
Competitive Multiplayer Game
Scratch Programming Intro
“Placeholder for a quote to be animated here.”
Lecture IV: Views, Motions & Game AI
Intro to GML.
Economist Report (Advanced)
DREAMWEAVER MX 2004 Chapter 3 Working with Tables
Tank Game Part 4 of 6.
Tank Game Part 2 of 6.
ICT Spreadsheets Lesson 1: Introduction to Spreadsheets
European Computer Driving Licence
Tank Game Part 4 of 6.
Game Maker Intro to Programming Game Maker Pop Quiz (Both Groups)
对 话 无 界 限 “对话是两个集合出现交集的一个刹那。” “对话是发现共同点的捷径。”.
Scripts In Matlab.
Creating a Simple Game in Scratch
Presentation transcript:

Tank Game Part 6 of 6

Views You’ll make a larger play area but limit the views for each of the tanks Create a split screen where the left area is for tank 1 and the right area is around tank2 Later you’ll make a third area to display a mini map as well.

Room vs. View Rooms: Any size you want View: The specific area of the room you can see We’ll create a room with twice the width and the same height of a normal room The green rectangle will show the dimension of a normal room

View in a Room The area of the room that needs to be displayed in the view. The X and Y positions define the top-left corner of this area and W and H specify the width and height.

Port on screen This is the position on the window where the view should be shown. The X and Y positions define the top-left corner of this area. W and H define the width and height. If the width and height are different from the size of the view area, then the view will be automatically scaled to fit. Game Maker will also automatically adapt the size of the window so that all ports fit into it.

Object Following Specifying an object here will make the view track that object as it moves around the room. Hbor and Vbor specify the size of the horizontal and vertical borders that you want to keep around the object. The view will not move until the edge of the view and Vbor to half the height of the view will therefore maintain the object in the center. Finally, Hsp and Vsp allow you to limit the speed with which the view moves (-1 means no limit)

How many views You can specify up to eight different views, but you’ll probably only need one or two.

2) Select the Settings tab Editing the Room 2) Select the Settings tab 3) Change the Width to 1280 And the height to 1280 1) Open room_main

Add More Stuff 1) Select the Objects tab 2) Add elements into the room Place the tanks in opposite corners. Add 6 pick up instances

Set the View port for Tank1 1) Select the views port 2) Enable the use of Views 5) View in Room X: 0 W: 400 Y: 0 H: 480 3) View 0 4) Visible when room starts 6) Port on screen X: 0 W: 400 Y: 0 H: 480 Object following Obj_tank1 Hbox: 200 Hsp: -1 Vbox: 240 Vsp: -1

Set the View Port for Tank2 1) Select View 1 2) Check the Visible when room starts 3) View in Room X: 0 W: 400 Y: 0 H: 400 4) Port on Screen X: 420 W: 400 Y: 0 H: 480 5) Object Following Hbox: 200 Hsp: -1 Vbox: 240 Vsp: -1

Now you have a 2 view game!!! But… The score is displayed in a fixed position in the room so you can only see it if you drive next to it. So you need to edit the controller object to draw the score relative to the view position.

If viewing player 1 (Value 0) 1) Open the Controller Object 2) Add a test Variable action just before the Draw Variable Action 3) variable: view_current Value: 0 Operation: equal to 4) OK

Then draw global.score1 in player 1’s (0) area 1) Double click on the ‘Draw Variable’ action 2) Change X, and Y values to track with the tank. X: view_xview[0] + 380 Y: view_yview[0] + 10 3) OK

If viewing player 2 (Value 1) 1) Open the Controller Object 2) Open the Draw event 3) Insert a ‘Test Variable’ action before the ‘Draw Variable’ action. 4) variable: view_current Value: 1 Operation: equal to 5) OK

Then draw global.score2 in player 2’s (view 1) area 1) Edit the ‘Draw Variable’ action 2) Change the X and Y values to map with player 2. X: view_xview[1] + 20 Y: view_yview[1] + 10 3) OK

Test the Game Drive both robots Check that the score stays in the window with the robot Try to find the other robot and shoot it. Check to see if the score is updated correctly.

Mini Map Next you will create a mini map to help the players see where they are. The mini map will show the entire room.

Mini Map 2) Select the ‘Views’ tab. 4) Check ‘Visible when room starts’ 3) Select View 2 5) Set the view in the room to see the entire room X: 0, w: 1280 Y: 0, H: 1280 1) Open your room_main 6) Set the port on the screen to be in the bottom middle of the screen. X: 350, W: 120 Y: 355, H: 120

Test it

Adding Comments 1) Click on ‘Change the Game Information’ 2) Add a description of the game including The goal of the game, How to drive and shoot, Credits…

Create a Loading Image 1) Open ‘Global Game Settings’ 2) Select the ‘Loading’ tab 3) Check ‘Show your own image while loading. 5) In the resources folder you can use ‘Title’ 4) Change image 6) Open

Make an .exe of your game This will let you play it on a computer that does not have Game Maker 1) Create a stand alone executable for your game 2) Find a place to save it and give it a name 3) Save

YOU DID IT!!! What’s next Complete the game and add some sort of extension Potential extensions Create different arenas Add other types of walls Create muddy areas that reduce traction Add other types of weapons Drop mines Create holes with the tank .. On Thursday you will demonstrate your games to the class