XMLGameEngine is a VGDL (video game description language) and an engine for running games completely contained within an XML file.
Status: Built: <chase>, <aim>, maze walking, paths of straight steps, computer players. Ideas: curved paths, searching. Reference: steering, maps, paths.
at= on <fire> (could not face without firing). Chosen: verbs, so the timer says how often the chaser looks again, which is also how sluggish it is.<chase object>speed<near>8</near></chase> sets the velocity at the nearest one of a name; a heading turns to it.<aim object /> stores the way; the next <fire>s go along it. <lined> refuses unless the target is on one of eight lines.<maze map> on the walker and three verbs for how it chooses at a tile: <go> (a player’s stick, taken at the first open tile), <hunt> (arcade targeting), <wander> (random). The walking itself is one engine pass, the same for all three (play/maze.cpp).<ahead>, doubled <with> a partner, <retreat> within a range). A* was rejected as the default: getting stuck and doubling back is how the game plays.<slow class> in the maze, as the ghosts crawl through the tunnel. Rejected: a rule that changes speed and must change it back.<ai targeting> attribute with a mode per ghost (packs choices into attributes), a verb per ghost (names a ghost, not a behaviour).<wrap /> mid-step does not upset it. Galaxian’s dive adds up to the window’s height plus an alien’s, so a diver that misses wraps home.<home /> flies back to the object’s position. A formation needs no grid of slots.<stagger> sends a group one behind another; an object on a path ignores another <follow>.<shift> on a timer, moving objects and their home places together. Aim is a step whose <x> names something live, worked out as the step starts. Escorts are <follow><nearest>2</nearest>. A step’s self is made for each object that can fly it, at load.<computer>: conditions whose commands are <hold button>; every one is tested each frame and the engine presses keys as a person would (Engine::playComputer). A second person could take its place, and no verbs are new.x, velocity.x) when it has no variable of that name.