by beaver » Fri Sep 02, 2016 2:55 am
Alpha 13
Progress to full screen
When a game starts, it will resize to use all of the available space. All that is missing for full screen is a button.
When resizing the game canvas, it would stretch the game for about 100 milliseconds. To avoid that, the screen will be blank until it is finished drawing the game screen and resizing the canvas. I am experimenting with alternative solutions.
Leader board
This update adds the leader board. The leader board now has two pages of players for each category!
5x Performance improvement when drawing the game screen and game
It would take a few seconds to draw a large map. Now, it is a fraction of a second.
120x Performance improvement when a turn ends/starts.
Before each turn started, the entire map was redrawn. It now only redraws regions that need to be. You will have ~1.1 more seconds to use each turn.
Changes
Game
- Game resizes to use all available space
- The map and game screen is drawn 5x faster
- Only redraws regions when they need to be
- Zoom levels are recalculated when the sidebar is resized
- Fix the text color of the new turn message for green
- Fix line spacing for long messages in chat
- Fix wrong player's regions were made neutral when a player disconnected
- Fix alignment of text in fight screen
- Fix defense boost staying on region after used in a fight
- Fix game over screen sometimes not showing
- Fix last character in each chat message being cut off
Shortcut Menu
- Forum button works
- Add leader board
Login
- When you sign out, you will not be automatically logged back in if remember me is enabled
Game Room
- Add shortcut menu to game room
Lobby
- The scrollbar now adjusts it's size when a player leaves the lobby
Menu
- Add daily reward popup
- Add version text to menu
Other
- Fix the default font size for buttons; it was too large