ng release

This commit is contained in:
Brandon
2020-11-02 01:46:37 -05:00
parent 92157c03e9
commit 62a59a74d7
16 changed files with 237 additions and 149 deletions

View File

@ -24,7 +24,6 @@ class Character extends FlxSprite
switch (curCharacter)
{
case 'bf':
case 'gf':
// GIRLFRIEND CODE
tex = FlxAtlasFrames.fromSparrow(AssetPaths.GF_assets__png, AssetPaths.GF_assets__xml);
@ -38,6 +37,8 @@ class Character extends FlxSprite
animation.addByIndices('danceLeft', 'GF Dancing Beat', [30, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "", 24, false);
animation.addByIndices('danceRight', 'GF Dancing Beat', [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29], "", 24, false);
animation.addByPrefix('scared', 'GF FEAR', 24);
addOffset('cheer');
addOffset('sad', -2, -2);
addOffset('danceLeft', 0, -9);
@ -48,6 +49,8 @@ class Character extends FlxSprite
addOffset("singLEFT", 0, -19);
addOffset("singDOWN", 0, -20);
addOffset('scared');
playAnim('danceRight');
case 'dad':
@ -112,6 +115,8 @@ class Character extends FlxSprite
{
switch (curCharacter)
{
case 'bf':
case 'gf':
danced = !danced;