Commit Graph
100 Commits
Author SHA1 Message Date
yugecin 787ad8c522 option overlay should not ignore mouse release event when mouse down
event was in bounds
2018-08-27 21:53:18 +02:00
yugecin afef2e457c mainmenu: don't clear song history when revalidating (close #183) 2018-08-27 21:41:08 +02:00
yugecin b5df3e0424 fix 'mvn compile' copying natives to folder with wrong casing 2018-08-02 21:55:55 +02:00
yugecin 54afad6647 remove unused options menu background 2018-07-22 22:14:55 +02:00
yugecin ad71b5dd2e songmenu: remove old button that opens options menu (ctrl+o does this) 2018-07-22 22:13:29 +02:00
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
yugecin 6541dc2dba replace icons with scaled opsu!dance logo 2018-06-27 21:43:37 +02:00
yugecin 1b7d17aa15 remove opsu! assets that are replaced by opsu!d assets 2018-06-27 21:28:52 +02:00
yugecin c2088b6f18 recenter the logo pulse image 2018-06-27 21:25:09 +02:00
yugecin 5c61a3d7ac Merge remote-tracking branch 'oplexz/patch-1' 2018-06-27 21:13:55 +02:00
yugecin 5318dadf09 smoothen the logo spinning piece edges 2018-06-27 21:11:50 +02:00
yugecin 7ba5305534 add pulse effect to main menu logo 2018-06-26 23:46:42 +02:00
yugecin 1dd2204cf2 fix logo piece jiggle caused by the shrink anim 2018-06-26 23:12:15 +02:00
yugecin fcf5fc5eaf also animate logo shrink when a song is playing 2018-06-26 22:44:50 +02:00
yugecin 8d7b7ef567 main menu logo tweaks
Minor changes to the logo scale
Pulsing effect:
  let the ghost logo expand
  also animate the initial shrink
2018-06-26 21:49:41 +02:00
yugecin 11fd501a1e main menu layout changes
Slighty changed black bars height
Put now playing text near the controls
Changed amount of beatmaps available sentence
2018-06-25 23:28:30 +02:00
yugecin c356d75def honor the rainbow main menu logo setting in the splash screen 2018-06-25 23:26:06 +02:00
yugecin 8074b36f91 change time format to 24h 2018-06-25 23:04:51 +02:00
yugecin e972480c55 slightly faster state switching 2018-06-25 22:59:49 +02:00
yugecin d944ff8620 allow changing state while the current transition didn't finish completely yet 2018-06-25 22:58:34 +02:00
yugecin 6dd343da83 refactor state transition code 2018-06-25 22:58:07 +02:00
yugecin a9e66df07a add epilepsy warning image source file 2018-06-25 22:21:04 +02:00
yugecin 0aa957d7fa remove unused dependency injection code 2018-06-25 22:19:53 +02:00
yugecin ab19b53d63 remove unnecessary events pattern and replace it with something more simple 2018-06-25 22:19:04 +02:00
yugecin a2edb8a1c1 readd loading bar 2017-12-21 22:49:31 +01:00
yugecin 9acef42502 change back to previous theme song
I like it more and takes 5MB less
2017-12-16 13:44:23 +01:00
yugecin 71e9b7e2e9 switch to java1.8 again 2017-12-16 13:43:43 +01:00
yugecin ee162cc1bf prompt the right key instead of the left one when changing the right key 2017-12-15 22:42:00 +01:00
yugecin 3fb5df330a removed unnecessary pause check 2017-06-22 12:30:29 +02:00
yugecin 9d0a84b7ae fix expanding cursor while in game 2017-06-22 12:20:25 +02:00
yugecin c15168a2c6 option menu: fix section being filtered when they shouldn't 2017-06-22 12:10:02 +02:00
yugecin 7a51828102 option menu: don't subtract nav bar size from width and fix width on 4:3 aspect ratio, don't overscroll when clicking on a category 2017-05-29 02:18:25 +02:00
yugecin 02632deff0 fix bubble notifications having a width of 0 2017-05-28 23:21:10 +02:00
yugecin 7d9ea309bf add icons to option menu nav 2017-05-28 22:59:48 +02:00
yugecin ae1468a6ad flush after rendering 2017-05-28 21:07:06 +02:00
yugecin 48c8694020 option menu: reset currently open dropdownmenu when changing search filter 2017-05-28 19:45:04 +02:00
yugecin 5dc7299ec0 option menu: partial fix indicator alpha when closing the menu 2017-05-28 19:39:09 +02:00
yugecin 70737e4472 option menu: when search filter doesn't have results, ignore it and show an effect on the filter text 2017-05-28 19:30:41 +02:00
yugecin 6d3336b7ea option menu: fix dropdowns being clicked when clicking overlayed navigation button 2017-05-28 18:44:16 +02:00
yugecin 7f37a51c48 option menu: attempt to fix funky navigation bar when aggressively hovering 2017-05-28 18:00:16 +02:00
yugecin d11656daf6 option menu: exit updateHoverOption() early when mouse is in navigation bar 2017-05-28 17:30:43 +02:00
yugecin a031af5d05 option menu: some refactoring 2017-05-28 16:58:15 +02:00
yugecin 4bf820268e option menu: draw non-active section header slightly transparent 2017-05-28 16:30:32 +02:00
yugecin 1a9e6ab0da check if option is listoption before checking if it's the active dropdown option 2017-05-28 16:18:20 +02:00
yugecin 65f95696eb fix option menu hover update stuff when scrolling is happening 2017-05-28 16:15:11 +02:00
yugecin 6413392f1e add navigation to optionmenu 2017-05-28 16:11:05 +02:00
yugecin 2deef7c3a9 fix splash state not getting inputs 2017-05-28 11:46:31 +02:00
yugecin 419ffd3d26 remove unused SHOW_REVERSEARROW_ANIMATIONS options 2017-05-27 02:12:23 +02:00
yugecin ae6ce0d60e cleanup options 2017-05-27 02:11:57 +02:00
yugecin 9b5dc4c121 remove delegating stuff from Input 2017-05-27 02:10:32 +02:00
yugecin 08f5bfc27f refactor errorhandler 2017-05-27 01:46:50 +02:00