Skip to content
No description, website, or topics provided.
Rust
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
resources Add a gif example to README. Jun 10, 2016
src Ran code through rustfmt. Jun 23, 2016
.gitignore
Cargo.lock Update to work with current versions of piston and rust. May 6, 2016
Cargo.toml Tinkering a bit Jun 22, 2016
LICENSE.md Game is playable now. Aug 24, 2015
Readme.md
build.rs Game is playable now. Aug 24, 2015
todo.md Made a todo file with ideas Jun 22, 2016

Readme.md

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.

You can’t perform that action at this time.