piston-examples

0
README.md

Piston Examples

A collection of examples using the Piston game engine

How to contribute

How to build & run examples

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

  1. Install Rustlang for example through rustup
  2. Invoke
    cargo run --example <NAME>
    where the
    NAME
    are a file names from
    examples
    directory 2.1. Optionally navigate to
    examples/<directory>
    and invoke
    cargo run
    for more complex examples

Troubleshooting

  • I get

    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.

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.