XMLGameEngine is a VGDL (video game description language) and an engine for running games completely contained within an XML file.
Status: All four stages built. Reference: collisions, pictures, input.
| Stage | Words | Game |
|---|---|---|
| 1 | <bounce> about the touch normal; pixel normals; on="press|hold|release" |
Putt Park, mini golf |
| 2 | <polygon>; <acceleration> on a <spawn> (wind); turns as a phase |
Cannon Hill, artillery |
| 3 | <pivot>, <swing>, swept turns, speed at the touch point in <knock> |
Pinball |
| 4 | <surface>, <grip> with a heading, path followers facing their way |
Speedway, a racer |
<charge> verb; a charge is hold plus <inc> plus a clamp (input).<bounce>1.3</bounce>, so <kick> was dropped.<swing> is swept; a <turn> or a <set> of a heading jumps.<knock> takes each side’s speed at the touch point, velocity plus spin times the arm from the pivot, as a ball off a paddle depends on where it hits. No new word.<friction> rubs speed off along a still surface and brings a true rest when the pull cannot slide the thing or it is wedged. Pinball’s ball has 0.05 and rests only when wedged.<swing direction="counterclockwise"><degrees>60</degrees><seconds>0.1</seconds></swing>, the heading following half a cosine, hardest half way, as a flipper’s coil works. Rejected: a top rate as bare content with a <gain> (a naked number, and no slowing at the end).<degrees> and <seconds>, since <value> is the formula’s word and hops already say <seconds>.<turn> and <swing>.<launch> word, a <rest> heading for a swing.from="ready" so a rolling ball cannot be struck. A condition stops the ball under 0.08 a frame. Open: the cup taking only a slow ball wholly over it, sand and water, a best round.<polygon> (lines have no fill; a bitmap hill is a page of stairs), cut by the existing <hole>. Wind is a spawn’s <acceleration>, so each shell keeps its turn’s wind; a <pull> was rejected (a pull is toward a place). Turns are a table phase, not <turns>, since both play on one field. One barrel piece serves both sides by heading = level - side * elevation. Open: cannons falling into craters, a computer player, a picture-shaped hole (<hole sprite>).<line> with a <pivot>, a <swing> and <knock>0.3</knock>; the slopes end just above the hinge so the ball rolls on with no bump. The plunger is Space held and let go. Open: multiball, drop targets, tilt, ramps (a layer above the table).<grip> with a heading is a wheel’s grip, the speed across the heading losing that share; reused rather than a new word. Rejected: turning the velocity to the heading (a skid would lose no speed). <surface> is the ground under anything with a grip; rejected the car naming the ground it feels. Laps by four gate rules, no <gates> word. Path followers with a heading face their way. Open: steering by speed, computer cars that race, lap times.