Skip to content

Commit

Permalink
eee
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesisfeline committed Jun 28, 2024
1 parent 894effe commit 77fcde4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 17 deletions.
13 changes: 0 additions & 13 deletions source/funkin/play/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -861,19 +861,6 @@ class PlayState extends MusicBeatSubState

public override function draw():Void
{
// if (FlxG.renderBlit)
// {
// camGame.fill(BACKGROUND_COLOR);
// }
// else if (FlxG.renderTile)
// {
// FlxG.log.warn("PlayState background not displayed properly on tile renderer!");
// }
// else
// {
// FlxG.log.warn("PlayState background not displayed properly, unknown renderer!");
// }

super.draw();
}

Expand Down
5 changes: 3 additions & 2 deletions source/funkin/play/character/BaseCharacter.hx
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ class BaseCharacter extends Bopper
this.characterName = _data.name;
this.name = _data.name;
this.danceEvery = _data.danceEvery;

this.singTimeSteps = _data.singTime;
this.globalOffsets = _data.offsets;
this.flipX = _data.flipX;
Expand Down Expand Up @@ -522,8 +523,8 @@ class BaseCharacter extends Bopper
// If the note is from the same strumline, play the sing animation.
this.playSingAnimation(event.note.noteData.getDirection(), true);
}
/**

/**
* This GF animation code only runs when the player lets a note fly off the screen.
* Run this for all combo breaks instead (bad/shit).
* Maybe add a new public function called onComboBreak in play.stage.Bopper?
Expand Down
4 changes: 2 additions & 2 deletions source/funkin/play/stage/Bopper.hx
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,12 @@ class Bopper extends StageProp implements IPlayStateScriptedClass
{
if (hasDanced)
{
trace('DanceRight (alternate)');
// trace('DanceRight (alternate)');
playAnimation('danceRight$idleSuffix', forceRestart);
}
else
{
trace('DanceLeft (alternate)');
// trace('DanceLeft (alternate)');
playAnimation('danceLeft$idleSuffix', forceRestart);
}
hasDanced = !hasDanced;
Expand Down

0 comments on commit 77fcde4

Please sign in to comment.