Programming a State Machine
Saturday, March 23rd, 2013My attempts at game programming usually turn into impenetrable spaghetti code: “If the player walks through this door, then have him talk to the princess, unless he’s killed a guard, in which case the guards attack, or if he comes out of the secret passage…” The game I’m working on now is pretty simple, but [...]
Subscribe