Ah, I see! Thanks so much for explaining. This was my first time reading a DAT file, as well as learning of its existence, and was unsure of why it was positioned there. I was under the assumption that the origin point would usually be positioned in the center of a sprite instead of representing the lid or other visual details - like you mentioned.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages1
#2
General discussion / Question Relating to Origins
December 22, 2023, 12:52:40 AM
Hi, I recently downloaded the version of Solarus with the Quest Editor because I wanted to create my own Zelda-like game someday. When I figured out that I needed a DAT file and learned how to make one for my sprite sheets, I am confused about something. When reading the DAT file for a chest, I noticed how a 16-pixel by 16-pixel chest has an origin_x of 8 (which is understandable since it's half the length of the chest), but I am so confused as to why the origin_y is 13. Could someone knowledgeable explain this to me?
Pages1