Game programming elements
This presentation is the property of its rightful owner.
Sponsored Links
1 / 9

Game Programming Elements PowerPoint PPT Presentation


  • 66 Views
  • Uploaded on
  • Presentation posted in: General

Game Programming Elements. By Mr. Lee. Backgrounds. The image that appears in the background (duh!). This might be a horizon, or clouds, trees and rainbows in the distance If you’re playing from a birds eye view, the background would be the floor ( eg ; WarCraft , Raiden ). Rooms.

Download Presentation

Game Programming Elements

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Game programming elements

Game Programming Elements

By Mr. Lee


Backgrounds

Backgrounds

  • The image that appears in the background (duh!).

  • This might be a horizon, or clouds, trees and rainbows in the distance

  • If you’re playing from a birds eye view, the background would be the floor (eg; WarCraft, Raiden)


Rooms

Rooms

  • The room is the area you play the game in.

  • Think of it like a movie scene – you might have different rooms for different scenes/levels etc.

  • The room will have all the objects etc that make the game.


Objects

Objects

  • Objects are things in the game that interact with each other.

  • An object is the character, the walls, the trees, the gun, the bullets... Anything that the player can interact with.

  • By interact, I mean pick up, collide, destroy, move, talk to, etc..

What you want me do?


Sprites

Sprites

  • Sprites = another word for graphics/animations.

  • They are like clothes for objects.

  • Objects don’t look like anything – until you select a sprite for them.

  • An object can have many sprites: a normal sprite, a explosion sprite, a move left sprite, a move right sprite, an armoured sprite.

  • The object can change sprites depending on what happens in the game.


Sounds

Sounds

  • Just as sprites are images for the object, sounds are voices/noises for them.

  • An object can have many sounds; a sound for running, a sound for dying, a sound for talking..


Events

Events

  • Events are triggers for the object to react/do something.

  • An event could be “on mouse click”, “on keyboard left key pressed”, “on collision with wall”, “on collision with bullet”... Etc.

  • Think of the word “ON” as “WHEN”

  • Events are useless unless you have...


Actions

Actions

  • Actions!

  • These are what the object(s) does when an event happens.

  • An action could be “move 5 pixels to the left”, “change sprite to explosion sprite”, “play sound “oww”, “destroy object wall”, “create object bullet”, “move object bullet 100 pixels right”, “set lives to subtract 1”..

  • An event can have many actions!


Game programming elements

Identify all the programming elements in this picture


  • Login