1 decade ago by jswart
I have over-written an entity's ' handleMovementTrace ' method. At the end of this method I call
Why is it that when I do something like this:
Why is my ' newRes ' not taken into account? The entity is still able to move. Is there another way this must be done?
this.parent(res);
Why is it that when I do something like this:
newRes = { collision: { x: true, y: true, slope: false }, pos: { x: 0, y: 0 }, // this is all just filler data. The important part is the collision. tile: { x: 0, y: 0 } } this.parent(newRes);
Why is my ' newRes ' not taken into account? The entity is still able to move. Is there another way this must be done?