1 / 9

Game Programming Elements

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.

phiala
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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Game Programming Elements By Mr. Lee

  2. 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)

  3. 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.

  4. 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?

  5. 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.

  6. 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..

  7. 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...

  8. 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!

  9. Identify all the programming elements in this picture

More Related