mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 03:42:57 +08:00
Replicate integer calculations for tiny tick conversion
This commit is contained in:
parent
6f73d78bc9
commit
b90de83f33
@ -28,6 +28,7 @@ namespace osu.Game.Rulesets.Catch.Tests
|
||||
[TestCase("right-bound-hr-offset", new[] { typeof(CatchModHardRock) })]
|
||||
[TestCase("basic-hyperdash")]
|
||||
[TestCase("pixel-jump")]
|
||||
[TestCase("tiny-ticks")]
|
||||
public new void Test(string name, params Type[] mods) => base.Test(name, mods);
|
||||
|
||||
protected override IEnumerable<ConvertValue> CreateConvertValue(HitObject hitObject)
|
||||
|
@ -82,7 +82,7 @@ namespace osu.Game.Rulesets.Catch.Objects
|
||||
// generate tiny droplets since the last point
|
||||
if (lastEvent != null)
|
||||
{
|
||||
double sinceLastTick = e.Time - lastEvent.Value.Time;
|
||||
double sinceLastTick = (int)e.Time - (int)lastEvent.Value.Time;
|
||||
|
||||
if (sinceLastTick > 80)
|
||||
{
|
||||
|
@ -0,0 +1,44 @@
|
||||
{
|
||||
"Mappings": [
|
||||
{
|
||||
"StartTime": 27002.0,
|
||||
"Objects": [
|
||||
{
|
||||
"StartTime": 27002.0,
|
||||
"Position": 326.0,
|
||||
"HyperDash": false
|
||||
},
|
||||
{
|
||||
"StartTime": 27102.0,
|
||||
"Position": 267.416656,
|
||||
"HyperDash": false
|
||||
},
|
||||
{
|
||||
"StartTime": 27238.0,
|
||||
"Position": 217.484329,
|
||||
"HyperDash": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"StartTime": 27318.0,
|
||||
"Objects": [
|
||||
{
|
||||
"StartTime": 27318.0,
|
||||
"Position": 215.0,
|
||||
"HyperDash": false
|
||||
},
|
||||
{
|
||||
"StartTime": 27418.0,
|
||||
"Position": 251.682343,
|
||||
"HyperDash": false
|
||||
},
|
||||
{
|
||||
"StartTime": 27554.0,
|
||||
"Position": 323.347046,
|
||||
"HyperDash": false
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
osu file format v14
|
||||
|
||||
[General]
|
||||
StackLeniency: 0.7
|
||||
Mode: 0
|
||||
|
||||
[Difficulty]
|
||||
HPDrainRate:4.7
|
||||
CircleSize:3.7
|
||||
OverallDifficulty:8.4
|
||||
ApproachRate:9
|
||||
SliderMultiplier:1.57
|
||||
SliderTickRate:1
|
||||
|
||||
[TimingPoints]
|
||||
476,315.789473684211,4,2,1,50,1,0
|
||||
18160,-103.092783505155,4,2,1,70,0,0
|
||||
|
||||
[HitObjects]
|
||||
326,119,27002,6,0,P|266:96|196:111,1,114.217502701372,14|0,0:2|0:0,0:0:0:0:
|
||||
215,85,27318,2,0,P|271:80|323:102,1,114.217502701372,8|0,0:2|0:0,0:0:0:0:
|
Loading…
Reference in New Issue
Block a user