From 499392238db4eca473ad973b370392c60c4a9605 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Thu, 25 Feb 2021 13:33:37 -0500 Subject: 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. --- res/scripts/hallucination_hot_spring.lua | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'res/scripts/hallucination_hot_spring.lua') 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 function hallucination_hot_spring.off_right() ChangeMap("hallucination_cliff", "fromLeft") end + +function hallucination_hot_spring.testing_lucas_submerge() + StartCutscene(DO_NOT_CHANGE_ANIMATION) + ShowExpression("lucas", "surprise") + SetAnimation("lucas", "swim_still") + Delay(1000) + RemoveExpression("lucas") + Delay(2000) + SetAnimation("lucas", "submerge!") + Delay(200) + PlaySound("splash_submerge.wav") + WaitForAnimation("lucas") +end + +function hallucination_hot_spring.testing_lucas_resurface() + SetAnimation("lucas", "drown") + Delay(3000) + SetAnimation("lucas", "resurface!") + PlaySound("splash_resurface.wav") + WaitForAnimation("lucas") +end -- cgit 1.4.1