piston-examples icon indicating copy to clipboard operation
piston-examples copied to clipboard

A collection of examples using the Piston game engine

Results 28 piston-examples issues
Sort by recently updated
recently updated
newest added

It seem some examples are not working with the new update changes. Could you check them to rework the new updates? Trying to get the cube example to work but...

And all I have is the advice to "manually update piston": https://github.com/rust-windowing/winit/issues/2683 Since I am at the level of "run the example with cargo" this is probably within a "some...

bug

i get this error when i run `cargo build` in the main project directory on windows 10. i assume i'm getting this error because i don't have SDL2 on my...

``` $ cargo -q run --example=hello_world [wayland-client error] Attempted to dispatch unknown opcode 0 for wl_shm, aborting. [1] 29902 IOT instruction (core dumped) cargo -q run --example=hello_world $ uname -srv...

Hello all, I followed the cube example found in the examples folder in this project. I found the Device::with_gl closure within the piston window structure, and am not seeing it...

``` { "resource": "/E:/projects/piston-examples/examples/cube.rs", "owner": "rustc", "code": { "value": "mismatched-arg-count", "target": { "$mid": 1, "external": "https://rust-analyzer.github.io/manual.html#mismatched-arg-count", "path": "/manual.html", "scheme": "https", "authority": "rust-analyzer.github.io", "fragment": "mismatched-arg-count" } }, "severity": 8, "message": "expected...

Hello :) I just ran rs-tiled-piston ang got this when I attempted to resize the window: ```console guillaume@A320MA:~/GitHub/piston-examples/examples/tiled$ cargo run ... ... ... Compiling pistoncore-glutin_window v0.63.0 Compiling piston_window v0.105.0 Compiling...

```console kreyren@leonid:~/Repositories/RXT0147/projects/RXT0147-piston_rs$ cargo run Compiling piston-example-user_input v0.0.0 (/home/kreyren/Repositories/RXT0147/projects/RXT0147-piston_rs) Finished dev [unoptimized + debuginfo] target(s) in 5.09s Running `target/debug/piston-example-user_input` thread 'main' panicked at 'attempted to leave type `platform::platform::x11::util::input::PointerState` uninitialized, which is...

OS: MacOS 10.12 Perhaps related to #401, but a different error. Running the multi_window example in debug mode crashes after the windows are displayed briefly. Release mode works as expected....

discussion