A collection of examples using the Piston game engine
Rust GLSL
Latest commit 5f2cd0f Jan 10, 2017 @bvssvni bvssvni committed on GitHub Merge pull request #377 from bvssvni/master
Updated dependencies

README.md

piston-examples Build Status

A collection of examples using the Piston game engine

How to contribute

How to build & run examples

To build the examples, you need the latest Rust nightly and Cargo installed.

  1. Install Cargo
  2. In the Terminal window, navigate to the project directory of the example you want to build.
  3. Type cargo build
  4. Type cargo run --bin hello_world

Troubleshooting

  • I get ld: library not found for -lSDL2 error on OSX

  • I get "GL context creation failed" when running an example.

    It's likely your hardware or driver doesn't support PistonWindow's default OpenGl spec. Just change it to something you can support at the beginning of the example. See hello_world.rs for an example.