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:
parent
4345d8cbca
commit
1bc83d7a2d
|
@ -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]);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue