You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a 64x64 map, but the objects are larger than these dimensions.
I can change the size of the object after adding it to the map: (In the picture, I changed the Width and Height values of the object to 64x64 to fit the map.)
This size is recorded in the *.tmx file as follows:
<objectgroupid="3"name="Objects">
<properties>
<propertyname="excalibur"type="bool"value="true"/>
</properties>
<!-- I edited the dimensions of this object. -->
<objectid="8"name="doorIn"gid="32"x="120.095"y="256.191"width="64"height="64"/>
<objectid="9"name="doorOut"gid="37"x="440.15"y="256.812"width="64"height="64"/>
<!-- The width and height values of this object are as they should be. -->
<objectid="10"name="doorOut"gid="37"x="440.15"y="256.812"width="78"height="96"/>
</objectgroup>
But this change is being ignored.
Proposal
The sprite that the object points to should be found by gid and if the width and height values are not the same, it should take the width and height values that the object has.
The text was updated successfully, but these errors were encountered:
Context
I have a 64x64 map, but the objects are larger than these dimensions.
I can change the size of the object after adding it to the map:
(In the picture, I changed the Width and Height values of the object to 64x64 to fit the map.)
This size is recorded in the
*.tmx
file as follows:But this change is being ignored.
Proposal
The sprite that the object points to should be found by
gid
and if thewidth
andheight
values are not the same, it should take thewidth
andheight
values that the object has.The text was updated successfully, but these errors were encountered: