This repository has been archived by the owner on Oct 5, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
586ea21
commit 73299c4
Showing
13 changed files
with
124 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
setGhost Tapping|| Hitting a key (if not giving you a hit) will give you a miss || True | ||
setDownscroll || The notes scroll down || False | ||
setMiss Shake || Screen shakes on miss || False | ||
setGhost Tapping || Hitting a key will not give you a miss || false | ||
setDownscroll || The notes scroll down || false | ||
setMiss Shake || Screen shakes on miss(FOR MOD DEVS: CONFIGURE THIS SHAKE INTENSITY IN SETTINGS!!!) || false | ||
setDad Notes Visible || Dad(Enemies) notes are visible || true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import flixel.FlxG; | ||
|
||
class Ratings | ||
{ | ||
public static function CalculateRating(noteDiff:Float, ?customSafeZone:Float):String // Generate a judgement through some timing shit | ||
{ | ||
|
||
var customTimeScale = 1; | ||
|
||
// if (customSafeZone != null) | ||
// customTimeScale = customSafeZone / 166; | ||
|
||
// trace(customTimeScale + ' vs ' + Conductor.timeScale); | ||
|
||
// I HATE THIS IF CONDITION | ||
// IF LEMON SEES THIS I'M SORRY :( | ||
|
||
// trace('Hit Info\nDifference: ' + noteDiff + '\nZone: ' + Conductor.safeZoneOffset * 1.5 + "\nTS: " + customTimeScale + "\nLate: " + 155 * customTimeScale); | ||
|
||
if (FlxG.save.data.botplay) | ||
return "good"; // FUNNY | ||
|
||
if (noteDiff > 166 * customTimeScale) // so god damn early its a miss | ||
return "miss"; | ||
if (noteDiff > 135 * customTimeScale) // way early | ||
return "shit"; | ||
else if (noteDiff > 90 * customTimeScale) // early | ||
return "bad"; | ||
else if (noteDiff > 45 * customTimeScale) // your kinda there | ||
return "good"; | ||
else if (noteDiff < -45 * customTimeScale) // little late | ||
return "good"; | ||
else if (noteDiff < -90 * customTimeScale) // late | ||
return "bad"; | ||
else if (noteDiff < -135 * customTimeScale) // late as fuck | ||
return "shit"; | ||
else if (noteDiff < -166 * customTimeScale) // so god damn late its a miss | ||
return "miss"; | ||
return "sick"; | ||
} | ||
} |