XMLGameEngine is a VGDL (video game description language) and an engine for running games completely contained within an XML file.
Status: Built for Donkey Kong, Pitfall!, Mario Bros. and Q*bert: <land />, <leap>, <climb>, slopes, <arc>, <grip>. Air control is an idea. Reference: moving.
Donkey Kong: Jumpman and barrels stand on girders, a barrel rolls off an open end onto the next, Jumpman jumps in a fixed arc he cannot steer, and climbs ladders through the girders.
<land />, on the faller’s rule; reusing <stop /> (takes the pull away, so nothing walks off an edge).<jump>; a new verb giving an upward speed under the object’s own pull.<land /> acts only on the faller’s bottom against the other’s top, only when not going up, and marks it on the ground until the next frame. The pull keeps acting, so it walks off an open end by itself. One-way platforms: jumped up through.<leap>height</leap>: the speed up is sqrt(2 * pull * height), so the author gives the height. Only from the ground; no air control. The loader refuses a leap with no pull or no <land /> rule.<climb direction class>step</climb>: finds a ladder under the climber’s middle, lines it up, moves it with no pull. The step is a velocity, so the sweep sees two climbers on one ladder. Rejected: a special pass for climbers.<slope> drops each column so much, a staircase of pieces half a pixel apart, as the arcade drew them. Rejected: landing on a line at an angle.luck variable drawn again at each ladder. Rejected: a random condition, a “take a ladder” verb.<arc> after a timed hop’s or jump’s <seconds>: the altitude follows 4 * arc * t * (1 - t), drawn up and over while what it touches moves straight. Q*bert’s hops must land on a cube exactly, so a real pull was rejected.<grip> eases the speed toward what the held keys ask, that share a frame: a slow start and a slide. Skidding is read from it. On ground pieces, <surface> changes it (tables and tracks).