TO FIX: PICO

This commit is contained in:
Yoshman29
2022-10-05 23:31:35 +02:00
parent 06104614ab
commit 172b23ae27
37 changed files with 58 additions and 105 deletions
+8 -1
View File
@@ -1 +1,8 @@
bf.xml
bf.xml
gf.xml
dad.xml
gf.xml
mom-car.xml
monster.xml
pico.xml
spooky.xml
-94
View File
@@ -1,94 +0,0 @@
{
"isPlayer": true,
"flipX": true,
"anims": [
{
"name": "idle",
"animation": "BF idle dance",
"fps": 24,
"loop": false,
"x": 0,
"y": -5
},
{
"name": "singUP",
"animation": "BF NOTE UP0",
"fps": 24,
"loop": false,
"x": -29,
"y": 27
},
{
"name": "singLEFT",
"animation": "BF NOTE LEFT0",
"fps": 24,
"loop": false,
"x": 12,
"y": -6
},
{
"name": "singRIGHT",
"animation": "BF NOTE RIGHT0",
"fps": 24,
"loop": false,
"x": -38,
"y": -7
},
{
"name": "singDOWN",
"animation": "BF NOTE DOWN0",
"fps": 24,
"loop": false,
"x": -10,
"y": -50
},
{
"name": "singUPmiss",
"animation": "BF NOTE UP MISS",
"fps": 24,
"loop": false,
"x": -29,
"y": 27
},
{
"name": "singLEFTmiss",
"animation": "BF NOTE LEFT MISS",
"fps": 24,
"loop": false,
"x": 12,
"y": 24
},
{
"name": "singRIGHTmiss",
"animation": "BF NOTE RIGHT MISS",
"fps": 24,
"loop": false,
"x": -30,
"y": 21
},
{
"name": "singDOWNmiss",
"animation": "BF NOTE DOWN MISS",
"fps": 24,
"loop": false,
"x": -11,
"y": -19
},
{
"name": "hey",
"animation": "BF HEY",
"fps": 24,
"loop": false,
"x": 7,
"y": 4
},
{
"name": "scared",
"animation": "BF idle shaking",
"fps": 24,
"loop": true,
"x": -4,
"y": 0
}
]
}
+8
View File
@@ -0,0 +1,8 @@
<!DOCTYPE codename-engine-character>
<character isPlayer="false" flipX="false" x="0" y="0">
<anim name="idle" anim="Dad idle dance" fps="24" loop="false" x="0" y="0"/>
<anim name="singUP" anim="Dad Sing Note UP" fps="24" loop="false" x="-6" y="50"/>
<anim name="singLEFT" anim="Dad Sing Note LEFT" fps="24" loop="false" x="-10" y="10"/>
<anim name="singRIGHT" anim="Dad Sing Note RIGHT" fps="24" loop="false" x="0" y="27"/>
<anim name="singDOWN" anim="Dad Sing Note DOWN" fps="24" loop="false" x="0" y="-30"/>
</character>
+8
View File
@@ -0,0 +1,8 @@
<!DOCTYPE codename-engine-character>
<character isPlayer="false" flipX="false" x="0" y="100">
<anim name="idle" anim="monster idle" fps="24" loop="false" x="0" y="0"/>
<anim name="singUP" anim="monster up note" fps="24" loop="false" x="-20" y="50"/>
<anim name="singLEFT" anim="Monster left note" fps="24" loop="false" x="-30" y="0"/>
<anim name="singRIGHT" anim="Monster Right note" fps="24" loop="false" x="-51" y="0"/>
<anim name="singDOWN" anim="monster down" fps="24" loop="false" x="-30" y="-40"/>
</character>
+16
View File
@@ -0,0 +1,16 @@
<!DOCTYPE codename-engine-character>
<character isPlayer="false" flipX="true" x="0" y="300" cam_x="600" >
<anim name="idle" anim="Pico Idle Dance" fps="24" loop="false" x="0" y="0" />
<!-- Sing Animations -->
<anim name="singLEFT" anim="Pico Note Right0" fps="24" loop="false" x="65" y="9" />
<anim name="singDOWN" anim="Pico Down Note0" fps="24" loop="false" x="0" y="-70" />
<anim name="singUP" anim="pico Up note0" fps="24" loop="false" x="-29" y="27" />
<anim name="singRIGHT" anim="Pico NOTE LEFT0" fps="24" loop="false" x="-68" y="-7" />
<!-- Miss Animations -->
<anim name="singLEFTmiss" anim="Pico Note Right Miss" fps="24" loop="false" x="62" y="64" />
<anim name="singDOWNmiss" anim="Pico Down Note MISS" fps="24" loop="false" x="210" y="-28" />
<anim name="singUPmiss" anim="pico Up note miss" fps="24" loop="false" x="-19" y="67" />
<anim name="singRIGHTmiss" anim="Pico NOTE LEFT miss" fps="24" loop="false" x="-60" y="41" />
</character>
+9
View File
@@ -0,0 +1,9 @@
<!DOCTYPE codename-engine-character>
<character isPlayer="false" flipX="false" x="0" y="200">
<anim name="danceLeft" anim="spooky dance idle" fps="12" loop="false" x="0" y="0" indices="0,2,6"/>
<anim name="danceRight" anim="spooky dance idle" fps="12" loop="false" x="0" y="0" indices="8,10,12,14"/>
<anim name="singUP" anim="spooky UP NOTE" fps="24" loop="false" x="-20" y="26"/>
<anim name="singLEFT" anim="note sing left" fps="24" loop="false" x="130" y="-10"/>
<anim name="singRIGHT" anim="spooky sing right" fps="24" loop="false" x="-130" y="-14"/>
<anim name="singDOWN" anim="spooky DOWN note" fps="24" loop="false" x="-50" y="-130"/>
</character>

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

