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/scripts/hallucination_hot_spring.lua | |
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/scripts/hallucination_hot_spring.lua')
-rw-r--r-- | res/scripts/hallucination_hot_spring.lua | 21 |
1 files changed, 21 insertions, 0 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 | ||