summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2023-10-28 11:54:07 -0400
committerDavid Thompson <dthompson2@worcester.edu>2023-10-28 11:54:07 -0400
commit8c07c3f051e29f200a653f961a366099804fe415 (patch)
tree4eff28426c4af2325c14c5e75d9cf6329e38b9dd
parent70b79936887c5c4a2549ce3f3f8962917cc5f10e (diff)
Set scroll speed at map start.
-rw-r--r--level.tmx8
1 files changed, 7 insertions, 1 deletions
diff --git a/level.tmx b/level.tmx
index 49eefb6..c11ffec 100644
--- a/level.tmx
+++ b/level.tmx
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<map version="1.8" tiledversion="1.8.6" orientation="orthogonal" renderorder="right-down" width="15" height="200" tilewidth="16" tileheight="16" infinite="0" nextlayerid="8" nextobjectid="72">
+<map version="1.8" tiledversion="1.8.6" orientation="orthogonal" renderorder="right-down" width="15" height="200" tilewidth="16" tileheight="16" infinite="0" nextlayerid="8" nextobjectid="73">
<tileset firstgid="1" source="tiles.tsx"/>
<tileset firstgid="7" source="background.tsx"/>
<objectgroup id="7" name="background" visible="0" parallaxy="0.75">
@@ -466,5 +466,11 @@
<property name="speed" type="float" value="1"/>
</properties>
</object>
+ <object id="72" type="scroll-speed" x="0" y="3184" width="16" height="16">
+ <properties>
+ <property name="duration" type="int" value="0"/>
+ <property name="speed" type="float" value="0.5"/>
+ </properties>
+ </object>
</objectgroup>
</map>