XMLGameEngine

XMLGameEngine is a VGDL (video game description language) and an engine for running games completely contained within an XML file.

View the Project on GitHub beefviper/XMLGameEngine

Pictures

Status: Built: lines, polygons, bitmaps with inks and styles, palette swaps, SVG parts, tethers, flips, turning, holes, light and dark. Reference: pictures.

The one decision behind all of it

The engine draws every picture it can, once, at load, into its own Bitmap; backends only show that bitmap. One path, buildPicture (load/expr.cpp): read, draw, flip, keep a Turnable for objects with a heading. What an object shows is a typed Picture, never strings a backend parses. So:

Text and <image> files are the exception: only a backend can measure them, so they cannot be pixel, and a size reads 0 until measured. Keep new kinds on this path.

Lines and polygons

Bitmaps

SVG parts

Flip and turning

Tethers

Holes

Light and dark