Skip to content
mconbere edited this page Oct 22, 2011 · 9 revisions

Initial Steps

  1. avatar running around a room.
  2. add "gems" that can be picked up. does nothing on pickup.
  3. collect gems, keep an inventory of collected gems.
  4. add a "collection" trigger such that when you get all the gems, something happens. maybe a light turns on.
  5. hook up the gems to a door, and make a couple rooms of gems.
  6. write code to generate a sequence of gem rooms.
  7. add other types of triggers, play with generating content on the fly (infinite rooms)

Style

Use the Google C++ Style Guide, with the following exceptions:

  • #pragma once instead of include guards.

Collisions and the Object Model

Documentation on the current Collision and Object Model, useful if you want to add an action to be performed when objects interact.

Potentially Relevant Articles

  • http://accidentalnoise.sourceforge.net/minecraftworlds.html – Documentation and a C++ library for using random data to produce 2D and 3D landscapes. Mostly focussed on terrain generation, but concepts and libraries are potentially useful for more manmade structures as well. Well worth a read.