Skip to content
This repository has been archived by the owner on Dec 31, 2024. It is now read-only.

Commit

Permalink
bunch of commits i never pushed
Browse files Browse the repository at this point in the history
  • Loading branch information
nebulazorua committed Apr 4, 2024
1 parent 364adf9 commit ec9efc5
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
<assets path="assets/fonts"/>
<!-- _______________________________ Libraries ______________________________ -->

<haxelib name="flixel" />
<haxelib name="flixel" version="4.11.0" />
<haxedev set='webgl' />

<!--In case you want to use the addons package-->
Expand Down
Binary file modified art/flashFiles/NOTE_assets.fla
Binary file not shown.
Binary file removed assets/preload/images/numNegative.png
Binary file not shown.
Binary file removed assets/preload/images/numpoint.png
Binary file not shown.
14 changes: 7 additions & 7 deletions source/Options.hx
Original file line number Diff line number Diff line change
Expand Up @@ -289,16 +289,16 @@ class ToggleOption extends Option
}

public override function createOptionText(curSelected:Int,optionText:FlxTypedGroup<Option>):Dynamic{
remove(text);
text = new Alphabet(0, (70 * curSelected) + 30, name, true, false);
text.movementType = "list";
text.isMenuItem = true;
remove(text);
text = new Alphabet(0, (70 * curSelected) + 30, name, true, false);
text.movementType = "list";
text.isMenuItem = true;
text.offsetX = 145;
text.gotoTargetPosition();
checkbox.tracker = text;
add(text);
return text;
}
add(text);
return text;
}

public override function accept():Bool{
Reflect.setField(OptionUtils.options,property,!Reflect.field(OptionUtils.options,property));
Expand Down
2 changes: 1 addition & 1 deletion source/ScoreUtils.hx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class ScoreUtils
}

public static function GetMaxAccuracy(noteCounters:Map<String,Int>):Float{ // ITG-like system
var points:Float = 0;
var points:Float = 0;
var topJudge = PlayState.judgeMan.getHighestAccJudgement();
for(i in 0...noteCounters.get("taps")){
points += PlayState.judgeMan.getJudgementAccuracy(topJudge);
Expand Down
1 change: 0 additions & 1 deletion source/modchart/modifiers/BounceModifier.hx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ class BounceModifier extends Modifier {
// https://github.com/stepmania/stepmania/blob/984dc8668f1fedacf553f279a828acdebffc5625/src/ArrowEffects.cpp
override function getPath(visualDiff:Float, pos:Vector3, data:Int, player:Int, timeDiff:Float){
if(getPercent(player)==0)return pos;
// https://github.com/stepmania/stepmania/blob/984dc8668f1fedacf553f279a828acdebffc5625/src/ArrowEffects.cpp
var offset = getSubmodPercent("bounceOffset",player)*100;

var bounce:Float = Math.abs( FlxMath.fastSin( ( (visualDiff + (1 * (offset) ) ) /
Expand Down
3 changes: 0 additions & 3 deletions source/states/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -2932,7 +2932,6 @@ class PlayState extends MusicBeatState
else if(daNote.isSustainNote){
if(daNote.parent.unhitTail.contains(daNote))
daNote.parent.unhitTail.remove(daNote);

}


Expand Down Expand Up @@ -3555,8 +3554,6 @@ class PlayState extends MusicBeatState
hitNote.tripTimer = 1;
playAnimationNote(boyfriend, hitNote, "");
}


}else{
if((currentOptions.hitsoundType==1 || currentOptions.hitsoundType==2))
FlxG.sound.play(Paths.sound('Ghost_Hit'),currentOptions.hitsoundVol/100);
Expand Down
2 changes: 1 addition & 1 deletion source/ui/Note.hx
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ class Note extends NoteGraphic
else
canBeHit = false;
}
}else{
}else{
canBeHit=false;
}
}
Expand Down

0 comments on commit ec9efc5

Please sign in to comment.