Commit Graph

97 Commits

Author SHA1 Message Date
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
9b5dc4c121 remove delegating stuff from Input 2017-05-27 02:10:32 +02:00
yugecin
42bc11ef75 move bubble notification colors to Colors file 2017-05-26 21:44:23 +02:00
yugecin
ec53f531c8 got rid of dependency injection, it doesn't add anything at this point and only slows down things and makes a mess. Also some refactoring. 2017-05-21 11:12:55 +02:00
yugecin
be23541ac3 refactor options 2017-03-26 22:57:10 +02:00
yugecin
9c19b1bddd ensure selected list item is always within boundaries 2017-03-26 20:00:29 +02:00
yugecin
62b5d574da default back button 2017-02-02 01:06:56 +01:00
yugecin
e7e3672491 use dropdown menus 2017-01-30 00:53:28 +01:00
yugecin
c00b2b877a apply upstream fixes 2017-01-29 22:55:11 +01:00
yugecin
49c6542fb4 javadocz 2017-01-29 16:26:45 +01:00
yugecin
82bbb4299d allow slight overscrolling in optionsmenu 2017-01-29 16:23:52 +01:00
yugecin
ac398bf2ad kinetic scrolling in optionmenu 2017-01-29 15:33:01 +01:00
yugecin
02ef422003 remove old bar notification code 2017-01-21 15:49:54 +01:00
yugecin
978a41116c enable cursor 2017-01-21 13:11:34 +01:00
yugecin
f730935622 use the new errorhandler & bubble notifs 2017-01-21 01:16:27 +01:00
yugecin
81b71d5703 convert download state 2017-01-18 22:36:09 +01:00
yugecin
54917091de fix tooltip causing crash 2017-01-18 17:32:40 +01:00
yugecin
8b226f3afc working splash state 2017-01-17 23:18:12 +01:00
yugecin
18d579eb62 smallbold font and newlines when wrapping text (itdelatrisu/opsu@21aa72b) 2017-01-17 13:37:47 +01:00
yugecin
bcb1ca1296 attempts to make the ease middle animation decent 2016-12-25 21:11:12 +01:00
yugecin
2b5ee7d8b8 middle ease animation for sbv2 2016-12-25 16:22:09 +01:00
yugecin
a6540044b6 Merge remote-tracking branch 'remotes/original/master' into upstream
# Conflicts:
#	src/itdelatrisu/opsu/Container.java
#	src/itdelatrisu/opsu/GameData.java
#	src/itdelatrisu/opsu/Options.java
#	src/itdelatrisu/opsu/audio/MusicController.java
#	src/itdelatrisu/opsu/objects/Circle.java
#	src/itdelatrisu/opsu/objects/Slider.java
#	src/itdelatrisu/opsu/render/CurveRenderState.java
#	src/itdelatrisu/opsu/states/Game.java
#	src/itdelatrisu/opsu/states/MainMenu.java
#	src/itdelatrisu/opsu/states/SongMenu.java
#	src/itdelatrisu/opsu/ui/Colors.java
#	src/itdelatrisu/opsu/ui/MenuButton.java
2016-12-24 14:35:20 +01:00
Jeffrey Han
9f2aa7c1fb Star fountain motions.
Star fountains now "randomly" spray upwards, inwards, or outwards.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-12-23 16:53:12 -05:00
Jeffrey Han
5704b8aa10 Added star fountains to main menu.
- Added MusicController methods to get measure progress (similar to beat progress).
- Workaround for inaccurate track positions after looping by not looping.
- Make sure star duration is positive.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-12-23 04:03:32 -05:00
Jeffrey Han
106891a259 More star stream tweaks.
- Pass in the max stars in the stream, excluding bursts. (Use 0 for burst-only star streams.)
- Added duration spread setters. (Scoreboard star stream burst now happens faster.)

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-12-23 01:29:49 -05:00
Jeffrey Han
8a7b67b578 Star stream updates. (mad-s/opsu@701ef796)
- Make StarStream directional.
- Burst stars when score rank increases.
2016-12-23 00:40:36 -05:00
Jeffrey Han
25efbd3023 Fixed MenuButton expand directions. (blame: 474b407, #214)
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-12-22 19:16:34 -05:00
Jeffrey Han
e3276a3365 Color unplayed beatmaps pink in the menu.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-12-22 17:37:29 -05:00
Jeffrey Han
ed06a8b0ac Added "favorites" and "last played" beatmap groups, and more sorts.
- New sorts: by date added, and most played.
- Sorts are moved to a dropdown menu.
- Tabs are now groupings (all songs, last played, favorites).
- Add/remove "favorite" beatmaps in the right-click menu.
- Beatmap database is now updateable like score database (no longer drops/recreates on every update).
- Various bug fixes.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-12-22 05:26:09 -05:00
Jeffrey Han
8b7b7e0354 Fixed error handling issues in the game container. (#218)
This makes error catching generally more robust. Catch all exceptions in start() loop, catch close_sub() exceptions separately, and suppress linked errors (so the root exception should actually get captured).

Also fixed null pointers in methods called by close_sub().

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-12-20 12:08:41 -05:00
Jeffrey Han
90a2f1d2f2 Follow-up to #214: cleanup.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-12-19 21:02:01 -05:00
yugecin
f7e42c271f make the main menu logo pulse 2016-12-18 23:41:36 +01:00
yugecin
474b40750e allow custom scale overrides on menubuttons 2016-12-18 23:29:49 +01:00
yugecin
c974374d67 Add option to color main menu logo based on the cursor color (close #82) 2016-12-18 21:03:19 +01:00
yugecin
64a3a85eb0 ghost logo adjustments 2016-12-18 20:35:08 +01:00
yugecin
4c6c0bd24c kickstart cursor differently so it doesnt draw a line 2016-12-12 00:24:03 +01:00
yugecin
dce918208b do cursortrail kickoff offscreen 2016-12-11 19:19:54 +01:00
yugecin
366eda0310 fix opsu not being able to start 2016-12-11 14:15:15 +01:00
yugecin
f7ab8b2f01 kickstart the cursor trail for every state 2016-12-11 14:05:15 +01:00
yugecin
814922e58a Merge branch 'options-redesign' 2016-12-11 13:34:28 +01:00
yugecin
f0c51084d1 clean up options 2016-12-11 13:25:04 +01:00
yugecin
3c8b769248 make comboboxes work 2016-12-11 11:07:28 +01:00
yugecin
edd781b0d4 one big optionmenu 2016-12-11 01:17:30 +01:00
yugecin
8c172dc15f draw the logo in the bottom right corner of the songmenu 2016-12-10 20:36:34 +01:00
yugecin
a40c8b5d31 visit every object when multiple objects end during the same update (close #72) 2016-12-10 16:20:50 +01:00
yugecin
e878f0fb0d Merge branch 'master' of https://github.com/itdelatrisu/opsu into 'upstream'
# Conflicts:
#	README.md
#	src/itdelatrisu/opsu/Opsu.java
#	src/itdelatrisu/opsu/Utils.java
#	src/itdelatrisu/opsu/render/CurveRenderState.java
#	src/itdelatrisu/opsu/states/Game.java
2016-12-10 01:19:31 +01:00
yugecin
63144426d1 new cursor override: use next object's colors (close #43) 2016-11-20 22:10:17 +01:00
yugecin
2b585e376f get the scale from the menubutton to scale the piece 2016-11-13 02:01:21 +01:00
yugecin
86710f53b5 move logo to the beat 2016-11-05 21:49:20 +01:00
Jeffrey Han
3b847d088d Follow-up to #155.
Some code cleanup and tweaks to the scoreboard display.
2016-10-13 14:41:58 -04:00