Touch and Mouse enabled
boundary blocks/character set to solid
character- bound to layout, Scroll-to,
Touch-Is in Touch- Sprite(Main Character)- Move- Angle:Self.X,Self.Y, Touch.X, Touch.Y) Distance:300 * dt
This is what I have for the Event sheet, nothing more, just the movement code. I'm sorry I don't know how to put the capx file in here so I just wrote out the event sheet...
I want to solely move the Main Character(sprite) in between the boundaries that make up the maze through touch or mouse movement. The way I have configured the movement through the code is more or less the way I want the movement to be(pretty smooth) I have a touch screen so I can test out the touch movements. It seems no matter what I try I still can't get the Main sprite to stop going through the boundary blocks. Tried setting him as a platformer but nothing.
Let me know, thanks!