Hello, I'm still discovering GMS, and I keep having issues, and questions about some behavior.
Here is what brings me this time :
The script in the left is used by the tree, and the Object1 is that character.
Because I think it's hugely link, I add that i put "depth = -y" in both of the object's code, as a member adviced me to, in order to create an effect of perspective. It could also have a link with the fact that the two objects have their collision mask at the bottom of their sprite (the feet/the roots), and that their sprite's center is at bottom left.
I tried to put an idle object right on the tree's collision mask and the console showed that the tree and the idle object were meeting. After many tries, I managed to make the character and the tree meet but only in single-pixeled area in the top left of the tree's collision mask.
I really don't see what i could do.
Any help would be very appreciated! Thanks!
Here is what brings me this time :
The script in the left is used by the tree, and the Object1 is that character.
Because I think it's hugely link, I add that i put "depth = -y" in both of the object's code, as a member adviced me to, in order to create an effect of perspective. It could also have a link with the fact that the two objects have their collision mask at the bottom of their sprite (the feet/the roots), and that their sprite's center is at bottom left.
I tried to put an idle object right on the tree's collision mask and the console showed that the tree and the idle object were meeting. After many tries, I managed to make the character and the tree meet but only in single-pixeled area in the top left of the tree's collision mask.
I really don't see what i could do.
Any help would be very appreciated! Thanks!
Last edited: