Class BasicDemoWithAltHitCircleMain
This example shows how to use IHitObjectSizeCalculator
to make the Hit Objects get increasingly smaller as we go further along the combo counter.
On a new combo, it resets to the largest size.
Inheritance
BasicDemoWithAltHitCircleMain
Assembly: MouseDance.Demo.dll
Syntax
public class BasicDemoWithAltHitCircleMain : BasicDemoMain, ISongStartCountdown, IBeatmapEnd, IHitObjectSizeCalculator
Remarks
Methods
Awake()
Declaration
protected override void Awake()
Overrides
GetHitCircleRadius(Int32, Int32, Int32, HitCircle, Beatmap)
Declaration
public float GetHitCircleRadius(int idx, int comboCounter, int comboColourIdx, HitCircle hitCircle, Beatmap beatmap)
Parameters
Type |
Name |
Description |
Int32 |
idx |
|
Int32 |
comboCounter |
|
Int32 |
comboColourIdx |
|
OsuParsers.Beatmaps.Objects.HitCircle |
hitCircle |
|
OsuParsers.Beatmaps.Beatmap |
beatmap |
|
Returns
GetSliderCircleRadius(Int32, Int32, Int32, Slider, Beatmap)
Declaration
public float GetSliderCircleRadius(int idx, int comboCounter, int comboColourIdx, Slider slider, Beatmap beatmap)
Parameters
Type |
Name |
Description |
Int32 |
idx |
|
Int32 |
comboCounter |
|
Int32 |
comboColourIdx |
|
OsuParsers.Beatmaps.Objects.Slider |
slider |
|
OsuParsers.Beatmaps.Beatmap |
beatmap |
|
Returns
Implements
Extension Methods