Commit Graph

1337 Commits

Author SHA1 Message Date
dbb9078e30 Fixed glow on PauseButton not updating 2017-01-30 08:19:44 -04:00
9ab49247b2 Forgot one 2017-01-30 08:08:38 -04:00
8f6a6143d6 Removed excess parenthesis 2017-01-30 08:07:37 -04:00
ed3ed8251f Made styling PauseButtons public, Resume/Retry/Quit buttons changed to subclasses 2017-01-30 08:04:39 -04:00
dcb02eff65 Cleared out PauseProgressGraph 2017-01-30 07:19:14 -04:00
ad33ae9431 Removed unnecessary change 2017-01-30 06:24:44 -04:00
015832f242 Changed PauseOverlay to layout with FlowContainers and not positioning, made the retry counter in PauseOverlay have the number bolded, made it so if the player presses escape before the clock is started in Player then Exit is called instead of Pause 2017-01-30 06:14:28 -04:00
62282076c7 Changes on PauseButton to match design closer 2017-01-30 05:04:57 -04:00
f8cbc35f8e Small cleanups 2017-01-30 04:43:06 -04:00
d70cbd37dd Made the pause progress graph it's own class, to be implemented, made it so the user couldn't double click the pause buttons and made it so the action wasn't called a second time when the mouse button was released, made PopIn and PopOut in PauseOverlay one line each, made Player.IsPaused a public getter with a private getter/setter, implemented restarting in Player 2017-01-30 04:08:14 -04:00
28967cf77a Renamed Player.isPaused to IsPaused, did a small patch suggested for how the player can click through the pause menu onto the Playfield(only partially works, upstream changes need to be made for full functionality), made Retry default to Resume until retrying is implemented, minor cleanups 2017-01-29 05:04:48 -04:00
c75b234b1a Adjusted the fade time of the pause overlay, put a fill behind the colour of PauseButton to fix an issue where the background gray is visible when the pause overlay is fading out 2017-01-28 21:50:06 -04:00
d0a22bfdd4 Added PauseOverlay.SetRetries for updating the retry indicator 2017-01-28 20:56:23 -04:00
d4216eb539 Made resume not call until double the time of the fade animation 2017-01-28 20:45:10 -04:00
6b57456681 Removed depth setting from PauseOverlay, removed shadow offset on PauseButton color(why was that even there?), fixed the triangles on PauseButton not masking to the sheared container, made PauseButton call it's action on MouseUp instead of MouseDown to match stable 2017-01-28 20:30:37 -04:00
582599a8de Made PauseButton more visually responsive, added force option to Player.Pause, added very basic implementation of the progress bar 2017-01-28 16:55:42 -04:00
feba3f35ba Changed the roles of PauseOverlay and player in pausing, PauseOverlay is now only the UI portion and doesn't do things like actually pause the game, and only calls actions and hides itself, whereas Player actually pauses the game and brings up the pause overlay in the first place 2017-01-27 15:28:39 -04:00
601a5ed39c Reverted Player to upstream 2017-01-27 14:29:51 -04:00
490feac030 Working on design 2017-01-27 14:18:57 -04:00
e115120543 Renamed pauseDisableTime to pauseCooldown 2017-01-27 08:13:39 -04:00
8c6d9bdf2e Added commas to the end of UI creation to match how the rest of the project does, moved PauseButton audio loading to PauseOverlay, much more reliable(still using placeholder assets), made it so the player can't spam pause, cools down to one second 2017-01-27 08:03:32 -04:00
811cf4b04e Added newline, thanks Xamarin 2017-01-27 07:12:20 -04:00
3ed88ea043 Added PauseOverlay.TogglePaused, renamed OnPlay and similar to OnResume, made Pause and Play public, added proper testing for the visual test(pause button instead of auto-pause, logging actions), made PauseOverlay's fade duration a constant instead of statically typed 2017-01-27 07:11:22 -04:00
81de5a2097 Made the pause overlay be at -1 depth so it renders on top of everything(used to allow circles to draw on top) 2017-01-27 06:36:43 -04:00
f35974021a Set actions for retry/quit, moved setting paused to PopIn and PopOut, added null propogation for the sound samples for PauseButton(sometimes in the visual tests the audio doesn't load for whatever reason), added a gradient to the background of the PauseOverlay visual test(same as the one in the menu button system test), wired up the retry and quit actions in Player, made the quit action quit the map, retry still does nothing 2017-01-27 06:19:52 -04:00
dedd6a4bcf Small cleanups 2017-01-27 05:39:15 -04:00
fe265c01cb Added current work on pause overlay 2017-01-27 05:24:49 -04:00
f3e9da609e Merge pull request #295 from peppy/songselect-footer
Initial implementation of song select footer area.
2017-01-27 16:13:43 +09:00
8987a09741 Merge pull request #293 from peppy/general-fixes
Fix some nullrefs when running visualtests with no maps loaded.
2017-01-27 16:12:46 +09:00
335420ec30 Merge pull request #290 from peppy/player-extension
Add failing support
2017-01-27 16:12:17 +09:00
629605c6b4 Make HasFailed's set private. 2017-01-27 00:41:34 +09:00
4efedd942d Use null propagation. 2017-01-27 00:41:34 +09:00
f07b9591cd Add null check when popping backgrounds from the mode stack. 2017-01-27 00:41:34 +09:00
139cac5e57 Add fail dialog and flow. 2017-01-27 00:41:34 +09:00
1d24ad3db6 osu! mode starts with health being full. 2017-01-27 00:41:34 +09:00
c3699c1395 Remove unused prevCount variable. 2017-01-27 00:39:00 +09:00
c01863dfa2 Add min/max constraints to HealthDisplay. 2017-01-27 00:39:00 +09:00
9f44e634a4 Allow visualtests to share config etc. with osu!. 2017-01-27 00:39:00 +09:00
cd149f04fc Use bindable for HealthDisplay. 2017-01-27 00:38:21 +09:00
8c7bb4990c Add support for failing. 2017-01-27 00:38:21 +09:00
70271fee35 Move PlayerInputManager to own file. 2017-01-27 00:38:21 +09:00
4a7b3cf391 Initial implementation of song select footer area. 2017-01-27 00:36:12 +09:00
d4e30f65db Adjust timing of TestCaseHitObjects a bit. 2017-01-27 00:16:02 +09:00
a2501cc81d Fix TestCaseHitObjects not working at all due to state being set before load is complete. 2017-01-27 00:16:02 +09:00
7ee6a50404 Fix checkbox design regressions. 2017-01-27 00:16:02 +09:00
c07001b566 Fix TestCasePlayer not working on consecutive executions (clock being set where it isn't necessary). 2017-01-27 00:16:02 +09:00
4aa2834082 Fix TestCasePlaySongSelect not working on consecutive executions. 2017-01-27 00:16:02 +09:00
162e183b36 Fix some nullrefs when running visualtests with no maps loaded. 2017-01-27 00:16:02 +09:00
d17bef12b6 Merge pull request #294 from peppy/framework-configuration
Move window/volume configuration to framework level.
2017-01-26 15:50:13 +01:00
db37a7e332 Update framework. 2017-01-26 23:36:35 +09:00