diff options
author | David Thompson <dthompson2@worcester.edu> | 2023-10-28 11:54:07 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2023-10-28 11:54:07 -0400 |
commit | 8c07c3f051e29f200a653f961a366099804fe415 (patch) | |
tree | 4eff28426c4af2325c14c5e75d9cf6329e38b9dd | |
parent | 70b79936887c5c4a2549ce3f3f8962917cc5f10e (diff) |
Set scroll speed at map start.
-rw-r--r-- | level.tmx | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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> |