Commit Graph

1049 Commits

Author SHA1 Message Date
yugecin
54ce595c7f
fix possible crashes while parsing hitsounds (see itdelatrisu/opsu#422) 2018-10-02 23:21:02 +02:00
yugecin
d9646a5feb
fix sliders being wrong size after changing resolution (close #132) 2018-10-02 22:38:38 +02:00
yugecin
677de45366
remove XDG stuff and some dependency 2018-10-02 21:08:06 +02:00
yugecin
ccf17a849e
remove native filenames from manifest, add it in code instead
what was I thinking
2018-10-02 20:33:06 +02:00
yugecin
4046cfaca4 remove unused variable 2018-08-27 22:10:07 +02:00
yugecin
afef2e457c mainmenu: don't clear song history when revalidating (close #183) 2018-08-27 21:41:08 +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
8d109df629
use flipped main menu background as playfield image if no image present 2018-07-20 20:12:49 +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
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
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
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
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
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
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