summary refs log tree commit diff stats
path: root/res
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2021-02-25 13:33:37 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2021-02-25 13:33:37 -0500
commit499392238db4eca473ad973b370392c60c4a9605 (patch)
treefecc1b5126b71d4be3ddce03fe89422b6a8dd32d /res
parent367810f962951e6bc013f895023fa0487238c2cf (diff)
downloadtanetane-499392238db4eca473ad973b370392c60c4a9605.tar.gz
tanetane-499392238db4eca473ad973b370392c60c4a9605.tar.bz2
tanetane-499392238db4eca473ad973b370392c60c4a9605.zip
Started working on scene with Lucas going underwater
The resurfacing animation seems pretty good actually. Not sure about the sound effect for him submerging. Also gotta fix the issue with cutscenes in non-normal media.
Diffstat (limited to 'res')
-rw-r--r--res/scripts/hallucination_hot_spring.lua21
-rw-r--r--res/scripts/underwater.lua57
-rw-r--r--res/sfx/splash_resurface.wavbin0 -> 272640 bytes
-rw-r--r--res/sfx/splash_submerge.wavbin0 -> 141984 bytes
-rw-r--r--res/sprites/lucas_anim.txt5
5 files changed, 82 insertions, 1 deletions
diff --git a/res/scripts/hallucination_hot_spring.lua b/res/scripts/hallucination_hot_spring.lua index 27dd6ac..489a64e 100644 --- a/res/scripts/hallucination_hot_spring.lua +++ b/res/scripts/hallucination_hot_spring.lua
@@ -7,3 +7,24 @@ end
7function hallucination_hot_spring.off_right() 7function hallucination_hot_spring.off_right()
8 ChangeMap("hallucination_cliff", "fromLeft") 8 ChangeMap("hallucination_cliff", "fromLeft")
9end 9end
10
11function hallucination_hot_spring.testing_lucas_submerge()
12 StartCutscene(DO_NOT_CHANGE_ANIMATION)
13 ShowExpression("lucas", "surprise")
14 SetAnimation("lucas", "swim_still")
15 Delay(1000)
16 RemoveExpression("lucas")
17 Delay(2000)
18 SetAnimation("lucas", "submerge!")
19 Delay(200)
20 PlaySound("splash_submerge.wav")
21 WaitForAnimation("lucas")
22end
23
24function hallucination_hot_spring.testing_lucas_resurface()
25 SetAnimation("lucas", "drown")
26 Delay(3000)
27 SetAnimation("lucas", "resurface!")
28 PlaySound("splash_resurface.wav")
29 WaitForAnimation("lucas")
30end
diff --git a/res/scripts/underwater.lua b/res/scripts/underwater.lua new file mode 100644 index 0000000..660a2d4 --- /dev/null +++ b/res/scripts/underwater.lua
@@ -0,0 +1,57 @@
1underwater = {}
2
3function underwater.fish1()
4 StartCutscene()
5 DisplayMessage("* You deserved what she did to you.", "Fish", SpeakerType.BOY)
6 WaitForEndOfMessages()
7 HideCutsceneBars()
8end
9
10function underwater.fish2()
11 StartCutscene()
12 DisplayMessage("* What are you complaining about?\nYou're so powerful now...\n\fYou owe it all to her.", "Fish", SpeakerType.BOY)
13 WaitForEndOfMessages()
14 HideCutsceneBars()
15end
16
17function underwater.fish3()
18 StartCutscene()
19 DisplayMessage("* You wanted to become stronger, and now you're stronger. Quit crying.\n\f* Oh wait, that wasn't you.\n\fThat was Claus.\n\fYou were totally willing to stay at home and cry.", "Fish", SpeakerType.BOY)
20 WaitForEndOfMessages()
21 HideCutsceneBars()
22end
23
24function underwater.fish4()
25 StartCutscene()
26 DisplayMessage("* You think it hurt when she unlocked your PSI?\n\fJust picture what it was like for Claus.", "Fish", SpeakerType.BOY)
27 WaitForEndOfMessages()
28 HideCutsceneBars()
29end
30
31function underwater.fish5()
32 StartCutscene()
33 DisplayMessage("* What did Aeolia do to your brother?\n\fStrangle him?\n\fPush him down a flight of stairs?\n\fMaybe it was in the hot spring just like you.", "Fish", SpeakerType.BOY)
34 WaitForEndOfMessages()
35 HideCutsceneBars()
36end
37
38function underwater.fish6()
39 StartCutscene()
40 DisplayMessage("* Still, I bet you can't wait to get your revenge. You don't fool me.\n\f* You have everyone else fooled but you can't fool yourself.", "Fish", SpeakerType.BOY)
41 WaitForEndOfMessages()
42 HideCutsceneBars()
43end
44
45function underwater.fish7()
46 StartCutscene()
47 DisplayMessage("* There's only three left.\nAnd after Mixolydia, it'll be her.", "Fish", SpeakerType.BOY)
48 WaitForEndOfMessages()
49 HideCutsceneBars()
50end
51
52function underwater.fish8()
53 StartCutscene()
54 DisplayMessage("* I bet you can't wait to wrap your hands around her needle,\n\fand\n\fpull\n\fas\n\fhard\n\fas\n\fyou\n\fcan.", "Fish", SpeakerType.BOY)
55 WaitForEndOfMessages()
56 HideCutsceneBars()
57end
diff --git a/res/sfx/splash_resurface.wav b/res/sfx/splash_resurface.wav new file mode 100644 index 0000000..3516884 --- /dev/null +++ b/res/sfx/splash_resurface.wav
Binary files differ
diff --git a/res/sfx/splash_submerge.wav b/res/sfx/splash_submerge.wav new file mode 100644 index 0000000..9b24b64 --- /dev/null +++ b/res/sfx/splash_submerge.wav
Binary files differ
diff --git a/res/sprites/lucas_anim.txt b/res/sprites/lucas_anim.txt index 5eb7d91..d81c69c 100644 --- a/res/sprites/lucas_anim.txt +++ b/res/sprites/lucas_anim.txt
@@ -59,4 +59,7 @@ swim_walk[up_left]: 402
59swim_walk[up]: 403 59swim_walk[up]: 403
60swim_walk[up_right]: 404 60swim_walk[up_right]: 404
61swim_walk[right]: 405 61swim_walk[right]: 405
62swim_walk[down_right]: 406 \ No newline at end of file 62swim_walk[down_right]: 406
63submerge![down]: 418,419,420,421
64drown[down]: 421,422,423,424,425,426,427
65resurface![down]: 428,429,430,431,432,433,399 \ No newline at end of file