Skip to content

echochamber/rust_spin_wheel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Color Catcher Game

Simple game made with piston. Particals spawn and fall towards the ring. Try to catch the particals on their matching color.

Screenshot

Controls:

  • Up: Rotate the ring counter clockwise
  • Down: Rotate the ring clockwise
  • Esc: Exit the game

Running

The only dependency not included in the crate is SDL2. The rust-sdl2 crate README has an easy explanation for installing sdl2 on Linux, OSX, or Windows. If you don't want to install SDL2, you can use any of the other implementations of piston_window. Check out the piston_window README for examples on how to easily swap out implementations.

Aside from that, just cargo run and it should be good to go. Feel free to change the settings in main.rs and see how the gameplay changes.

Thank yous

aochagavia for writing rocket which was extremely helpful to reference.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages