Matteo Signer
041014ab47
Fix float constants.
2016-12-03 23:53:48 +01:00
Matteo Signer
9991364077
Improve slider rendering.
...
Significantly improves looks and performance of sliders, especially on
shared memory graphics models like integegrated GPUs.
No longer renders using cones and a framebuffer, instead renders quads
and triangles for curves, using much less geometry.
2016-12-03 18:46:13 +01:00
Jeffrey Han
79bfa1c255
Properly fix #177 .
...
Previous fix (#186 ) threw NPE upon failing a song. Thanks to #155 .
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-10-13 17:51:51 -04: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
Jeffrey Han
21579daa26
Merge pull request #155 from mad-s/master
...
Add ingame scoreboard
2016-10-13 14:15:02 -04:00
Jeffrey Han
410e6d6765
Destroy SoundController resources before exit.
...
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-10-13 04:52:03 -04:00
Jeffrey Han
2d150c9939
Follow-up to dabfb82
.
...
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-10-13 04:20:03 -04:00
Jeffrey Han
dabfb827ee
Use Download class to download track previews into a Temp/ directory.
...
AudioSystem.getAudioInputStream(URL) was causing issues, so just download the files using the more robust Download class.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-10-13 04:12:47 -04:00
Jeffrey Han
89e8341686
Merge pull request #186 from yugecin/master
...
Fix #177
2016-10-13 02:26:24 -04:00
Jeffrey Han
f3918b7b60
New MengSkyServer API.
...
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-10-13 02:07:45 -04:00
Jeffrey Han
76c8efb0c2
Disable SSL validation for YaSOnlineServer.
...
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-10-13 01:17:59 -04:00
yugecin
db36ec390d
Fix #177
2016-06-06 11:43:00 +02:00
Matteo Signer
d7c980e0a4
Misc. bugfixes
2016-04-04 10:59:50 +02:00
Jeffrey Han
93c8ab96f1
Fixed wrong parameter order in StarStream.
...
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2016-04-03 01:04:23 -04:00
Jeffrey Han
1e58b3c47d
Fixed a null pointer exception. ( fixes #162 )
...
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-12-14 19:02:37 -05:00
Jeffrey Han
8c4e5ac264
Fixed an error when reloading beatmaps. ( #161 )
...
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-12-14 11:59:49 -05:00
MatteoS
4b76d2c3cf
Scoreboard improvements
2015-12-01 09:32:03 +01:00
Andrew Zhao
5b42f9a588
centered follow points
2015-11-29 18:58:00 -08:00
MatteoS
6f685cf5c7
Ingame scoreboard initial implementation
2015-11-29 09:56:10 +01:00
MatteoS
78511737ce
Draw reversing arrow in black if the slider is lightly colored
2015-11-21 15:30:25 +01:00
Jeffrey Han
ba240797d8
Replaced all linear fade-out transitions with eased transitions.
...
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-11-19 17:47:46 -05:00
Jeffrey Han
fb789c8fc5
Follow-up to #150 : delayed fade-out, minor style changes.
...
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-11-19 16:56:28 -05:00
MatteoS
3e285e05fc
Add falling game objects on fail
2015-11-18 22:29:18 +01:00
Jeffrey Han
d85de23cec
Fixed an error when importing beatmaps. ( fixes #149 )
...
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-11-17 17:46:00 -05:00
Jeffrey Han
f835a441c2
Follow-up to #148 : keypress and edge case fixes.
...
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-11-16 16:05:20 -05:00
MatteoS
d0069c20e5
Fix pitch changes (hopefully)
2015-11-16 21:21:28 +01:00
MatteoS
13e0bdb81e
Make music pitch and speed go down on fail (like in osu!)
2015-11-16 14:33:07 +01:00
Jeffrey Han
06c423a4dd
Properly detect osu! installations on Windows (using registry keys).
...
Thanks to @ModuleLFS for the idea.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-10-31 22:20:08 -04:00
Jeffrey Han
9c7dbce6fd
Updated BloodcatServer to use the new API. ( fixes #139 , 140)
...
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-09-30 00:28:21 -04:00
Jeffrey Han
4acd3cda02
Check mouse button before firing events for kinetic scrolling.
...
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-09-20 11:38:46 -04:00
Jeffrey Han
c69f34adc3
Don't show decimal points for CS/HP/AR/OD values unless needed.
...
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-09-19 15:30:41 -04:00
Jeffrey Han
5634a673bb
Fix hovering bug with < max nodes in kinetic scrolling.
...
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-09-19 13:04:53 -04:00
fd
b843beb3c0
KineticScrolling Minor fixes
...
for selection in large BeatmapSets
2015-09-19 12:11:07 -04:00
Jeffrey Han
c58c128ec8
Minor Javadoc additions/edits.
...
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-09-18 19:20:18 -04:00
Jeffrey Han
eb331360b9
Added scrolling animation to "random" song selection.
...
Involves temporarily changing the kinetic scrolling speed, so it's a little messy...
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-09-18 18:49:01 -04:00
Jeffrey Han
14496050ea
Minor style changes from #134 .
...
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-09-18 16:02:19 -04:00
Jeffrey Han
daf3a2aad3
Merge pull request #134 from Bigpet/snakeslider
...
Snaking sliders implementation.
2015-09-18 15:27:54 -04:00
Peter Tissen
131138ea8c
Snaking sliders initial implementation.
...
Draws curves in a range from 0 to x (where x is a value between 0 and 1) while blending them in (if enabled in the options)
Cache a unit-cone once and re-use that with scaling and translation instead of generating it each time again.
This is more for readability than performance (since presumably feeding it mostly constants like before would be faster)
Only draws the cones in the curve once if possible
(only possible if consective calls to draw with the intervals x_1 before x_2 are made and [0, x_1] [0, x_2] with x_1 < x_2 holds true)
minor refactoring and cleanup
Omg my code is such a mess. I feel like I've committed a crime against humanity by just randomly putting that
random vbo id into the class called "Rendertarget". But there's really no good place for it now (that has a way to clean it up).
But if "Rendertarget" will ever be used by anything else but the sliders I'm gonna pull that out.
added blending in for return arrows and ticks
2015-09-18 20:21:37 +02:00
Jeffrey Han
286388270e
Fixed song scores getting clipped horizontally. (also from #131 )
...
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-09-16 20:12:47 -04:00
Jeffrey Han
0278556947
Fixed a minor kinetic scrolling bug in the song menu.
...
Added a missing "songScrolling.released()" call upon entering the song menu as the pressed state wasn't being cleared (causing an issue with the scroll wheel upon re-entering the state).
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-09-16 15:42:00 -04:00
Jeffrey Han
e0da6a2444
Minor formatting cleanup for #131 .
...
Also made some members private.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-09-15 23:20:53 -04:00
fd
d69e5fa5e7
Kinetic Scrolling Fixes
2015-09-15 21:39:35 -04:00
fd
133241f630
Merge remote-tracking branch 'org/master' into KinecticScrolling
...
Conflicts:
src/itdelatrisu/opsu/ScoreData.java
src/itdelatrisu/opsu/downloads/DownloadNode.java
src/itdelatrisu/opsu/states/DownloadsMenu.java
src/itdelatrisu/opsu/states/SongMenu.java
2015-09-14 20:09:52 -04:00
fd
0562c66531
Kinectic Scrolling
...
for SongNodes, Scores, Download Results, Download Info
2015-09-14 19:19:49 -04:00
Jeffrey Han
1fe45f7bb4
Merged DISABLE_CURSOR option from fluddokt/opsu.
2015-09-11 11:43:19 -04:00
Jeffrey Han
6506967c12
Added some missing @param and @throws Javadoc comments.
...
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-09-09 23:51:16 -04:00
Jeffrey Han
831c297ece
Made DropdownMenu extend Slick's AbstractComponent class.
...
Clicks and animation updates are now handled internally within the DropdownMenu class, which should simplify usage a bit. Override menuClicked() and itemSelected() instead for event handling.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-09-09 18:57:01 -04:00
Jeffrey Han
7f1193bb77
Slight changes to DropdownMenu behavior.
...
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-09-09 13:25:48 -04:00
Jeffrey Han
643a7c4589
Added a dropdown menu class, similar to the one in osu!.
...
Using 'fa-chevron-down' and 'fa-chevron-right' icons from Font Awesome v4.4.0 (https://github.com/FortAwesome/Font-Awesome ).
The dropdown menu is currently used only in the downloads menu to select servers.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-09-08 23:46:30 -04:00
Jeffrey Han
6c369f6329
Minor code cleaning.
...
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
2015-09-08 12:26:28 -04:00