From 5e6d487dcf1ad94c16543012ec3b9a54e3fd9c0c Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Tue, 2 Mar 2021 20:03:32 -0500 Subject: Claus vanishes into a puff of smoke when smacked by Mixolydia --- res/scripts/pink_shell.lua | 7 ++++++- res/sprites/curtain_call.png | Bin 0 -> 4744 bytes res/sprites/curtain_call_anim.txt | 3 +++ res/sprites/curtain_call_frames.txt | 31 +++++++++++++++++++++++++++++++ 4 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 res/sprites/curtain_call.png create mode 100644 res/sprites/curtain_call_anim.txt create mode 100644 res/sprites/curtain_call_frames.txt (limited to 'res') diff --git a/res/scripts/pink_shell.lua b/res/scripts/pink_shell.lua index 775aeae..4d2d4ed 100644 --- a/res/scripts/pink_shell.lua +++ b/res/scripts/pink_shell.lua @@ -188,9 +188,14 @@ function pink_shell.talk_to_mixolydia() SetAnimation("duster", "frozen") Delay(1000) - -- TODO: handle fake claus + -- TODO: handle fake claus (should Lucas react to this?) if gamestate.still_has_claus then pink_shell.smack("smack_claus_pos") + DestroyNamedSprite("join_claus") + CreateAnimatedSpriteAtWarpPoint("puff", "curtain_call", "claus_lineup", "puff!", Direction.DOWN, SpriteLayer.ABOVE) + WaitForAnimation("puff") + + DestroyNamedSprite("puff") end -- TODO: rest of scene diff --git a/res/sprites/curtain_call.png b/res/sprites/curtain_call.png new file mode 100644 index 0000000..8100e59 Binary files /dev/null and b/res/sprites/curtain_call.png differ diff --git a/res/sprites/curtain_call_anim.txt b/res/sprites/curtain_call_anim.txt new file mode 100644 index 0000000..d0e71f3 --- /dev/null +++ b/res/sprites/curtain_call_anim.txt @@ -0,0 +1,3 @@ +../res/sprites/curtain_call.png +../res/sprites/curtain_call_frames.txt +puff![down]%60: 17#5,18#4,19#4,20#5,21#4,22#2,23,24,25 \ No newline at end of file diff --git a/res/sprites/curtain_call_frames.txt b/res/sprites/curtain_call_frames.txt new file mode 100644 index 0000000..258c9d6 --- /dev/null +++ b/res/sprites/curtain_call_frames.txt @@ -0,0 +1,31 @@ +40,32 cell size +10 frames per row +27 frames + +32,32,16,32 +32,32,16,32 +32,32,16,32 +32,32,16,32 +32,32,16,32 +32,32,16,32 +32,32,16,32 +32,32,16,32 +32,32,16,32 +32,32,16,32 +32,32,16,32 +32,32,16,32 +32,32,16,32 +32,32,16,32 +32,32,16,32 +32,32,16,32 +40,16,23,16 +32,32,16,24 +32,32,16,40 +32,32,16,32 +32,32,16,40 +32,16,16,32 +32,16,16,32 +32,16,16,32 +32,16,16,33 +32,16,16,33 +16,16,8,16 -- cgit 1.4.1