That's perfect! Only a small thing though, the block when you collide into them lets your character go half way into them.
Develop games in your browser. Powerful, performant & highly capable.
It's a runner my character goes right, but if I land on a certain block I want it to change my direction to make him go left. So if he lands on the first 2 blocks after he lands a jump it causes him to move left and fall off the ledge and die.
I'm looking to make it so when you hit certain blocks it changes your direction. How could I go about doing this?