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

* Added Best Score, Clock and Pause #17

Merged
merged 3 commits into from Jun 25, 2014

Conversation

jperedadnr
Copy link
Contributor

... when the score is greater than the former best score.

  • Added clock to show elapsed time.
  • Added pause control (key P) and white overlay to nearly cover the tiles, showing two buttons (Keep Going and Try Again) to resume the game or start a new one.

Timer stops during pause or when 2048 tile is reached. It goes on after Keep Going button is clicked. It restarts if Try Again button is clicked.

jperedadnr added 3 commits June 24, 2014 18:52
…ses when the score is greater than the former best score.

* Added clock to show elapsed time. 
* Added pause control (key P) and white overlay to nearly cover the tiles, showing two buttons (Keep Going and Try Again) to resume the game or start a new one. 

Timer stops during pause or when 2048 tile is reached. It goes on after Keep Going button is clicked. It restarts if Try Again button is clicked.
…ize of the primary screen, keeping the aspect ratio of the game.

Then it can be resized, to any bigger or smaller size (up to half size of the actual game dimensions).
* Fixed dropshadow effect problem: with bigger radius, the effect moves the game, and in the Raspberry Pi this could even cause exceptions. By adding a rectangle to clip the grid, all the effects are applied within the grid.
* Fixed points location when scaling up or down the scene.
…ize of the primary screen, keeping the aspect ratio of the game.

Then it can be resized, to any bigger or smaller size (up to half size of the actual game dimensions).
* Fixed dropshadow effect problem: with bigger radius, the effect moves the game, and in the Raspberry Pi this could even cause exceptions. By adding a rectangle to clip the grid, all the effects are applied within the grid.
* Fixed points location when scaling up or down the scene.
brunoborges added a commit that referenced this pull request Jun 25, 2014
* Added Best Score, Clock and Pause
* Added resizable capabilities
@brunoborges brunoborges merged commit 6c90746 into brunoborges:master Jun 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants