(Using the latest version of Wick)
Hi! First time poster. I have been spending some time familiarizing myself with the editor and I must say I am very satisfied with it so far. I do have a problem, however. Currently I am working on a game for fun and I cannot really figure out a good, clean way to stop the player’s movement when the player’s hitbox (A separate clip that moves with the player’s sprite.) touches another object’s hitbox. Just learning JS this has presented itself as quite the challenge. Could anyone come up with a solution and explanation?
What have you tried so far?
I have tried a lot of things. Any solutions that involve pushing the player back did not work well for me. This is because it does not look very good and some solutions I have attempted to make that use that method have been very buggy.
Any sort of help would be greatly appreciated!