Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved time control UI #40

merged 8 commits into from May 4, 2019


None yet
2 participants
Copy link

commented May 2, 2019

The pause button now sends an input action called TogglePause, just like the P key. Pressing the button again or pressing P again will send the same TogglePause action to resume the game.

I also added Speed Up and Slow Down buttons to control the simulation speed.

Show resolved Hide resolved src/states/ Outdated
Show resolved Hide resolved src/states/ Outdated

@sunreef sunreef changed the title Improved Pause button to use a state change and synchronized with pressing P Improved time control UI May 2, 2019

@sunreef sunreef force-pushed the sunreef:pause_button_improved branch from 39e2292 to d99c903 May 3, 2019


marot approved these changes May 4, 2019

@marot marot merged commit 848a157 into amethyst:master May 4, 2019

1 check passed

continuous-integration/jenkins/pr-merge This commit looks good

@sunreef sunreef deleted the sunreef:pause_button_improved branch May 4, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.