Skip to the content ForoHackers
Log inJoin

Game development: start here

Game development
#2981 · · Quote · Report

Game development is building interactive worlds in real time: rules, input, graphics, sound and feel, all inside a loop that runs many times a second. It joins programming with design, art and audio. The craft is as much about making something fun and finishing it as about technique.

Key concepts

  • Game loop: read input, update the world, draw, repeat, with a fixed or variable time step.
  • Game state: entities, their data and the rules that change them; saving and loading it is part of the design.
  • Input and feel: responsiveness, feedback and timing decide how a game plays, more than features do.
  • Content pipeline: art, sound and levels are authored in tools, converted and loaded efficiently.
  • Scope: a small finished game teaches more than a large abandoned one.

Vocabulary

  • Frame rate and delta time: frames per second, and the time since the last frame, used to keep movement independent of speed.
  • Entity-component system: a design that builds objects from plain data parts processed in bulk.
  • Prototype: a rough playable test of one idea, made to find out if it is fun.
  • Game jam: a short event to make a complete game within a few days.

What to study, in order

  1. Build a game loop that moves a square with the keyboard, using delta time.
  2. Make Pong, then a tile-based game, with collisions and a score.
  3. Add sound, menus, saving, and a way to restart cleanly.
  4. Separate the game state from the drawing, so the rules can be tested alone.
  5. Finish one small game and let other people play it; watch where they get stuck.

Related tags

#game-engines #computer-graphics #physics-simulation #algorithms

You are not logged in, so this goes up anonymously: no account, no name and no address is stored with it, and it may carry no link and no image. Log in or join to post under your name. Our web server's logs keep the address and time of every request for up to 14 days; to keep yours out of them, use Tor. To reach the staff in confidence, use the drop. Sign as a returning source (a key kept only in this browser)

Sending takes a few seconds here: your browser first works out a proof of work against spam.

Reply