Gered
9e06a13c6d
since i realized there is an SDL hint that can be used to toggle this the reason why the rust-sdl "Canvas" struct (which abstracts an "SDL_Renderer") is not being created in System directly (which would allow vsync to be toggled on/off via System directly without the use of a hint) is because not all future SystemResource implementations will need it (e.g. a future OpenGL implementation definitely won't). |
||
---|---|---|
.. | ||
assets | ||
src | ||
Cargo.toml | ||
README.md | ||
screenshot.png |
ggdt - 'Flying Balls' Demo v2
Extension of the original 'Flying Balls' demo found in this repository under /examples/balls
. This one is re-done
with some more effects, but with the major difference being utilization of the entity, events, and states support from
ggdt.
Simply do cargo run
from this directory to try it out.