Saltar al contenido ForoHackers

Game development: start here

Desarrollo de videojuegos
#475 · Ophuscado · · Denunciar

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

Inicia sesión o únete para responder.