amethyst / evoli

An ecosystem-simulation game made with Amethyst
https://community.amethyst.rs/t/evoli-introduction/770
Other
217 stars 33 forks source link

Make the game pausable #27

Closed marotili closed 5 years ago

marotili commented 5 years ago

Users should be able to pause the game by pressing the P key. There is no need for a UI indicating the pause state because it is clear that the game is paused if no entities move (for now).

The game should be unpaused by pressing ESC or P.

The book contains a section that should help to implement this functionality: https://amethyst.rs/book/latest/concepts/state.html

erlend-sh commented 5 years ago

Completed in #33