mchlnix / SMB3-Foundry

SMB3 Level Editor in Python
GNU General Public License v3.0
91 stars 12 forks source link

Pipe positions for jumps are inconsistent #158

Open mchlnix opened 1 year ago

mchlnix commented 1 year ago

Dario: However, I would like to add that personally it is annoying to model pipes that are not mouth up, because the position of the pipe showing Foundry (in X and Y) does not coincide with the setting to be used in the jump, it only coincides with the pipe with the mouth up. The system takes into consideration, to find and write the position of each object in Foundry, the first block on the top left of the complete image of each object which has dimensions greater than a 1*1 block, so for example, if I use the tube with the mouth facing downwards, the point considered by the system will be the base of the pipe at the top left and this does not coincide with Mario's exit point which is the specular point downwards of the pipe, towards the mouth of the pipe, therefore I would like advise that when lengthening a tube, the way it is stretched is varied so that, for example using a tube pointing downwards, that is the point considered by Foundry to sense the position the hook point for the elongation, operation that should see a move away from the base of the tube that rises indirectly from the movement of the tiles considered by Foundry to detect the position, so that if I click in the tube in this vertical tube downwards as position it will show me the point of the mouth which will always be Mario's exit point if it will always be in the left corner or will be at the top for the side pipes, obviously the same thing should be true for the pipe facing right, because the point considered by Foundry in this case it will be the base at the top left, not the top of the mouth at the right.

Now I'm going to do a search for issues with the exits, there are some, just I need to run all the tests to be sure of what to say.

However, it would be nice to be able to display the X and Y position of the objects in the upper right corner of the buttons under the menu, it is a bit annoying to search under them in that narrow bar.