I would be pleased to understand how things work in the TWP engine, I have 3 questions:
- I just wanted to know if someone has figured out how the positions of the objects are defined? If we look to a wimpy file it seems that the position is defined by the “pos” value and relative to the left/bottom (?) corner of the screen, but the image (or sprite) corresponding to the object (defined in the json file) is centered to this position or translated by the spriteSourceSize.x and spriteSourceSize.y? Or is it something clever than that?
- What is the use of the zsort of a room’s layer? Are the objects and layers sorted by their zsort property in the same array?
- I didn’t really understand the purpose of the “prop” property of an object, I know it has been said here: https://blog.thimbleweedpark.com/wimpy but still what does that change for an object, its position?
I’m really sorry if it’s not clear.