Before

Width:  |  Height:  |  Size: 1.7 MiB

After

Width:  |  Height:  |  Size: 1.7 MiB

Before

Width:  |  Height:  |  Size: 698 KiB

After

Width:  |  Height:  |  Size: 698 KiB

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

Before

Width:  |  Height:  |  Size: 151 KiB

After

Width:  |  Height:  |  Size: 151 KiB

Before

Width:  |  Height:  |  Size: 140 KiB

After

Width:  |  Height:  |  Size: 140 KiB

Before

Width:  |  Height:  |  Size: 5.2 MiB

After

Width:  |  Height:  |  Size: 5.2 MiB

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Before

Width:  |  Height:  |  Size: 163 KiB

After

Width:  |  Height:  |  Size: 163 KiB

Before

Width:  |  Height:  |  Size: 428 KiB

After

Width:  |  Height:  |  Size: 428 KiB

Before

Width:  |  Height:  |  Size: 143 KiB

After

Width:  |  Height:  |  Size: 143 KiB

Before

Width:  |  Height:  |  Size: 182 KiB

After

Width:  |  Height:  |  Size: 182 KiB

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File
View File
+1 -1
View File
@@ -1 +1 @@
135
144
+3 -2
View File
@@ -1,5 +1,6 @@
package;
import funkin.game.Character;
import flixel.FlxG;
import flixel.FlxObject;
import flixel.FlxSprite;
@@ -14,7 +15,7 @@ import flixel.util.FlxColor;
*/
class AnimationDebug extends FlxState
{
var bf:Boyfriend;
var bf:Character;
var dad:Character;
var char:Character;
var textAnim:FlxText;
@@ -54,7 +55,7 @@ class AnimationDebug extends FlxState
}
else
{
bf = new Boyfriend(0, 0);
bf = new Character(0, 0, daAnim, true);
bf.screenCenter();
bf.debugMode = true;
add(bf);
+3 -3
View File
@@ -17,7 +17,7 @@ import flixel.math.FlxPoint;
import flixel.math.FlxRect;
// TODO: REMOVE TEST
import modsfolder.ModsFolder;
import funkin.mods.ModsFolder;
@:build(funkin.macros.BuildCounterMacro.build())
class Main extends Sprite
@@ -94,8 +94,8 @@ class Main extends Sprite
FlxG.save.bind('Save');
Highscore.load();
ModsFolder.loadMod("B-Sides");
ModsFolder.currentModFolder = "B-Sides";
// ModsFolder.loadMod("B-Sides");
// ModsFolder.currentModFolder = "B-Sides";
FlxG.fixedTimestep = false;
FlxG.autoPause = false;
+1 -1
View File
@@ -4,7 +4,7 @@ import flixel.FlxG;
import flixel.graphics.frames.FlxAtlasFrames;
import openfl.utils.AssetType;
import openfl.utils.Assets as OpenFlAssets;
import modsfolder.ModsFolder;
import funkin.mods.ModsFolder;
using StringTools;
-2
View File
@@ -754,10 +754,8 @@ class PlayState extends MusicBeatState
/* if (FlxG.keys.justPressed.NINE)
FlxG.switchState(new Charting()); */
#if debug
if (FlxG.keys.justPressed.EIGHT)
FlxG.switchState(new AnimationDebug(SONG.player2));
#end
if (startingSong)
{
@@ -1,4 +1,4 @@
package modsfolder;
package funkin.mods;
import openfl.utils.AssetManifest;
import openfl.utils.AssetLibrary;