Skip to content

jayrave/runner

Repository files navigation

Runner

My first attempt at building a game with animation! Main modules:

  • core: has the core game mechanics (everything except windowing & rendering)
  • sdl2: uses sdl2 & core module for desktop builds
  • quicksilver: uses quicksilver & core module for wasm builds

Quicksilver can also do desktop builds, but I initially started the game with sdl2 & wanted to see if I could abstract it enough where I could have multiple front-ends. Turned out to be pretty exciting. Between those 2, I can target the majority of the platforms => Windows, Linux, MacOS, Android, iOS & Web.

Assets

You can probably see that we our sprite sheets carry quite a bit of extra sprites. It could be optimized by building a sheet with only the sprites we care about. I tried doing it but found it to be pretty manual & boring. Presumably, there are tools which can automate this (sprite builders, RON files etc.), but I haven't invested enough time in those yet. This way of just including the whole sprite sheet itself makes it pretty easy while developing.

About

An endless runner game in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published