- 14 Dec, 2020 9 commits
-
-
Rahix authored
-
Rahix authored
Currently a bit ugly because we're essentially polling the future, but it'll do for now ...
-
Rahix authored
-
Rahix authored
Remove the previous PoC code as this will now be handled by the "state machine".
-
Rahix authored
Pretty graphics and it already exists so why not
-
Rahix authored
No more mouse-clicks needed!
-
Rahix authored
-
Rahix authored
Remove the `context` resource and instead use the Rendering API everywhere. For now, expose the `ctx` field for direct access but of course this change should be reverted in the long run.
-
Rahix authored
-
- 13 Dec, 2020 25 commits
-
-
Rahix authored
-
Rahix authored
-
Rahix authored
-
Rahix authored
Add a StateMachine for managing game-states. Not all features are implemented yet.
-
Rahix authored
-
Rahix authored
These are meant for "Headlines and Buttons".
-
Rahix authored
-
Rahix authored
-
Rahix authored
See merge request rust/webassembly-game!4
-
Rahix authored
Current stable rustfmt removes the `async` keyword inside the extern "C" {} block. Add a marker to ensure this won't happen by disabling formatting for this section for now. rustfmt behaves correctly on nightly.
-
Rahix authored
See merge request rust/webassembly-game!3
-
Simon Goller authored
-
neosam authored
More utils See merge request rust/webassembly-game!2
-
Rahix authored
-
Rahix authored
-
Rahix authored
Add a request_animation_frame() function which properly mirrors the behavior of JavaScript's requestAnimationFrame().
-
Rahix authored
-
Rahix authored
The function takes care of repeated scheduling which differs from the javascript requestAnimationFrame() equivalent. Rename it to make this more clear.
-
Rahix authored
See merge request rust/webassembly-game!1
-
Simon Goller authored
-
Simon Goller authored
-
Simon Goller authored
-
Simon Goller authored
-
Simon Goller authored
-
Simon Goller authored
-
- 07 Dec, 2020 2 commits
- 06 Dec, 2020 4 commits
-
-
Rahix authored
It is good practice to keep the cargo lockfile in version control for application projects. This allows rebuilding the project exactly as upstream builds it, without dependency updates implicitly getting pulled in.
-
Rahix authored
-
Rahix authored
This is all still a huge hack but demonstrates that the idea works: We synchronize all entities with a collider to the ncollide CollisionWorld and the use it to find potential targets for mouse clicks.
-
Rahix authored
This way we can properly see the message in case a panic occurs.
-