diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-28 12:17:14 -0500 |
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-28 12:17:14 -0500 |
| commit | b844c6186a108d9b9ffce49950c969e916cf2745 (patch) | |
| tree | ab0501d8ff2915eddf4676422406f76f5a7bdb30 | |
| parent | 9eb0a78596c5351d8115d2e5361d59d7ba17c6fc (diff) | |
| download | tanetane-b844c6186a108d9b9ffce49950c969e916cf2745.tar.gz tanetane-b844c6186a108d9b9ffce49950c969e916cf2745.tar.bz2 tanetane-b844c6186a108d9b9ffce49950c969e916cf2745.zip | |
Added pink shell door opening (and fixed the sprite)
Door doesn't go anywhere yet though.
| -rw-r--r-- | res/maps/hallucination_cliff.tmx | 10 | ||||
| -rw-r--r-- | res/scripts/hallucination_cliff.lua | 4 | ||||
| -rw-r--r-- | res/sprites/entryway.png | bin | 3050 -> 3100 bytes |
3 files changed, 13 insertions, 1 deletions
| diff --git a/res/maps/hallucination_cliff.tmx b/res/maps/hallucination_cliff.tmx index 8159d54..92dccbb 100644 --- a/res/maps/hallucination_cliff.tmx +++ b/res/maps/hallucination_cliff.tmx | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <map version="1.4" tiledversion="1.4.3" orientation="orthogonal" renderorder="right-down" width="48" height="48" tilewidth="16" tileheight="16" infinite="0" nextlayerid="3" nextobjectid="5"> | 2 | <map version="1.4" tiledversion="1.4.3" orientation="orthogonal" renderorder="right-down" width="48" height="48" tilewidth="16" tileheight="16" infinite="0" nextlayerid="3" nextobjectid="7"> |
| 3 | <properties> | 3 | <properties> |
| 4 | <property name="music" value="red_green_yellow_yellow"/> | 4 | <property name="music" value="red_green_yellow_yellow"/> |
| 5 | </properties> | 5 | </properties> |
| @@ -125,6 +125,14 @@ | |||
| 125 | <object id="4" name="fromLeft" type="warp" x="16" y="647.25"> | 125 | <object id="4" name="fromLeft" type="warp" x="16" y="647.25"> |
| 126 | <point/> | 126 | <point/> |
| 127 | </object> | 127 | </object> |
| 128 | <object id="5" name="enter_door" type="trigger" x="432" y="207" width="16" height="16"> | ||
| 129 | <properties> | ||
| 130 | <property name="script" value="enter_door"/> | ||
| 131 | </properties> | ||
| 132 | </object> | ||
| 133 | <object id="6" name="entryway_appear" type="warp" x="425" y="194"> | ||
| 134 | <point/> | ||
| 135 | </object> | ||
| 128 | </objectgroup> | 136 | </objectgroup> |
| 129 | <layer id="1" name="Upper" width="48" height="48"> | 137 | <layer id="1" name="Upper" width="48" height="48"> |
| 130 | <properties> | 138 | <properties> |
| diff --git a/res/scripts/hallucination_cliff.lua b/res/scripts/hallucination_cliff.lua index 412ff03..8538ee4 100644 --- a/res/scripts/hallucination_cliff.lua +++ b/res/scripts/hallucination_cliff.lua | |||
| @@ -7,3 +7,7 @@ end | |||
| 7 | function hallucination_cliff.off_left() | 7 | function hallucination_cliff.off_left() |
| 8 | ChangeMap("hallucination_hot_spring", "fromRight") | 8 | ChangeMap("hallucination_hot_spring", "fromRight") |
| 9 | end | 9 | end |
| 10 | |||
| 11 | function hallucination_cliff.enter_door() | ||
| 12 | CreateAnimatedSpriteAtWarpPoint("entryway", "entryway", "entryway_appear", "pink_shell", Direction.DOWN, SpriteLayer.NORMAL) | ||
| 13 | end | ||
| diff --git a/res/sprites/entryway.png b/res/sprites/entryway.png index d93b535..09c1fea 100644 --- a/res/sprites/entryway.png +++ b/res/sprites/entryway.png | |||
| Binary files differ | |||
