Crate ycraft

source ·
Expand description

Entry point for Y-Craft engine library

Modules§

  • Keep track of SDL context and window state as well as run main game loop
  • Implement collision shapes and handle collisions between them
  • Generic “GameObject” system that defines sets of behaviors using enums for resources/obj data
  • Load Images, Fonts, and Sounds (i.e. resources)
  • Collect game objects to maintain a type of game object
  • Helpful, static functions for game dev

Traits§

  • Y-Craft generically uses hypothetical enums to index various things, and there are restrictions on these enums for the user