Hi,
It has been a long time since I got the time to develop my game but here I am.
I am having difficulties to update from v1.2 to v1.3. I used the map upgrade from the editor but all my maps that contain entities will just crash the editor when loading and without getting any error. I checked further by trying to run them with the game executable. Here is what I get for one map (see attached)
I checked the dat file and got to the lines in question:
switch{
layer = 0,
x = 1544,
y = 1608,
name = "secret_chest1",
subtype = "1",
needs_block = false,
inactivate_when_leaving = false,
}
The second argument is suppose to be the ground type if I understood correctly. In my map, it is the x position of the entity itself.
What should I do to change this and be compatible with v1.3?
Thank you!
It has been a long time since I got the time to develop my game but here I am.
I am having difficulties to update from v1.2 to v1.3. I used the map upgrade from the editor but all my maps that contain entities will just crash the editor when loading and without getting any error. I checked further by trying to run them with the game executable. Here is what I get for one map (see attached)
I checked the dat file and got to the lines in question:
switch{
layer = 0,
x = 1544,
y = 1608,
name = "secret_chest1",
subtype = "1",
needs_block = false,
inactivate_when_leaving = false,
}
The second argument is suppose to be the ground type if I understood correctly. In my map, it is the x position of the entity itself.
What should I do to change this and be compatible with v1.3?
Thank you!