Skip to content

Commit

Permalink
mom sprites
Browse files Browse the repository at this point in the history
  • Loading branch information
DidgieDeez committed Jun 30, 2024
1 parent b06c432 commit a76778c
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 78 deletions.
2 changes: 1 addition & 1 deletion assets/preload/data/satin-panties/satin-panties.json

Large diffs are not rendered by default.

Binary file modified assets/shared/images/characters/Mom_Assets.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
90 changes: 22 additions & 68 deletions assets/shared/images/characters/Mom_Assets.xml
Original file line number Diff line number Diff line change
@@ -1,69 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<TextureAtlas imagePath="Mom_Assets.png">
<!-- Created with Adobe Animate version 20.0.0.17400 -->
<!-- http://www.adobe.com/products/animate.html -->
<SubTexture name="MOM DOWN POSE0000" x="0" y="0" width="410" height="613" frameX="-4" frameY="0" frameWidth="414" frameHeight="613"/>
<SubTexture name="MOM DOWN POSE0001" x="0" y="0" width="410" height="613" frameX="-4" frameY="0" frameWidth="414" frameHeight="613"/>
<SubTexture name="MOM DOWN POSE0002" x="420" y="0" width="403" height="597" frameX="0" frameY="-16" frameWidth="414" frameHeight="613"/>
<SubTexture name="MOM DOWN POSE0003" x="420" y="0" width="403" height="597" frameX="0" frameY="-16" frameWidth="414" frameHeight="613"/>
<SubTexture name="MOM DOWN POSE0004" x="833" y="0" width="403" height="600" frameX="0" frameY="-13" frameWidth="414" frameHeight="613"/>
<SubTexture name="MOM DOWN POSE0005" x="833" y="0" width="403" height="600" frameX="0" frameY="-13" frameWidth="414" frameHeight="613"/>
<SubTexture name="MOM DOWN POSE0006" x="1246" y="0" width="403" height="600" frameX="0" frameY="-13" frameWidth="414" frameHeight="613"/>
<SubTexture name="MOM DOWN POSE0007" x="1246" y="0" width="403" height="600" frameX="0" frameY="-13" frameWidth="414" frameHeight="613"/>
<SubTexture name="MOM DOWN POSE0008" x="833" y="0" width="403" height="600" frameX="0" frameY="-13" frameWidth="414" frameHeight="613"/>
<SubTexture name="MOM DOWN POSE0009" x="833" y="0" width="403" height="600" frameX="0" frameY="-13" frameWidth="414" frameHeight="613"/>
<SubTexture name="MOM DOWN POSE0010" x="1246" y="0" width="403" height="600" frameX="0" frameY="-13" frameWidth="414" frameHeight="613"/>
<SubTexture name="MOM DOWN POSE0011" x="1246" y="0" width="403" height="600" frameX="0" frameY="-13" frameWidth="414" frameHeight="613"/>
<SubTexture name="MOM DOWN POSE0012" x="833" y="0" width="403" height="600" frameX="0" frameY="-13" frameWidth="414" frameHeight="613"/>
<SubTexture name="MOM DOWN POSE0013" x="1659" y="0" width="403" height="600" frameX="0" frameY="-13" frameWidth="414" frameHeight="613"/>
<SubTexture name="MOM DOWN POSE0014" x="1659" y="0" width="403" height="600" frameX="0" frameY="-13" frameWidth="414" frameHeight="613"/>
<SubTexture name="Mom Idle0000" x="2072" y="0" width="386" height="826" frameX="-4" frameY="-2" frameWidth="390" frameHeight="829"/>
<SubTexture name="Mom Idle0001" x="2072" y="0" width="386" height="826" frameX="-4" frameY="-2" frameWidth="390" frameHeight="829"/>
<SubTexture name="Mom Idle0002" x="2468" y="0" width="386" height="815" frameX="-4" frameY="-14" frameWidth="390" frameHeight="829"/>
<SubTexture name="Mom Idle0003" x="2468" y="0" width="386" height="815" frameX="-4" frameY="-14" frameWidth="390" frameHeight="829"/>
<SubTexture name="Mom Idle0004" x="2864" y="0" width="386" height="822" frameX="-1" frameY="-7" frameWidth="390" frameHeight="829"/>
<SubTexture name="Mom Idle0005" x="2864" y="0" width="386" height="822" frameX="-1" frameY="-7" frameWidth="390" frameHeight="829"/>
<SubTexture name="Mom Idle0006" x="3260" y="0" width="386" height="824" frameX="0" frameY="-5" frameWidth="390" frameHeight="829"/>
<SubTexture name="Mom Idle0007" x="3260" y="0" width="386" height="824" frameX="0" frameY="-5" frameWidth="390" frameHeight="829"/>
<SubTexture name="Mom Idle0008" x="3656" y="0" width="386" height="828" frameX="0" frameY="-1" frameWidth="390" frameHeight="829"/>
<SubTexture name="Mom Idle0009" x="3656" y="0" width="386" height="828" frameX="0" frameY="-1" frameWidth="390" frameHeight="829"/>
<SubTexture name="Mom Idle0010" x="0" y="838" width="386" height="829" frameX="0" frameY="0" frameWidth="390" frameHeight="829"/>
<SubTexture name="Mom Idle0011" x="0" y="838" width="386" height="829" frameX="0" frameY="0" frameWidth="390" frameHeight="829"/>
<SubTexture name="Mom Idle0012" x="396" y="838" width="386" height="829" frameX="0" frameY="0" frameWidth="390" frameHeight="829"/>
<SubTexture name="Mom Idle0013" x="396" y="838" width="386" height="829" frameX="0" frameY="0" frameWidth="390" frameHeight="829"/>
<SubTexture name="Mom Left Pose0000" x="792" y="838" width="602" height="818" frameX="0" frameY="0" frameWidth="607" frameHeight="818"/>
<SubTexture name="Mom Left Pose0001" x="792" y="838" width="602" height="818" frameX="0" frameY="0" frameWidth="607" frameHeight="818"/>
<SubTexture name="Mom Left Pose0002" x="1404" y="838" width="596" height="803" frameX="-11" frameY="-15" frameWidth="607" frameHeight="818"/>
<SubTexture name="Mom Left Pose0003" x="1404" y="838" width="596" height="803" frameX="-11" frameY="-15" frameWidth="607" frameHeight="818"/>
<SubTexture name="Mom Left Pose0004" x="2010" y="838" width="596" height="807" frameX="-11" frameY="-11" frameWidth="607" frameHeight="818"/>
<SubTexture name="Mom Left Pose0005" x="2010" y="838" width="596" height="807" frameX="-11" frameY="-11" frameWidth="607" frameHeight="818"/>
<SubTexture name="Mom Left Pose0006" x="2616" y="838" width="596" height="807" frameX="-11" frameY="-11" frameWidth="607" frameHeight="818"/>
<SubTexture name="Mom Left Pose0007" x="2616" y="838" width="596" height="807" frameX="-11" frameY="-11" frameWidth="607" frameHeight="818"/>
<SubTexture name="Mom Left Pose0008" x="2010" y="838" width="596" height="807" frameX="-11" frameY="-11" frameWidth="607" frameHeight="818"/>
<SubTexture name="Mom Left Pose0009" x="2010" y="838" width="596" height="807" frameX="-11" frameY="-11" frameWidth="607" frameHeight="818"/>
<SubTexture name="Mom Pose Left0000" x="3222" y="838" width="578" height="771"/>
<SubTexture name="Mom Pose Left0001" x="3222" y="838" width="578" height="771"/>
<SubTexture name="Mom Pose Left0002" x="0" y="1677" width="564" height="762" frameX="0" frameY="-9" frameWidth="578" frameHeight="771"/>
<SubTexture name="Mom Pose Left0003" x="0" y="1677" width="564" height="762" frameX="0" frameY="-9" frameWidth="578" frameHeight="771"/>
<SubTexture name="Mom Pose Left0004" x="574" y="1677" width="564" height="764" frameX="0" frameY="-7" frameWidth="578" frameHeight="771"/>
<SubTexture name="Mom Pose Left0005" x="574" y="1677" width="564" height="764" frameX="0" frameY="-7" frameWidth="578" frameHeight="771"/>
<SubTexture name="Mom Pose Left0006" x="1148" y="1677" width="564" height="764" frameX="0" frameY="-7" frameWidth="578" frameHeight="771"/>
<SubTexture name="Mom Pose Left0007" x="1148" y="1677" width="564" height="764" frameX="0" frameY="-7" frameWidth="578" frameHeight="771"/>
<SubTexture name="Mom Pose Left0008" x="574" y="1677" width="564" height="764" frameX="0" frameY="-7" frameWidth="578" frameHeight="771"/>
<SubTexture name="Mom Pose Left0009" x="574" y="1677" width="564" height="764" frameX="0" frameY="-7" frameWidth="578" frameHeight="771"/>
<SubTexture name="Mom Up Pose0000" x="1722" y="1677" width="392" height="846" frameX="0" frameY="-9" frameWidth="395" frameHeight="862"/>
<SubTexture name="Mom Up Pose0001" x="1722" y="1677" width="392" height="846" frameX="0" frameY="-9" frameWidth="395" frameHeight="862"/>
<SubTexture name="Mom Up Pose0002" x="2124" y="1677" width="388" height="862" frameX="-7" frameY="0" frameWidth="395" frameHeight="862"/>
<SubTexture name="Mom Up Pose0003" x="2124" y="1677" width="388" height="862" frameX="-7" frameY="0" frameWidth="395" frameHeight="862"/>
<SubTexture name="Mom Up Pose0004" x="2522" y="1677" width="388" height="861" frameX="-7" frameY="-1" frameWidth="395" frameHeight="862"/>
<SubTexture name="Mom Up Pose0005" x="2522" y="1677" width="388" height="861" frameX="-7" frameY="-1" frameWidth="395" frameHeight="862"/>
<SubTexture name="Mom Up Pose0006" x="2920" y="1677" width="388" height="861" frameX="-7" frameY="-1" frameWidth="395" frameHeight="862"/>
<SubTexture name="Mom Up Pose0007" x="2920" y="1677" width="388" height="861" frameX="-7" frameY="-1" frameWidth="395" frameHeight="862"/>
<SubTexture name="Mom Up Pose0008" x="2522" y="1677" width="388" height="861" frameX="-7" frameY="-1" frameWidth="395" frameHeight="862"/>
<SubTexture name="Mom Up Pose0009" x="2522" y="1677" width="388" height="861" frameX="-7" frameY="-1" frameWidth="395" frameHeight="862"/>
<SubTexture name="Mom Up Pose0010" x="2920" y="1677" width="388" height="861" frameX="-7" frameY="-1" frameWidth="395" frameHeight="862"/>
<SubTexture name="Mom Up Pose0011" x="2920" y="1677" width="388" height="861" frameX="-7" frameY="-1" frameWidth="395" frameHeight="862"/>
<SubTexture name="Mom Up Pose0012" x="2522" y="1677" width="388" height="861" frameX="-7" frameY="-1" frameWidth="395" frameHeight="862"/>
<SubTexture name="Mom Up Pose0013" x="2522" y="1677" width="388" height="861" frameX="-7" frameY="-1" frameWidth="395" frameHeight="862"/>
<SubTexture name="Mom Up Pose0014" x="2920" y="1677" width="388" height="861" frameX="-7" frameY="-1" frameWidth="395" frameHeight="862"/>
<?xml version='1.0' encoding='utf-8'?>
<TextureAtlas imagePath="Mom_Assets.png"><SubTexture name="Mom Idle0000" x="548" y="0" width="390" height="822" frameX="-240" frameY="-8" frameWidth="817" frameHeight="854" />
<SubTexture name="Mom Idle0001" x="548" y="0" width="390" height="822" frameX="-240" frameY="-8" frameWidth="817" frameHeight="854" />
<SubTexture name="Mom Idle0002" x="548" y="0" width="390" height="822" frameX="-240" frameY="-8" frameWidth="817" frameHeight="854" />
<SubTexture name="Mom Idle0003" x="938" y="0" width="393" height="822" frameX="-243" frameY="-6" frameWidth="817" frameHeight="854" />
<SubTexture name="Mom Idle0004" x="938" y="0" width="393" height="822" frameX="-243" frameY="-6" frameWidth="817" frameHeight="854" />
<SubTexture name="Mom Idle0005" x="938" y="0" width="393" height="822" frameX="-243" frameY="-6" frameWidth="817" frameHeight="854" />
<SubTexture name="Mom Idle0006" x="971" y="826" width="402" height="801" frameX="-257" frameY="-28" frameWidth="817" frameHeight="854" />
<SubTexture name="Mom Idle0007" x="971" y="826" width="402" height="801" frameX="-257" frameY="-28" frameWidth="817" frameHeight="854" />
<SubTexture name="Mom Idle0008" x="971" y="826" width="402" height="801" frameX="-257" frameY="-28" frameWidth="817" frameHeight="854" />
<SubTexture name="Mom Left Pose0000" x="0" y="826" width="557" height="816" frameX="-87" frameY="-14" frameWidth="817" frameHeight="854" />
<SubTexture name="Mom Left Pose0001" x="0" y="0" width="548" height="826" frameX="-112" frameY="-4" frameWidth="817" frameHeight="854" />
<SubTexture name="Mom Left Pose0002" x="1331" y="0" width="509" height="822" frameX="-136" frameY="-8" frameWidth="817" frameHeight="854" />
<SubTexture name="Mom DOWN POSE0000" x="819" y="1642" width="391" height="564" frameX="-214" frameY="-213" frameWidth="817" frameHeight="854" />
<SubTexture name="Mom DOWN POSE0001" x="423" y="1642" width="396" height="586" frameX="-209" frameY="-188" frameWidth="817" frameHeight="854" />
<SubTexture name="Mom DOWN POSE0002" x="2317" y="751" width="402" height="609" frameX="-203" frameY="-160" frameWidth="817" frameHeight="854" />
<SubTexture name="Mom Up Pose0000" x="557" y="826" width="414" height="805" frameX="-185" frameY="-3" frameWidth="817" frameHeight="854" />
<SubTexture name="Mom Up Pose0001" x="1373" y="826" width="444" height="799" frameX="-190" frameY="-9" frameWidth="817" frameHeight="854" />
<SubTexture name="Mom Up Pose0002" x="1840" y="0" width="477" height="787" frameX="-203" frameY="-23" frameWidth="817" frameHeight="854" />
<SubTexture name="Mom Pose Left0000" x="0" y="1642" width="423" height="743" frameX="-230" frameY="-29" frameWidth="817" frameHeight="854" />
<SubTexture name="Mom Pose Left0001" x="2317" y="0" width="403" height="751" frameX="-245" frameY="-21" frameWidth="817" frameHeight="854" />
<SubTexture name="Mom Pose Left0002" x="1840" y="787" width="390" height="755" frameX="-257" frameY="-17" frameWidth="817" frameHeight="854" />
</TextureAtlas>
18 changes: 9 additions & 9 deletions source/Character.hx
Original file line number Diff line number Diff line change
Expand Up @@ -195,19 +195,19 @@ class Character extends FlxSprite
tex = Paths.getSparrowAtlas('characters/Mom_Assets');
frames = tex;

