Commit Graph

896 Commits

Author SHA1 Message Date
ed837d3115 Use framework extension method for FromHex 2020-03-11 10:18:41 +09:00
742698acab Add notelock implementation 2020-03-10 15:30:24 +09:00
77fd748035 Fix incorrect circle piece hitbox
Hitboxes of circle pieces in osu! have regressed with commit 8592335.
The reason for the regression was that hit detection was moved from
DrawableHitCircle itself to a newly-introduced private HitArea class
(now named HitReceptor).

As HitArea inherited from Drawable, it would return IsHovered == true
over its entire bounding box. This meant that the hit area could wrongly
pick up actions that are not within circle radius and make them into
hits.

To resolve, make HitReceptor a CompositeDrawable and set its corner
radius to match the circle piece. This fixes the invalid hitbox, as
IsHovered takes radius into account.
2020-03-06 21:21:20 +01:00
cf88e3ff19 Merge branch 'master' into spun-out 2020-03-04 17:38:35 +08:00
5e218697c5 Use stacked positions 2020-03-04 09:46:53 +09:00
900882610d Merge branch 'master' into expand-number-piece-on-old-skins 2020-03-02 16:40:59 +09:00
e6cfafffe9 Fix incorrect LifetimeStart and add todo regarding Expire usage 2020-02-24 12:24:15 +09:00
090d9d9350 Make FollowPointRenderer a LifetimeManagementContainer 2020-02-23 04:37:04 +09:00
cb9a7ee0bb Give FollowPointConnections a valid lifetime 2020-02-23 04:36:50 +09:00
00b4fc1e1f Add fill to default skin slider ball when tracking 2020-02-21 17:38:23 +09:00
9aa5db88d4 move auto fade in to mod 2020-02-10 14:14:04 +08:00
68873830aa make spm counter show up automatically with spun out 2020-02-09 13:49:08 +08:00
d314b38699 rename trackable to enabled and cleanup code 2020-02-09 13:46:06 +08:00
8d480c794a Merge branch 'master' into spun-out 2020-02-08 13:54:39 +08:00
efa95ecebb fix spinner unspinnable 2020-02-08 10:52:59 +08:00
4d9232a895 Move autospin logic to mods 2020-02-08 09:51:32 +08:00
25a930c438 Implement OsuModSpunOut 2020-02-08 08:59:35 +08:00
9f79713fb3 move rotation logic to its own method 2020-02-05 14:23:59 +08:00
d773eb2c22 refactor rotation logic to use explicit delta value 2020-02-05 14:05:12 +08:00
84fcf45aae Make slider tracking match what is on screen 2020-02-03 11:55:14 +09:00
cf4788d7ef Merge branch 'master' into fix-follow-circle 2020-02-03 09:58:12 +09:00
35032e2ddd Make variables private 2020-02-02 14:34:06 +01:00
f7abfdb40e Remove unnecessary parameter 2020-02-02 14:33:48 +01:00
e2589b2dcb Rename drawable 2020-02-02 11:24:28 +01:00
434c0d92e4 Use Bindable{Float,Double}s everywhere
To avoid further floating-point comparison bugs, remove all usages of
Bindable<{float,double}>, replacing them with their
Bindable<Float,Double> counterparts.
2020-02-01 22:50:29 +01:00
9f4261111b Match osu-stable behaviour and size 2020-02-01 16:55:30 +01:00
7b2f58eb30 Apply OnRelease method signature refactorings 2020-01-22 13:22:34 +09:00
92daf9b8f1 Cleanup 2020-01-14 18:14:31 +09:00
fe09e34f1b Remove limiting clause 2020-01-14 01:48:20 +09:00
ab4f31639d Remove weird time clause 2020-01-14 01:47:44 +09:00
210d06b75e Remove default value 2020-01-14 01:45:32 +09:00
c5085aea24 Use Child, not InternalChild 2020-01-14 01:45:10 +09:00
619fe29871 Make reverse arrow animate faster via divisor specification
Adds MinimumBeatLength to BeatSyncedContainer to make sure things don't get out of hand.
2020-01-14 01:39:45 +09:00
45cf65a28a Merge remote-tracking branch 'upstream/master' into reverse-arrows 2020-01-13 14:15:37 +01:00
87645f6a41 Remove excess namespace specification 2020-01-10 01:13:42 +08:00
3be2fc27f3 Merge branch 'master' into Remove_osuTK.MathHelper 2020-01-10 00:28:46 +08:00
91735ff367 Update MathUtils namespace usages 2020-01-09 13:43:44 +09:00
ed2bf5154d Use tuple deconstruction to swap values 2020-01-08 20:46:17 +01:00
34d8740ec4 Remove remaining usage of osuTK.MathHelper 2020-01-08 20:21:13 +01:00
21468eb070 Remove settings related to reverse arrow 2020-01-07 04:55:05 +01:00
3194658998 Fix repeat point pulsing when it is in fade out state 2020-01-04 13:12:37 +01:00
46271ccbc8 Add slider reverse arrow pulse settings 2020-01-04 13:01:42 +01:00
fc0b622a69 Change reverse arrow pulse easing to OutQuad 2020-01-04 10:35:10 +01:00
9da7eec0d9 Add pulse to slider reverse arrows 2020-01-04 08:21:48 +01:00
b7565f5943 Remove unnecessary using directive 2019-12-25 05:36:58 +03:00
949ab4e0d3 Move spinner bonus scoring to it's own component class
Also fixes counter rewinding issue and does optimizations.
2019-12-25 05:34:12 +03:00
419656cea4 Merge branch 'master' into add-spinner-bonus-score 2019-12-20 19:55:53 +09:00
f150d22eaf Fix SPM calculation logic not handling paused clocks (#7253)
Fix SPM calculation logic not handling paused clocks

Co-authored-by: Dean Herbert <pe@ppy.sh>
2019-12-18 16:30:18 +09:00
1fe0e45a9c Implement legacy slider border shadow 2019-12-18 13:37:37 +09:00
cbfbbf9999 Make SpmCounter public 2019-12-18 03:04:37 +03:00