Terasology / LightAndShadow

Light & Shadow is an experimental game type set in a quirky Alice in Wonderland inspired setting
Apache License 2.0
8 stars 22 forks source link

feat: game over screen UI rework #146

Closed stefaniamak closed 4 years ago

stefaniamak commented 4 years ago

Purpose

This PR is about modifications according to the design of the Game Over Screen.

Changes made

How to test

  1. Check https://github.com/Terasology/LightAndShadowResources/pull/56
  2. Start a LAS game
  3. Choose a team
  4. Open the developer tab and gain the enemy team's by writting give and redflag or blackflag
  5. Score as many points as you need to finish up the game
  6. The Game Over Screen will pop up when you score the last point

Note: You can go to LAUtils.java and change GOAL_SCORE variable from 5 to 1, so you need to score 1 point to end the game.

Current Version

image

stefaniamak commented 4 years ago

Tests out and codey bits look fine :-)

At this point it seems like there are only a few trivialities left on the screen, which can be handled in the future. Like some odd logging, the slight alignment of the flag capture stats (not centered with player box) or the buttons on the edge (like "Settings" or "Exit Terasology" appearing like they're partially off the edge (too little margin?). Not really worried about those. Screen looks great! :-)

image

I didn't have the issue with the buttons appearing off the edge 😮 But yes, I thought it would be better to work the further changes in a new PR!