animation.addByPrefix('idle', "Mom Idle", 24, false);
animation.addByPrefix('singUP', "Mom Up Pose", 24, false);
animation.addByPrefix('singDOWN', "MOM DOWN POSE", 24, false);
animation.addByPrefix('singLEFT', 'Mom Left Pose', 24, false);
animation.addByPrefix('idle', "Mom Idle", 30, false);
animation.addByPrefix('singUP', "Mom Up Pose", 30, false);
animation.addByPrefix('singDOWN', "Mom DOWN POSE", 30, false);
animation.addByPrefix('singLEFT', 'Mom Left Pose', 30, false);
// ANIMATION IS CALLED MOM LEFT POSE BUT ITS FOR THE RIGHT
// CUZ DAVE IS DUMB!
animation.addByPrefix('singRIGHT', 'Mom Pose Left', 24, false);
animation.addByPrefix('singRIGHT', 'Mom Pose Left', 30, false);

addOffset('idle');
addOffset("singUP", 14, 71);
addOffset("singRIGHT", 10, -60);
addOffset("singLEFT", 250, -23);
addOffset("singDOWN", 20, -160);
addOffset("singUP");
addOffset("singRIGHT");
addOffset("singLEFT");
addOffset("singDOWN");

playAnim('idle');

Expand Down

0 comments on commit a76778c

Please sign in to comment.