I'm making a custom doodad similar to exit_teleport_boss_desert, so I'll use it has an example. I want to put my custom lock on it (which are the same size has the normal one. ie : boss_lock.png)
When I want to align the lock on the exit_teleport_boss_desert doodad, some lock do not align. Even at 1/8 grid size and at this point unchecking doesn't seem to let me move the lock doodad more freely.
I experimented a little and quickly found out that one "pixel" had a 0.125 increment in the vector positioning in the level xml. And has a matter of fact, when I change the position manually in the level xml, I can get the lock doodad in the right position. Which give something like : <vec2 name="pos">-9.9375 31.1875</vec2>
Here is the question (my first one here and my forst post) : Is the a better way to do it ? A way that would be in the editor ? Because if I move the doodad by accident in the editor, I have to move it manually again. It is not a big pain to do it manually because for now I only have this one case, but I'm curious.
Thanks