diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-03-02 09:55:24 -0500 |
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-03-02 09:55:24 -0500 |
| commit | 5ad7082b6799598e110f79935b606ec733135558 (patch) | |
| tree | 86c7254b5511bbd16c2ebddcdde21597cd8cada6 | |
| parent | 0eba4430608fce20ed8530ebf7790a2fcffae26c (diff) | |
| download | tanetane-5ad7082b6799598e110f79935b606ec733135558.tar.gz tanetane-5ad7082b6799598e110f79935b606ec733135558.tar.bz2 tanetane-5ad7082b6799598e110f79935b606ec733135558.zip | |
Added door opening sfx
| -rw-r--r-- | res/scripts/hallucination_cliff.lua | 1 | ||||
| -rw-r--r-- | res/scripts/time_passage_antechamber.lua | 1 | ||||
| -rw-r--r-- | res/sfx/door_open.wav | bin | 0 -> 67348 bytes |
3 files changed, 2 insertions, 0 deletions
| diff --git a/res/scripts/hallucination_cliff.lua b/res/scripts/hallucination_cliff.lua index fefd219..250c0cf 100644 --- a/res/scripts/hallucination_cliff.lua +++ b/res/scripts/hallucination_cliff.lua | |||
| @@ -10,5 +10,6 @@ end | |||
| 10 | 10 | ||
| 11 | function hallucination_cliff.enter_door() | 11 | function hallucination_cliff.enter_door() |
| 12 | CreateAnimatedSpriteAtWarpPoint("entryway", "entryway", "entryway_appear", "pink_shell", Direction.DOWN, SpriteLayer.NORMAL) | 12 | CreateAnimatedSpriteAtWarpPoint("entryway", "entryway", "entryway_appear", "pink_shell", Direction.DOWN, SpriteLayer.NORMAL) |
| 13 | PlaySound("door_open.wav") | ||
| 13 | ChangeMap("pink_shell", "fromOutside") | 14 | ChangeMap("pink_shell", "fromOutside") |
| 14 | end | 15 | end |
| diff --git a/res/scripts/time_passage_antechamber.lua b/res/scripts/time_passage_antechamber.lua index cd5abbe..5ccc3d4 100644 --- a/res/scripts/time_passage_antechamber.lua +++ b/res/scripts/time_passage_antechamber.lua | |||
| @@ -2,5 +2,6 @@ time_passage_antechamber = {} | |||
| 2 | 2 | ||
| 3 | function time_passage_antechamber.enter_door() | 3 | function time_passage_antechamber.enter_door() |
| 4 | CreateAnimatedSpriteAtWarpPoint("entryway", "entryway", "entryway_appear", "time_passage", Direction.DOWN, SpriteLayer.NORMAL) | 4 | CreateAnimatedSpriteAtWarpPoint("entryway", "entryway", "entryway_appear", "time_passage", Direction.DOWN, SpriteLayer.NORMAL) |
| 5 | PlaySound("door_open.wav") | ||
| 5 | ChangeMap("time_passage", "fromBottom") | 6 | ChangeMap("time_passage", "fromBottom") |
| 6 | end | 7 | end |
| diff --git a/res/sfx/door_open.wav b/res/sfx/door_open.wav new file mode 100644 index 0000000..c2e3ecd --- /dev/null +++ b/res/sfx/door_open.wav | |||
| Binary files differ | |||
