Source assets for roadrunner, a voxel game. Block textures and the game icon are authored here as layered PSD files, alongside the game font and the block and texture definitions the game loads at runtime. The export script renders everything into the plain PNG and data files the game consumes, so the editable sources never ship with the game.
Render every asset into a target directory:
./scripts/export.py <output_dir>Only sources that changed since the last export are re-rendered.
To re-export automatically whenever a file under res changes, install
watchdog and run the watcher:
pip install -r scripts/requirements.txt
./scripts/watch.py <output_dir>res/textures/block— block textures, one PSD per textureres/data/blocks.json— block definitions: solidity, opacity, and the texture of each faceres/data/textures.json— texture indices mapped to texture namesres/fonts— the game fonticon/icon.psd— game icon, exported as PNGs from 16 to 512 pixels