Commit Graph

38 Commits

Author SHA1 Message Date
1efc78c0f8 Actually use new end time property when setting lifetimes 2023-04-26 13:28:51 +09:00
7bc8908ca9 Partial everything 2022-11-27 00:00:27 +09:00
824e68dab3 Fix VectorScale set to 0 still showing some sprites in storyboard
This implementation was matching the [framework side implementation of
scale](16d1c2d335/osu.Framework/Graphics/Drawable.cs (L973-L976))
but I don't think it's required here.

I'm still not sure if the framework implementation is correct, but
removing it locally does seem to fix broken storyboard cases.

Closes https://github.com/ppy/osu/issues/20155.
2022-09-07 15:39:19 +09:00
f8830c6850 Automated #nullable processing 2022-06-17 16:37:17 +09:00
71c0216c55 Add null check guards to unsubscriptions in Dispose() 2022-04-07 21:37:42 +02:00
cbc4e5319d Fix DrawableStoryboardAnimation to handle skin fallback frame count similar to stable
Reasoning is explained in the inline comment (basically, stable doesn't
care what the user specifies as the frame count when falling back to
skin resources).

This change also removes on to two layers of drawables, which should be
a win in heavy storyboards.
2022-04-07 17:35:56 +09:00
c1697c7621 Update DrawableStoryboardSprite to use helper method 2022-03-14 06:30:54 +03:00
9cf05080da Simplify conditionals to one XOR operations with comments 2022-03-14 04:40:35 +03:00
0b8c89bfa8 Fix drawable storyboard sprites not flipping origin on negative scale 2022-03-14 03:50:12 +03:00
dff1d80f39 Update HasFlag usages to HasFlagFast 2021-02-25 15:38:56 +09:00
4f746792fb Fix regression causing storyboard sprites to have incorrect origin support 2020-10-23 15:46:24 +09:00
1b84402b96 Centralise and share logic for storyboard frame lookup method 2020-10-23 15:34:00 +09:00
58a54c5b6c Utilise UseSkinSprites value in storyboard sprite logic 2020-10-20 23:01:25 +02:00
e54836a63e Use SkinnableSprite to avoid unnecessary reloads 2020-10-20 22:49:56 +02:00
cf76d77762 Fix osu!classic skin elements not showing up in storyboards 2020-10-09 17:34:01 +02:00
7cf225520f Change from BDL to Resolved 2020-08-08 02:43:39 +02:00
e0ae2b3ebf Switch to SkinReloadableDrawable 2020-08-06 17:07:36 +02:00
19a0eaade9 Allow storyboard sprites to load textures from skins 2020-08-06 04:41:44 +02:00
cd5290b030 Enforce using get-only auto property where possible 2020-01-20 13:50:27 +09:00
91735ff367 Update MathUtils namespace usages 2020-01-09 13:43:44 +09:00
69f888fc49 Fix storyboard flipping potentially not having an effect (#7260)
Fix storyboard flipping potentially not having an effect
2019-12-18 17:48:41 +09:00
5aca523d35 Fix storyboard flipping potentially not having an effect 2019-12-18 17:27:13 +09:00
602ce698d5 Fix storyboard vectorscale and scale cross-pollution 2019-12-18 17:21:38 +09:00
caf3f774ba CA1309: compare strings correctly. 2019-12-17 13:00:15 +08:00
8d1b11d4bd Add storyboard lead-in tests 2019-11-21 18:50:54 +09:00
93b26cd026 Reduce unnecessary allocations 2019-05-14 13:04:49 +09:00
d8c55bc729 Adjust namespaces 2019-02-21 19:05:52 +09:00
ca5c8d37d1 Use leased bindables 2019-02-01 16:44:06 +09:00
8617aaa2a7 Update licence header (and remove year) 2019-01-24 17:43:03 +09:00
4b5fc85875 Use Find instead of FirstOrDefault 2019-01-05 19:35:33 +03:00
f27bd3ef3e OpenTK -> osuTK 2018-11-20 17:14:59 +09:00
72cc53aded Rename GameBeatmap -> BindableBeatmap 2018-06-06 20:16:20 +09:00
8004b8af4d Privatise the OsuGame beatmap, add local beatmap to OsuTestCase 2018-05-23 17:38:02 +09:00
32a74f95a5 Normalize all the line endings 2018-04-13 18:26:38 +09:00
659578e8fa Add rewind support for storyboards 2018-03-04 01:48:31 +09:00
37d393bca0 Update licence headers 2018-01-05 20:21:19 +09:00
291486a4d1 Only create drawables for storyboard elements that will be visible. 2017-09-15 14:31:59 +02:00
bab3ef0669 Rename storyboard classes. 2017-09-13 11:22:24 +02:00