XMLGameEngine is a VGDL (video game description language) and an engine for running games completely contained within an XML file.
Status: Built: constant velocity, acceleration, thrust, headings, hops, timed jumps with an arc, pulls and seeking, riding, wrapping, altitude and shadows. Reference: commands, objects.
| Words | Forced by |
|---|---|
bounce, stick, die, reset, inc |
Pong, Breakout, Invaders |
dec, atmost, hop, wrap, ride, unless |
Frogger |
<line>, pixel, <acceleration>, <accelerate burn>, <stop />, slower/faster |
Lunar Lander |
<heading>, <turn>, <thrust>, <drag>, <release>, amounts on inc/dec |
Asteroids |
<knock>, <mass> |
Trick Shot, Mario Bros. |
timers, <facing>, <jump>, <reverse />, looks, <reveal> |
a read of every game for workarounds |
<paths>, <follow> |
Galaxian |
<land />, <leap>, <climb> |
Donkey Kong |
<chase>, <aim> |
Berserk |
<pull>, <seek>, diagonal hops, <track path> |
Yars’ Revenge, Q*bert |
| nothing new | Space Race, Freeway, Depth Charge, Astrosmash |
<acceleration>), not a world setting: most games want some things to float.<accelerate burn="fuel"> adds every frame while held and stops at 0. Rejected: a plain rule on the key (needs “while held” and “until empty” spelled out).<stop /> clears velocity, acceleration and held thrust, so a landed lander stays landed.<turn> and <thrust> are held and need a heading. <drag> is the share of speed lost each frame, so thrust has a top speed.<hop> is one instant step per press, judged where it lands; never repeated while held.<jump> is a straight timed move that touches nothing in the air; refused if it would land off screen. <arc> lifts it on the way. No air control.<seconds> in a <hop> makes it fly as a jump does (Q*bert), sharing startFlight.<facing> follows the last move; <fire> leaves the middle of that side. Chosen over a heading in 90-degree steps, which would turn the picture.up-left), with one distance or <x> and <y>.<hunt> with a <hop> inside takes the hop landing nearest the target, run by a timer at the hunter’s own pace. Rejected: a new <pursue> verb, <chase> with steps (chase is a velocity).<pull> and <seek> are properties, not verbs: they act every frame, as acceleration does; a verb run by a timer would make a smooth pull a staircase.<seek> turns the way of travel by at most so many degrees a frame, keeping speed, so a missile overshoots and comes round.<altitude> (<start>, <rise>, <fall>, <bounce>) raises only the drawing; the position stays the point on the ground, so touches and edges need nothing new. <shadow object> keeps an object under another.height is already a size, so the number is altitude.