You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 8, 2018. It is now read-only.
I've noticed the anchor property, specifically changing it, is broken with the plugin, but only after setting the physics of the sprite to iso mode. The sprite's position gets radically changed. If i set the anchor to 0.001 the sprite begins to slowly move to the left (very slow lol) but if i set it to .5 its thousands of pixels away instantly, and does not continue moving.
to replicate:
create a sprite,
enable isoArcade phsyics (if you do not do this first there is no problem)
do sprite.anchor.setTo(.5); or sprite.anchor+=.5
check the position of the sprite, as its now very far away. For me I got a negative value every time.
The text was updated successfully, but these errors were encountered:
Update: I've found the source of the issue. sprite.anchor.setTo(x, y) is actually sprite.anchor.setTo(x, z) for some reason. When i do sprite.anchor.y = .7 it modifies the sprites z rather than y.
Hi,
I've noticed the anchor property, specifically changing it, is broken with the plugin, but only after setting the physics of the sprite to iso mode. The sprite's position gets radically changed. If i set the anchor to 0.001 the sprite begins to slowly move to the left (very slow lol) but if i set it to .5 its thousands of pixels away instantly, and does not continue moving.
to replicate:
create a sprite,
enable isoArcade phsyics (if you do not do this first there is no problem)
do sprite.anchor.setTo(.5); or sprite.anchor+=.5
check the position of the sprite, as its now very far away. For me I got a negative value every time.
The text was updated successfully, but these errors were encountered: