Fix notes being choppy.

Also commented out traces that followed Pico's shooting animation and picospeaker.json chart.
This commit is contained in:
doggogit 2023-05-14 23:22:11 +02:00
parent 55f7633b63
commit b8a6f8eb8f
No known key found for this signature in database
GPG Key ID: 46BC61C1559521B1
2 changed files with 4 additions and 4 deletions

View File

@ -534,7 +534,7 @@ class Character extends FlxSprite
TankmenBG.animationNotes = animationNotes;
trace(animationNotes);
// trace(animationNotes);
animationNotes.sort(sortAnims);
}
@ -597,7 +597,7 @@ class Character extends FlxSprite
{
if (Conductor.songPosition > animationNotes[0][0])
{
trace('played shoot anim' + animationNotes[0][1]);
// trace('played shoot anim' + animationNotes[0][1]);
var shootAnim:Int = 1;

View File

@ -955,8 +955,8 @@ class PlayState extends MusicBeatState
}
else
{
Conductor.songPosition = FlxG.sound.music.time + Conductor.offset; // 20 is THE MILLISECONDS??
// Conductor.songPosition += FlxG.elapsed * 1000;
// Conductor.songPosition = FlxG.sound.music.time + Conductor.offset; // 20 is THE MILLISECONDS??
Conductor.songPosition += FlxG.elapsed * 1000;
if (!paused)
{