mirror of
https://github.com/osukey/osukey.git
synced 2025-08-08 09:03:50 +09:00
Update with framework changes.
This commit is contained in:
@ -11,10 +11,8 @@ namespace osu.Desktop.VisualTests.Tests
|
|||||||
{
|
{
|
||||||
public override string Description => @"medal get!";
|
public override string Description => @"medal get!";
|
||||||
|
|
||||||
public override void Reset()
|
public TestCaseMedalOverlay()
|
||||||
{
|
{
|
||||||
base.Reset();
|
|
||||||
|
|
||||||
Add(new MedalOverlay(new Medal
|
Add(new MedalOverlay(new Medal
|
||||||
{
|
{
|
||||||
Name = @"Animations",
|
Name = @"Animations",
|
||||||
|
@ -199,23 +199,25 @@ namespace osu.Game.Overlays
|
|||||||
getSample.Play();
|
getSample.Play();
|
||||||
Delay(200, true);
|
Delay(200, true);
|
||||||
|
|
||||||
innerSpin.Transforms.Add(new TransformRotation
|
var innerRotate = new TransformRotation
|
||||||
{
|
{
|
||||||
StartValue = 0,
|
|
||||||
EndValue = 359,
|
EndValue = 359,
|
||||||
StartTime = Clock.TimeInfo.Current,
|
StartTime = Clock.TimeInfo.Current,
|
||||||
EndTime = Clock.TimeInfo.Current + 20000,
|
EndTime = Clock.TimeInfo.Current + 20000,
|
||||||
LoopCount = -1,
|
};
|
||||||
});
|
|
||||||
|
|
||||||
outterSpin.Transforms.Add(new TransformRotation
|
innerRotate.Loop(0);
|
||||||
|
innerSpin.Transforms.Add(innerRotate);
|
||||||
|
|
||||||
|
var outerRotate = new TransformRotation
|
||||||
{
|
{
|
||||||
StartValue = 0,
|
|
||||||
EndValue = 359,
|
EndValue = 359,
|
||||||
StartTime = Clock.TimeInfo.Current,
|
StartTime = Clock.TimeInfo.Current,
|
||||||
EndTime = Clock.TimeInfo.Current + 40000,
|
EndTime = Clock.TimeInfo.Current + 40000,
|
||||||
LoopCount = -1,
|
};
|
||||||
});
|
|
||||||
|
outerRotate.Loop(0);
|
||||||
|
outterSpin.Transforms.Add(outerRotate);
|
||||||
|
|
||||||
disc.FadeIn(duration1);
|
disc.FadeIn(duration1);
|
||||||
outterSpin.FadeTo(0.1f, duration1 * 2);
|
outterSpin.FadeTo(0.1f, duration1 * 2);
|
||||||
|
Reference in New Issue
Block a user