diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-25 13:33:37 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-25 13:33:37 -0500 |
commit | 499392238db4eca473ad973b370392c60c4a9605 (patch) | |
tree | fecc1b5126b71d4be3ddce03fe89422b6a8dd32d /res | |
parent | 367810f962951e6bc013f895023fa0487238c2cf (diff) | |
download | tanetane-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.lua | 21 | ||||
-rw-r--r-- | res/scripts/underwater.lua | 57 | ||||
-rw-r--r-- | res/sfx/splash_resurface.wav | bin | 0 -> 272640 bytes | |||
-rw-r--r-- | res/sfx/splash_submerge.wav | bin | 0 -> 141984 bytes | |||
-rw-r--r-- | res/sprites/lucas_anim.txt | 5 |
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 | |||
7 | function hallucination_hot_spring.off_right() | 7 | function hallucination_hot_spring.off_right() |
8 | ChangeMap("hallucination_cliff", "fromLeft") | 8 | ChangeMap("hallucination_cliff", "fromLeft") |
9 | end | 9 | end |
10 | |||
11 | function 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") | ||
22 | end | ||
23 | |||
24 | function 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") | ||
30 | end | ||
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 @@ | |||
1 | underwater = {} | ||
2 | |||
3 | function underwater.fish1() | ||
4 | StartCutscene() | ||
5 | DisplayMessage("* You deserved what she did to you.", "Fish", SpeakerType.BOY) | ||
6 | WaitForEndOfMessages() | ||
7 | HideCutsceneBars() | ||
8 | end | ||
9 | |||
10 | function 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() | ||
15 | end | ||
16 | |||
17 | function 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() | ||
22 | end | ||
23 | |||
24 | function 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() | ||
29 | end | ||
30 | |||
31 | function 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() | ||
36 | end | ||
37 | |||
38 | function 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() | ||
43 | end | ||
44 | |||
45 | function 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() | ||
50 | end | ||
51 | |||
52 | function 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() | ||
57 | end | ||
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 | |||
59 | swim_walk[up]: 403 | 59 | swim_walk[up]: 403 |
60 | swim_walk[up_right]: 404 | 60 | swim_walk[up_right]: 404 |
61 | swim_walk[right]: 405 | 61 | swim_walk[right]: 405 |
62 | swim_walk[down_right]: 406 \ No newline at end of file | 62 | swim_walk[down_right]: 406 |
63 | submerge![down]: 418,419,420,421 | ||
64 | drown[down]: 421,422,423,424,425,426,427 | ||
65 | resurface![down]: 428,429,430,431,432,433,399 \ No newline at end of file | ||