Search

Friday, October 9, 2020

Making Scratch Projects :: Help With Scripts :: Wall Collision Need Help

Vortexian_ScratchE :

Arbiter1227 wrote:

There are…a number of problems.

First of all, I'm not entirely sure why you made a separate sprite to act as the hitbox.
Second, I think you did it because you wanted the player to move independently of the direction it was facing, but then you should have just used “change x by” and “change y by” instead.

The problem is created because the hitbox is hidden (which means it can't detect the wall) and because it's not only behind the player, but also smaller than the player.
Ah ok got it, I am not the best with Scratch and am newer so I am not amazing at it.

from Latest posts on Help With Scripts https://ift.tt/3iQp74B

No comments:

Post a Comment