Commit Graph
1571 Commits
Author SHA1 Message Date
yugecin 5a057a229e mark states as dirty when the skin changes 2018-07-20 20:26:56 +02:00
yugecin 8d109df629 use flipped main menu background as playfield image if no image present 2018-07-20 20:12:49 +02:00
yugecin a1ce2c7e90 new main-menu background 2018-07-20 20:04:41 +02:00
yugecin 3d4631660c mainmenu: perform logo click effect when clicking it in open state 2018-07-08 11:14:22 +02:00
yugecin f85b4ec526 mainmenu: fix logo and buttons misplacement after resolution change 2018-07-08 11:07:27 +02:00
yugecin 04646f7d2a don't reshow the options overlay if it's already shown 2018-07-08 11:03:02 +02:00
yugecin 50cd209b67 options: don't capture mouse events that are not in the overlay 2018-07-08 11:01:49 +02:00
yugecin ab6aa75f8b fix back button
Make it immune to the "do not hover if options visible" hack.
Make the states render it, not the options menu.
2018-07-08 10:58:00 +02:00
yugecin 70902e42cb don't set elements underneath options overlay as hovered 2018-07-08 10:53:08 +02:00
yugecin 4a69f1d9b3 fix overlay event dispatch ordering in game 2018-07-08 10:45:45 +02:00
yugecin d7e59531ea remove options as overlay state 2018-07-08 10:39:37 +02:00
yugecin 5b129c10dd fix crash on opening options menu in storyboard editor 2018-07-08 10:39:16 +02:00
yugecin 65017364bd more more easier access 2018-07-08 09:52:03 +02:00
yugecin 0fc2008f2a more easier access to common variables 2018-07-08 00:47:35 +02:00
yugecin 4338513180 prevent possible(?) nullpointer by auto unboxing 2018-07-08 00:32:53 +02:00
yugecin d412a2e39e simplify access to display width and height and halves 2018-07-08 00:30:47 +02:00
yugecin 27bbc874da fix state getting rendered before pre rendering update after switch 2018-07-07 23:34:18 +02:00
yugecin 34dc75469c don't delay the downloadmenu message when no songs are available 2018-07-07 23:25:22 +02:00
yugecin 9af6abacb0 honor the 'color main menu logo' setting for main menu buttons 2018-07-07 23:20:19 +02:00
yugecin e950b04887 mainmenu: tweak button widths 2018-07-07 23:18:31 +02:00
yugecin 2506a0b989 fix menu buttons vertical offset 2018-07-07 23:14:39 +02:00
yugecin c2f354a397 smoothen logo piece edges 2018-07-07 23:09:30 +02:00
yugecin 5782dba34d Merge branch 'mainmenulogobuttons' 2018-07-07 19:46:34 +02:00
yugecin f71f4aae2f update main menu buttons images 2018-07-07 19:45:19 +02:00
yugecin e81de4839d tweak menu button hover transparency 2018-07-07 19:35:14 +02:00
yugecin 178baceda4 suppress button hover state when logo is hovered 2018-07-07 19:32:56 +02:00
yugecin 8fd49d7015 don't use MenuButton for the logo image 2018-07-07 19:27:47 +02:00
yugecin 3baefd2c0b remove old main menu buttons 2018-07-07 18:29:29 +02:00
yugecin 3463bfd9df add hover animations to buttons 2018-07-07 18:26:27 +02:00
yugecin 8ef1316b1f draw buttons above logo pulse ripples 2018-07-07 15:21:36 +02:00
yugecin f8d5106fea fix clipping buttons when logo scale changes 2018-07-07 15:19:26 +02:00
yugecin 84f2a5b99a base button resources and hide/show visibility 2018-07-07 15:09:52 +02:00
yugecin 5b7ee4e11c mainmenu: push down effect to logo when clicking 2018-07-07 10:29:28 +02:00
yugecin a2634ac093 mainmenu: close the logo after 6s mouse inactivity instead of 10s total 2018-07-07 10:09:04 +02:00
yugecin 9d6ac19868 close the logo instead of exiting when pressing esc during logo opening time 2018-07-07 10:04:33 +02:00
yugecin fd827fae29 fix changing animated values with different easing wrong current position 2018-07-07 10:02:14 +02:00
yugecin 24c412778b adjust main menu expand timing and path 2018-07-07 09:57:32 +02:00
yugecin be97bcbead mainmenu: make logo movement animation changing fluent 2018-07-07 01:43:33 +02:00
yugecin a9d8e10ff5 allow changing AnimatedValue properties without losing current progress
This also means changing easing function will not modify the progress
2018-07-07 01:42:37 +02:00
yugecin 6850b59b84 remove dead/unused keyrepeat code 2018-07-03 20:14:55 +02:00
yugecin c67b96d3dc mainmenu: use entrypoint's runtime to show running time (fixes #180) 2018-07-03 00:14:46 +02:00
yugecin 19937e2897 fix preventing a nullpointer, save a live 2018-07-02 00:04:06 +02:00
yugecin 5f2c9c5291 mainmenu: put the repo buttons in the bottom left corner
Also speed up their expansion animations
2018-07-01 23:40:23 +02:00
yugecin 455d8fe7c8 mainmenu: move text (beatmaps, running time, time) to top left
Also fix text color back to white
2018-07-01 23:20:22 +02:00
yugecin 413e937c13 prevent a nullpointer, save a life 2018-07-01 22:51:14 +02:00
yugecin 7c763f4f66 animate the now playing bar width changes 2018-07-01 22:49:42 +02:00
yugecin 45e1438d4e mainmenu music bar tweaks
Make it work like in osu:
  separate play/pause button
  stop button
  pressing play either resumes or start from beginning
  pressing pause pauses and unpauses
  pressing stop pauses and sets position at the start
Less aggressive expand scale
Icons from fontawesome, like osu
Seek bar: correct size, non-rounded corners and less white color
Positioning tweaks
2018-07-01 22:25:18 +02:00
yugecin 95ffae883b mainmenu: put now playing in top right with background and img 2018-07-01 21:23:24 +02:00
yugecin dacdb58f29 fix corruped images 2018-06-27 22:16:29 +02:00
yugecin 9b5be76e9a add opsu!dance logo creator to credits, fix md link 2018-06-27 21:50:21 +02:00