Commit Graph

1264 Commits

Author SHA1 Message Date
yugecin
90f764c5bb uppercase screenshot formats for optionsmenu 2017-01-29 00:20:56 +01:00
yugecin
d8422cb1fb fix not being able to change volume while ingame 2017-01-28 22:32:49 +01:00
yugecin
1fab72d5a4 fix pressing back button on options overlay responding to mousepress instead of mouserelease 2017-01-27 20:56:44 +01:00
yugecin
194e41189e enable shrinking & merging sliders options by default 2017-01-27 10:54:35 +01:00
yugecin
ae96571f58 bubble notif when beatmap cannot be parsed 2017-01-22 15:02:24 +01:00
yugecin
0a027fb8b8 improve bar notif text position 2017-01-22 12:21:54 +01:00
yugecin
ba5ad92cc0 remove deleted options from the optionmenu 2017-01-22 12:11:30 +01:00
yugecin
5752aec58c remove the watermark 2017-01-22 00:15:54 +01:00
yugecin
6b6947f680 remove extra import (close #123) 2017-01-21 23:52:48 +01:00
yugecin
36aaccda29 replace all calls to old bar notif with new method 2017-01-21 23:52:19 +01:00
yugecin
02ef422003 remove old bar notification code 2017-01-21 15:49:54 +01:00
yugecin
7f1abb085f rename ResolutionChanged event to ResolutionOrSkinChanged 2017-01-21 15:30:07 +01:00
yugecin
a489ee24d6 shortcut to reload skin 2017-01-21 15:18:04 +01:00
yugecin
6c461fa645 update resolution & skin option descriptions 2017-01-21 14:56:34 +01:00
yugecin
a69d334dfe fix old skin sounds being used when changing skins 2017-01-21 14:41:51 +01:00
yugecin
40268c3232 hide cursor when viewing replay 2017-01-21 14:36:59 +01:00
yugecin
f233fbf2e6 fix not being able to watch replays 2017-01-21 14:35:33 +01:00
yugecin
7ec4d7db46 only hide cursor ingame when auto(pilot) is active 2017-01-21 14:33:47 +01:00
yugecin
f523328cb3 change skin on the fly 2017-01-21 14:31:03 +01:00
yugecin
7261793999 allow spaces in skin colors 2017-01-21 14:27:03 +01:00
yugecin
83df73fc04 on the fly resolution changing 2017-01-21 14:23:34 +01:00
yugecin
030f204e54 reset cursor location on leaving game 2017-01-21 13:30:10 +01:00
yugecin
b2f85edb13 fix nullpointer for mover storyboard 2017-01-21 13:29:10 +01:00
yugecin
4dc8b34557 fix not being able to enter O in the search bar in songmenu 2017-01-21 13:17:22 +01:00
yugecin
978a41116c enable cursor 2017-01-21 13:11:34 +01:00
yugecin
95a466f92f removing now unused classes 2017-01-21 01:17:47 +01:00
yugecin
f730935622 use the new errorhandler & bubble notifs 2017-01-21 01:16:27 +01:00
yugecin
aceebb95ca re-add the runupdate call 2017-01-21 00:39:56 +01:00
yugecin
04de1d024f fix not being able to shutdown when download is in progress 2017-01-20 00:25:32 +01:00
yugecin
4bf469d40b some more shutdown calls 2017-01-20 00:18:25 +01:00
yugecin
63660dfe94 added exit confirmations when download is going on 2017-01-20 00:15:50 +01:00
yugecin
84fb44475f fix array index oob exception when changing dropdown option (fixes #118) 2017-01-19 19:55:25 +01:00
yugecin
0af6bc8c09 return to songmenu when closing game ranking screen 2017-01-19 19:52:13 +01:00
yugecin
2d0e2143d1 convert gamepausemenu 2017-01-19 19:43:47 +01:00
yugecin
a3df6e12d6 convert game 2017-01-19 19:23:31 +01:00
yugecin
4b2f29df98 convert gameranking 2017-01-19 16:16:30 +01:00
yugecin
e7eec14341 add options menu as overlay 2017-01-19 16:03:53 +01:00
yugecin
04449abe62 readd search field and sort menu in songmenu 2017-01-18 23:08:23 +01:00
yugecin
e9046ed65e remove the reset method from mainmenu 2017-01-18 22:50:18 +01:00
yugecin
06a5deb3a1 process common hotkeys in base state 2017-01-18 22:46:45 +01:00
yugecin
81b71d5703 convert download state 2017-01-18 22:36:09 +01:00
yugecin
36cfe3813a taking over components 2017-01-18 22:35:57 +01:00
yugecin
6f7e4242da correct red color for bubble notifs 2017-01-18 21:55:06 +01:00
yugecin
f214841359 mouseDragged event 2017-01-18 21:48:27 +01:00
yugecin
c4560ae9f1 stop loading stuff when close is requested in splash state 2017-01-18 19:44:54 +01:00
yugecin
8d05a8893b save options and delete temp dir on close 2017-01-18 19:41:27 +01:00
yugecin
0eac32505b destroy even more images when closing 2017-01-18 19:40:31 +01:00
yugecin
156026bd9b destroy all images when closing 2017-01-18 19:33:58 +01:00
yugecin
a02613bb76 pause music on exception 2017-01-18 19:22:14 +01:00
yugecin
c03897a47d convert buttonmenu 2017-01-18 19:06:45 +01:00
yugecin
4416416813 fix songmenu delta 2017-01-18 18:20:47 +01:00
yugecin
db6e4f3b55 fix music not playing (whoops) 2017-01-18 17:39:46 +01:00
yugecin
54917091de fix tooltip causing crash 2017-01-18 17:32:40 +01:00
yugecin
7004c9ef4d convert songmenu 2017-01-18 17:31:29 +01:00
yugecin
4541b507f2 remove placeholder println 2017-01-18 16:56:12 +01:00
yugecin
02863de1cf add code to exit from code 2017-01-18 16:55:30 +01:00
yugecin
b1ccfe3019 fix skipping close functions on startup exception 2017-01-18 16:43:35 +01:00
yugecin
605dcec605 bubble notif when fullscreen is not supported + changed bubble colors 2017-01-18 11:59:30 +01:00
yugecin
57b29d7e91 getting rid of the temp displaymode 2017-01-18 10:27:40 +01:00
yugecin
4e5f69b9a0 converted mainmenu 2017-01-17 23:44:12 +01:00
yugecin
8b226f3afc working splash state 2017-01-17 23:18:12 +01:00
yugecin
5e09a1d24a attempt to correct the fps counter target values 2017-01-17 22:26:19 +01:00
yugecin
b270015c14 javadoc for non-obvious things 2017-01-17 22:02:40 +01:00
yugecin
14c8fba9cb colorful fps counters 2017-01-17 21:06:59 +01:00
yugecin
580b4142f6 don't pass deltas as param 2017-01-17 18:45:17 +01:00
yugecin
f0883ff1af draw the bar notification above the bubble notifications 2017-01-17 17:13:25 +01:00
yugecin
97e71e158d animation for the bar notifications 2017-01-17 17:08:05 +01:00
yugecin
3d5dacf70f add forgotten recalculations after changing resolution 2017-01-17 16:22:06 +01:00
yugecin
281d888905 fix bubble notif hitbox 2017-01-17 16:15:09 +01:00
yugecin
c6464ffb25 bubble notifications (close #111) 2017-01-17 16:11:59 +01:00
yugecin
18d579eb62 smallbold font and newlines when wrapping text (itdelatrisu/opsu@21aa72b) 2017-01-17 13:37:47 +01:00
yugecin
9da723c50b simple bar notifications 2017-01-17 11:25:36 +01:00
yugecin
3ba50ebe60 move demux into displaycontainer 2017-01-16 22:36:50 +01:00
yugecin
09dfc68f16 Moving even more stuff around 2017-01-16 21:53:48 +01:00
yugecin
2ed0254c34 removed guice dependency which was a spaceshuttle used to cross the road 2017-01-16 21:28:40 +01:00
yugecin
9d0ddc5fd0 created own, lightweight injector 2017-01-16 21:19:31 +01:00
yugecin
07d15eeb56 draw fps 2017-01-15 23:38:20 +01:00
yugecin
7c79deac65 Initialize fonts in GL setup phase 2017-01-15 23:36:21 +01:00
yugecin
7b1d052de7 use explicit init with state in demux and remove the mocked state 2017-01-15 22:54:42 +01:00
yugecin
54b1b3bb1c use EventBus instead of ResolutionChangeListener 2017-01-15 22:46:09 +01:00
yugecin
ec39392689 eventbus 2017-01-15 22:37:59 +01:00
yugecin
88676f2c36 also catch startup exceptions 2017-01-15 00:21:52 +01:00
yugecin
4f10577321 make the error handler a single instance and always dump the displaycontainer 2017-01-15 00:20:20 +01:00
yugecin
24c6c7da77 make more stuff ErrorDumpable 2017-01-15 00:11:52 +01:00
yugecin
c467e9b34e let the base state listen to the resolution change events 2017-01-14 23:49:10 +01:00
yugecin
a1e5c3d30f getting rid of delegation methods 2017-01-13 16:28:36 +01:00
yugecin
e4d4e93f0a added todo 2017-01-12 12:45:14 +01:00
yugecin
b56007347a more startup stuff 2017-01-12 12:45:08 +01:00
yugecin
7fee3aa005 remove exit code from errorhandler 2017-01-12 11:31:58 +01:00
yugecin
a647ea206d improve errorhandler result text 2017-01-11 23:20:03 +01:00
yugecin
cb8eab0023 truncate error body when posting github issue 2017-01-11 23:13:37 +01:00
yugecin
66ee2a0979 handle close request per state 2017-01-11 23:04:50 +01:00
yugecin
4ba32c44f2 typos 2017-01-11 23:02:17 +01:00
yugecin
e9120652a1 improve transition base 2017-01-11 23:02:12 +01:00
yugecin
cb92d45ae8 rename log method to sout 2017-01-11 20:46:10 +01:00
yugecin
68ac7f3d10 ErrorHandler 2017-01-11 20:41:13 +01:00
yugecin
90684c084a fix incorrect calling of update method 2017-01-10 14:11:15 +01:00
yugecin
1248d0a29f disable controllers 2017-01-10 13:16:57 +01:00
yugecin
7162f8bc7d handle input at higher rate than render rate 2017-01-10 13:02:40 +01:00
yugecin
6857393315 input events 2017-01-10 12:43:05 +01:00
yugecin
e05b675285 moving stuff around again 2017-01-10 12:07:24 +01:00
yugecin
0ceff03bdd log start time 2017-01-09 23:10:51 +01:00
yugecin
9c0eaca4ee moving stuff around 2017-01-09 22:45:52 +01:00
yugecin
e8cac712fc getting rid of the slick (App)GameContainer 2017-01-09 22:42:59 +01:00
yugecin
d5796e5a1e cleanup the prestartupinitializer 2017-01-08 11:23:23 +01:00
yugecin
31a25b297f more oop shit for state transitions 2017-01-08 11:23:06 +01:00
yugecin
6d8f48a03f switching states using fade transitions 2017-01-07 23:14:10 +01:00
yugecin
ebda622c2c guicy new way of running the app 2017-01-07 14:02:33 +01:00
yugecin
3b49792554 ExGon mover 2017-01-01 23:47:11 +01:00
yugecin
bf4bda949c fix hitbox for storyboard mover delete square 2016-12-26 23:37:13 +01:00
yugecin
b562a50254 getting rid of code repetition 2016-12-26 23:36:25 +01:00
yugecin
af50fc01ad hide merged mirror pool option for now 2016-12-25 21:49:08 +01:00
yugecin
ba10b43f7e fix slider circle animation color on mirrored slider 2016-12-25 21:48:44 +01:00
yugecin
bcb1ca1296 attempts to make the ease middle animation decent 2016-12-25 21:11:12 +01:00
yugecin
1c2fac02be set bezier control points in the middle 2016-12-25 21:10:58 +01:00
yugecin
3b91247d12 don't recreate knorkesliders when loading checkpoint (part of #104) 2016-12-25 18:29:57 +01:00
yugecin
2821a259bd remove a comment 2016-12-25 18:13:32 +01:00
yugecin
b37e03b3be make mirrored curves work 2016-12-25 18:05:00 +01:00
yugecin
9ec2d1a5a8 attempts to merge mirrored curves 2016-12-25 17:30:09 +01:00
yugecin
0e30a1e0e4 option to define merging slider mirror pool 2016-12-25 16:57:09 +01:00
yugecin
0f0695c34a less text padding in simplebutton, rename sbv2 ease middle button 2016-12-25 16:30:30 +01:00
yugecin
2b5ee7d8b8 middle ease animation for sbv2 2016-12-25 16:22:09 +01:00
yugecin
66b174523b fix msb (2/2) 2016-12-25 15:50:43 +01:00
yugecin
ae84696aa6 fix msb (1/2) 2016-12-25 15:50:30 +01:00
yugecin
2c2ba317b9 prevent index out of bounds ex when loading checkpoint at time before first object 2016-12-25 15:47:25 +01:00
yugecin
ad6ba664f9 add animations to storyboardmovers 2016-12-25 15:46:11 +01:00
yugecin
ce1dd5eba1 CubicStoryboardMover 2016-12-25 14:23:10 +01:00
yugecin
7aafd590f6 QuadraticStoryboardMover 2016-12-25 14:19:22 +01:00
yugecin
c219f078fb use renderutils 2016-12-25 14:19:08 +01:00
yugecin
a392875940 renderutils 2016-12-25 14:18:50 +01:00
yugecin
4d528089d2 add multipoint storyboard mover 2016-12-25 13:58:31 +01:00
yugecin
81431067d8 ability to remove movers 2016-12-25 13:19:54 +01:00
yugecin
ddaa8f5bcc add forgotten file (intellij plz, DMITRY PLZ) 2016-12-25 12:42:09 +01:00
yugecin
414e20ec26 recalculate length and times every x ms when moving 2016-12-25 12:41:40 +01:00
yugecin
bf2e71e39b fix wrong length calculation when adding first mover 2016-12-25 12:35:33 +01:00
yugecin
1803d714a5 basic implementation of sbv2 2016-12-25 12:16:32 +01:00
yugecin
fc32040b2f fix hitresult reversearrow color 2016-12-24 14:49:24 +01:00
yugecin
653d27d7b2 remove the end game timer 2016-12-24 14:43:53 +01:00
yugecin
20194d58b3 post merge stuff 2016-12-24 14:35:36 +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
aa1babed3b Delayed fade-out of UI after finishing a game.
All elements quickly fade out, and wait 2.5s before switching screens (instead of immediately).

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-12-24 01:55:43 -05: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
2d7a4a3eab Fixed bug with watching replays on "Auto" counting as retries.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-12-23 00:50:45 -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
81c8a61bb8 Better-defined root directory.
- If running from a JAR, the root directory will be the same directory as the JAR (not where it was launched).
- Otherwise, use the current working directory.
- XDG unaffected.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-12-22 19:54:05 -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
1436f2376e New theme song.
"Rainbows" by Kevin MacLeod.

Some config loading tweaks to make updating the theme song more seamless.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-12-22 18:36:31 -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