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

small shit characters dunno this shit weird lol

This commit is contained in:
Cameron Taylor 2021-02-23 23:14:18 -05:00
parent 4345d8cbca
commit 1bc83d7a2d
2 changed files with 6 additions and 2 deletions

View file

@ -622,8 +622,8 @@ class Character extends FlxSprite
{ {
animation.play(AnimName, Force, Reversed, Frame); animation.play(AnimName, Force, Reversed, Frame);
var daOffset = animOffsets.get(animation.curAnim.name); var daOffset = animOffsets.get(AnimName);
if (animOffsets.exists(animation.curAnim.name)) if (animOffsets.exists(AnimName))
{ {
offset.set(daOffset[0], daOffset[1]); offset.set(daOffset[0], daOffset[1]);
} }

View file

@ -124,6 +124,10 @@ class PlayState extends MusicBeatState
override public function create() override public function create()
{ {
if (FlxG.sound.music != null)
FlxG.sound.music.stop();
// var gameCam:FlxCamera = FlxG.camera; // var gameCam:FlxCamera = FlxG.camera;
camGame = new FlxCamera(); camGame = new FlxCamera();
camHUD = new FlxCamera(); camHUD = new FlxCamera();