I know this is a dumb question but how do you detect top-down collision? I'm trying to remake a game I made in GM (
) in C2 and I don't want the player to move over the trees.
I'm only using the solid behaviour on both trees and player and don't know how to prevent the player going over the trees!
Keyboard -> On Right Arrow pressed -> Set X to SpriteX+32
to move. What condition do I use to say "don't move right if next to a tree on the player's right"?