1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-25 16:24:40 +00:00

Typo fixes

This commit is contained in:
EliteMasterEric 2023-07-31 13:31:17 -04:00
parent d0ef34ced6
commit 92a0c367b7
3 changed files with 7 additions and 5 deletions

View file

@ -3,7 +3,6 @@ package funkin;
import funkin.util.Constants;
import flixel.util.FlxSignal;
import flixel.math.FlxMath;
import funkin.SongLoad.SwagSong;
import funkin.play.song.Song.SongDifficulty;
import funkin.play.song.SongData.SongTimeChange;

View file

@ -1640,9 +1640,9 @@ class PlayState extends MusicBeatState
{
if (note == null) continue;
var hitWindowStart = note.strumTime - Conductor.HIT_WINDOW_MS;
var hitWindowStart = note.strumTime - Constants.HIT_WINDOW_MS;
var hitWindowCenter = note.strumTime;
var hitWindowEnd = note.strumTime + Conductor.HIT_WINDOW_MS;
var hitWindowEnd = note.strumTime + Constants.HIT_WINDOW_MS;
if (Conductor.songPosition > hitWindowEnd)
{
@ -1717,9 +1717,9 @@ class PlayState extends MusicBeatState
{
if (note == null || note.hasBeenHit) continue;
var hitWindowStart = note.strumTime - Conductor.HIT_WINDOW_MS;
var hitWindowStart = note.strumTime - Constants.HIT_WINDOW_MS;
var hitWindowCenter = note.strumTime;
var hitWindowEnd = note.strumTime + Conductor.HIT_WINDOW_MS;
var hitWindowEnd = note.strumTime + Constants.HIT_WINDOW_MS;
if (Conductor.songPosition > hitWindowEnd)
{

View file

@ -205,6 +205,9 @@ class Constants
* TIMING
*/
// ==============================
public static final HIT_WINDOW_MS:Int = 160;
public static final PIXELS_PER_MS:Float = 0.45;
/**
* The number of seconds in a minute.