1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2025-01-30 08:27:38 +00:00

different timestamping

This commit is contained in:
Cameron Taylor 2022-07-06 20:54:07 -04:00
parent 5e630dc214
commit c3995ef557

View file

@ -8,6 +8,7 @@ import flixel.math.FlxMath;
import flixel.text.FlxText;
import flixel.util.FlxColor;
import funkin.audiovis.PolygonSpectogram;
import haxe.Timer;
import openfl.events.KeyboardEvent;
class LatencyState extends MusicBeatSubstate
@ -29,7 +30,7 @@ class LatencyState extends MusicBeatSubstate
{
FlxG.stage.addEventListener(KeyboardEvent.KEY_DOWN, key ->
{
trace("EVENT PRESS: " + FlxG.sound.music.time + " " + Sys.time());
trace("EVENT PRESS: " + FlxG.sound.music.time + " " + Timer.stamp());
// trace("EVENT LISTENER: " + key);
});
@ -119,7 +120,7 @@ class LatencyState extends MusicBeatSubstate
{
if (FlxG.keys.justPressed.S)
{
trace("UPDATE PRESS: " + FlxG.sound.music.time + " " + Sys.time());
trace("UPDATE PRESS: " + FlxG.sound.music.time + " " + Timer.stamp());
}
if (FlxG.keys.justPressed.X)