Skip to content

abesto/rktrl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rktrl

Play in your browser: https://abesto.github.io/rktrl/

A toy roguelike built by following https://bfnightly.bracketproductions.com/rustbook/, with a few twists. Major ones:

  • Using the legion ECS system instead of Specs
    • See this for my experience on the Specs -> Legion migration
    • Using maximal magic for serialization using legion_typeuuid (limited by the lack of WASM support in the ctor crate)
  • Cause-and-effect pattern instead of ...Intent components
  • RunState is managed through a Deque
  • Development features controlled with Cargo features
  • Rendering is done in an ECS system, using DrawBatches instead of directly writing to the console