Is there a way to make a sprite move left or right using the platform behavior, and then once it gets to a wall, it changes the angle of gravity so it starts to crawl up a wall?
I'm trying the following code, and it's not working:
Player.X < Sprite.X
---Sprite: Simulate Left
If Sprite.Platform.AngleOfMotion = 180 & Sprite has Wall on Left
---Set Sprite.AngleOfGravity = 180
---Sprite.Angle = 90
Any idea on why this doesn't work? My idea is to be able to basically have the sprite move towards the player always being on a floor or wall. Is something like this possible?