Game Programming

Game Programming Guide

Introduction to Game Programming

There technically is no such thing as game programming. Game programming is simply taking what you've learned from core programming and applying it to the solution of making games.

Game Programming Topics

Game Structure

(Full article : Game Structure)
Every game follows a general programming structure, often known as the game structure. This structure makes sure helps you set up, run, and terminate things properly. Using this basic game structure will save you headaches later as your game project grows.

Control

Player Control is usually implemented using the keyboard or mouse

Graphics

Graphics

List of Game Programming Concepts

  • 1up - an extra life
  • accelerator variable - a variable used to accelerate the value of another.
  • accumulator variable - a variable used to accumulate things like a pack-rat
  • collision detection - do two game objects collide?
  • counter variable - a variable used for counting…
  • crashing - crashing, falling to your death, it's all the same
  • damage - causing damage, taking damage
  • double jump - the ability to jump twice in one "jump"
  • flag variable - much like a light switch
  • game loop - you spin me round baby right round…
  • game space - simulated space used in video games
  • gravity - simulating gravity in 2d games
  • hspeed - horizontal speed of a game object
  • inertia - the physics of being lazy
  • jump flag - used to tell if a game object is "jumping"
  • jumping - the general process of jumping in platform games.
  • loopin - time measured in game loops.
  • money - get it, spend it, see if the player has enough
  • platform game - ah, the platform game.
  • position - the position (or location) of things in your game.
  • tilemap - tilemaps are used for creating levels
  • timer - when things need to happen at a specific time.
  • threshold - putting a limit on a variable's value.
  • vspeed - vertical speed of a game object
  • x - horizontal location of a game object
  • y - vertical location of a game object
  • z - depth location of a game object in 3D

Game Objects

A game object is anything the player can see and/or interact with.

Common Types of Game Objects

  • player object - the game object that the player controls.
  • power up - a game object that increases or gives an ability to the player object.
  • projectile - throwing and shooting projectiles.
  • turret - a fixed game object that shoots at the player object.

Related Pages

page revision: 45, last edited: 07 Jul 2012 16:19
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution 2.5 License.
Click here to edit contents of this page.
Click here to toggle editing of individual sections of the page (if possible). Watch headings for an "edit" link when available.
Append content without editing the whole page source.
Check out how this page has evolved in the past.
If you want to discuss contents of this page - this is the easiest way to do it.
View and manage file attachments for this page.
A few useful tools to manage this Site.
Change the name (also URL address, possibly the category) of the page.
View wiki source for this page without editing.
View/set parent page (used for creating breadcrumbs and structured layout).
Notify administrators if there is objectionable content in this page.
Something does not work as expected? Find out what you can do.
General Wikidot.com documentation and help section.
Wikidot.com Terms of Service - what you can, what you should not etc.
Wikidot.com Privacy Policy.

AltStyle によって変換されたページ (->オリジナル) /