diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2021-07-05 12:05:47 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2021-07-05 12:05:47 -0400 |
commit | b57aa99e101c7cf59fd59d2f8df9fe3547d91acc (patch) | |
tree | 24fe75aa7128944227bcd053b92fb89ade4f580c /res/maps | |
parent | 324346a87c114f0991a092ac8653afecada364b5 (diff) | |
download | tanetane-b57aa99e101c7cf59fd59d2f8df9fe3547d91acc.tar.gz tanetane-b57aa99e101c7cf59fd59d2f8df9fe3547d91acc.tar.bz2 tanetane-b57aa99e101c7cf59fd59d2f8df9fe3547d91acc.zip |
Made the "everyone looks at mirror" behaviour into a background script
This simplifies it a bit, because it no longer needs to constantly check that we are on the right map. It is linked to the mirror's edge.
Diffstat (limited to 'res/maps')
-rw-r--r-- | res/maps/hallucination_mirror.tmx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/res/maps/hallucination_mirror.tmx b/res/maps/hallucination_mirror.tmx index eeeb718..2f2c580 100644 --- a/res/maps/hallucination_mirror.tmx +++ b/res/maps/hallucination_mirror.tmx | |||
@@ -117,6 +117,7 @@ | |||
117 | <object id="11" name="mirror_sight" type="zone" x="176" y="128" width="176" height="48"/> | 117 | <object id="11" name="mirror_sight" type="zone" x="176" y="128" width="176" height="48"/> |
118 | <object id="12" name="mirror_edge" type="sprite" x="176" y="112"> | 118 | <object id="12" name="mirror_edge" type="sprite" x="176" y="112"> |
119 | <properties> | 119 | <properties> |
120 | <property name="backgroundScript" value="look_at_mirror"/> | ||
120 | <property name="collisionHeight" type="int" value="16"/> | 121 | <property name="collisionHeight" type="int" value="16"/> |
121 | <property name="collisionOffsetX" type="int" value="0"/> | 122 | <property name="collisionOffsetX" type="int" value="0"/> |
122 | <property name="collisionOffsetY" type="int" value="0"/> | 123 | <property name="collisionOffsetY" type="int" value="0"/> |