Skip to content

Latest commit

 

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

assets

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.

Usage

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>

Layout

  • res/textures/block — block textures, one PSD per texture
  • res/data/blocks.json — block definitions: solidity, opacity, and the texture of each face
  • res/data/textures.json — texture indices mapped to texture names
  • res/fonts — the game font
  • icon/icon.psd — game icon, exported as PNGs from 16 to 512 pixels

About

Textures and models for the roadrunner voxel game

Topics

Resources

Stars

0 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages