Closed marouen-lamiri closed 9 years ago
Here is the first draft of our in-game main menu.
Here is the first version of the in-game menu. (https://github.com/marouen-lamiri/Second-Soul/commit/ec8476f8b050d529d302ec134512d72f9a9b4a08)
Below is the new (final) version of the in-game menu, yet not linked to the game-scene. (5f7a83d) The Box's height is adjusted depending on the number of buttons included in the code.
Tests # | Inputs | Expected Output | Status |
---|---|---|---|
Display Menu | Press Escape-button when menu is hidden. | The In-Game menu appears on the screen. | Pass |
Hide Menu (Escape-button) | Press Escape-button when menu is displayed. | The In-Game menu disappears. | Pass |
Resume Game / Hide Menu (Resume-button) | Left-Click on Resume-button when menu is displayed. | The In-Game menu disappears. | Pass |
Get Options | Left-Click on Options-button when menu is displayed | A console-message says that the button was pressed, yet there is not implementation for now. | Pass |
Quit Game | Left-Click on Quit-button when menu is displayed | The game ends by closing the game-window. | Pass |
These issues have been retested: #27 Tests failed: None Last edit: 05/03/2015
Here is how the menu looks within the game (6fe384d).
Here is the first prototype of our new Player's stats display.
Also refers to US #74
Also refers to US #74
Display the tool-tips for player's Primary Stats when hover over the stats' label (https://github.com/marouen-lamiri/Second-Soul/commit/22841f9ee8c99b4e44128d2b77626ee1ada70a38).
Here is an image that shows both Primary and Secondary stats windows with tooltips appearing whenever hovering on a stats label. I also improved the layout. The stats menu is not yet linked with the game. (https://github.com/marouen-lamiri/Second-Soul/commit/40fc0921cd15093341bae3f47d1b9a7c26a39173)
The commit (https://github.com/marouen-lamiri/Second-Soul/commit/934ef6cfceb456ac7647bd189d0cdbbbacdf1d19) contains both InGameMenu and DisplayPlayerStatsNew functionality.
Also refers to US #74
Tests # | Inputs | Expected Output | Status |
---|---|---|---|
Display Menu | Press 's'-key when menu is hidden. | The Stats-menu appears on the screen. | Pass |
Hide Menu | Press 's'-key when menu is displayed. | The Stats-menu disappears. | Pass |
Display Secondary Stats | Press the Details-button when the Secondary stats are hidden. | The Secondary Stats window is displayed. | Pass |
Hide Secondary Stats | Press the Details-button when the secondary stats is displayed. | The Secondary Stats window disappears. | Pass |
Display Tooltip | Hover over either Primary or Secondary Stats label when the Stats window is displayed on the screen. | The tooltip for the hovered over label is displayed. | Pass |
These issues have been retested: #27, #74 Tests failed: None Last edit: 16/03/2015
Also refers to US #74
Menu correctly opens on escape key, and stats page correctly opens on 's' key. Love the appearance. Mouse-over shows tool-tip which is nice. One comment, when you close the stats menu the details section should collapse, i.e. if you open the stats again the details section should not be open. Signing off.
Fixed the details-section display issue based on stakeholder's comment (https://github.com/marouen-lamiri/Second-Soul/commit/71f72a240c5ec0e02bd51b5765e3366861085780).
Put the stats' updates into the right place - the Update method; commit (https://github.com/marouen-lamiri/Second-Soul/commit/6b1a2f063c8d7b3790affecbe067eb8f97075ee0).
Dan, theres a key duplication error. You're adding to the menu each update. You want to only add in start and update in update menu
Here is the commit that fixes the duplicate bug (https://github.com/marouen-lamiri/Second-Soul/commit/627fafa45095479ee93a956b5aa0196d5aa19eab).
Here are the commits that fixed the bug referred to Click-While-Opened-Menu/Stats (https://github.com/marouen-lamiri/Second-Soul/commit/5d4e089b1e0067c013f766ef4a13d1b145c4af54) and (https://github.com/marouen-lamiri/Second-Soul/commit/752981a5246fc20045eaf217787b7a7bea226ed6). The issue was that whenever clicking on the Game-Menu or Stats windows, the player was taking it as a position change.
These issues have been retested: #27, #74, #90, #83 Tests failed: None Last edit: 07/04/2015
As a user, i want to have an in-game main menu[SP: 8] [Priority: 3]