lp8 - game maker scrolling shooters tutorial

Views:
 
Category: Education
     
 

Presentation Description

In which we delve deeper into the capabilities of Game Maker, learning what we need to create a Scrolling Shooter Game

Comments

Presentation Transcript

Video Game Design: 

Video Game Design Ms. Fox-Thomas Instructor Mr. Phillips Co-Instructor Game Maker, Part 3 Scrolling Shooters LP 8

Framing the Problem: 

Framing the Problem What W e K now Already How to make a somewhat silly fruit game in Game Maker (although our tutorial games were often better than many of the student-made games on the Activate website… oh yeah!) What We Need to Know How to take Game Maker to the next level with a scrolling shooter game

Review of Game Maker Vocabulary: 

Review of Game Maker Vocabulary Sprite Object Event Actions Rooms Sounds -- image – an image with ATTRIBUTES, that can ACT You must decide how it reacts to others and how others react to it (RELATIONSHIPS) Behaviors based on planned events and planned actions - ENVIRONMENTS - Programmed responses to events - Things that happen in a game

What is a Scrolling Shooter Game?: 

What is a Scrolling Shooter Game? In a scrolling shooter the player controls an OBJECT, for example a plane, spaceship, or car, which moves over a SCROLLING BACKGROUND doing something, likely trying to stay alive. OBSTACLES appear on the background that must be avoided and enemies appear that must be shot. Often bonus objects appear that can be picked up for additional BENEFITS. During the game the number, variety, and strength of the enemies INCREASES making it harder and harder to survive.

Intro to Game: 

Intro to Game In this tutorial we will create a scrolling shooter called 1945 , in which the player flies in a plane over a sea and enemy planes try to destroy the player. We will explore aspects like: how to create the ILLUSION of motion using a scrolling background, how to control the plane, how to make enemies and BULLETS, and how to deal with the score, with LIVES and with the DAMAGE of the plane.

What is our PLAY SPACE?: 

What is our PLAY SPACE? X Y Coordinate Plane

What is a PIXEL?: 

What is a PIXEL? A single square of information in a space. The smallest point of color a computer can generate. d pi = dots per inch

What is pixelation?: 

What is pixelation ?

How does this affect graphics?: 

How does this affect graphics?

What are vertices?: 

What are vertices? The common endpoint of two or more rays or line segments Vertex

2D versus 3D: 

2D versus 3D 2D 3D

2D or 3D?: 

2D or 3D?

2D or 3D?: 

2D or 3D?

2D or 3D?: 

2D or 3D?

Intro to Game: 

Intro to Game In this tutorial we will create a scrolling shooter called 1945 , in which the player flies in a plane over a sea and enemy planes try to destroy the player. We will explore aspects like: how to create the ILLUSION of motion using a scrolling background, how to control the plane, how to make enemies and BULLETS, and how to deal with the score, with LIVES and with the DAMAGE of the plane. But first of all we delve into a very important aspect of Game Maker that extends the possibilities considerably: the use of variables .

So, what is a variable?: 

So, what is a variable? It can best be seen as a property of an instance of an object . It varies or changes value Two types: Local variable that belongs to an INSTANCE GLOBAL variables that interact with many instances Var_global .

Some INSTANCE variables in Game Maker: 

Some INSTANCE variables in Game Maker x : the x coordinate of the instance y : the y coordinate of the instance hspeed : horizontal speed (in pixels per step) vspeed : vertical speed (in pixels per step) direction : current direction of motion in degrees, 0 being right, and going anticlockwise to 360 being right again speed : the current speed in this direction visible : whether the object is visible (1, or true) or invisible (0, or false) solid : whether the object is solid (1, or true) or not (0, or false)

Some GLOBAL variables in Game Maker (not related to an individual instance): 

Some GLOBAL variables in Game Maker ( not related to an individual instance) score : the current value of the score lives : the current number of lives health : the current health of the player (defaults to 100) mouse_x : the x coordinate of the mouse mouse_y : the y coordinate of the mouse room_speed : current speed (FPS) of the room in steps per second room_caption : caption shown in the window title room_width : width of the room in pixels room_height : height of the room in pixels

Want spaceship to be able to shoot one bullet every 5 steps…: 

Want spaceship to be able to shoot one bullet every 5 steps… Variable for being able to shoot – “ Can_shoot ” variable

Want spaceship to be able to shoot one bullet every 5 steps…: 

Want spaceship to be able to shoot one bullet every 5 steps… 0 1 2 3 4 5 Here Can_shoot = 1 (TRUE) Here Can_shoot = 0 (FALSE)

Want spaceship to be able to shoot one bullet every 5 steps…: 

Want spaceship to be able to shoot one bullet every 5 steps… 0 1 2 3 4 5 Here Can_shoot = 1 (TRUE) X-axis coordinate + 5 = can_shoot variable as true) If x/5 = I, then can_shoot variable = true

Scrolling: 

Scrolling The ILLUSION that the object is moving… but really it is the background that is rolling past the object. Slowing down and speeding up the background is what APPEARS to increase or decrease the object’s speed.

Scrolling: 

Scrolling

Scrolling: 

Scrolling

EXIT TICKET: 

EXIT TICKET Show Ms. Fox notes filled out