Questions about Actor and Move
OK, i'm having a brain freeze
I'm trying to get my actor to move to position on screen by touch, not teleport but walk to a destination, 8 directional. Like Secret of monkey island style gameplay.
I have searched the forum, looked at gs helper and youtube and there are close examples but not what i'm after.
I've tried self.position x & y to match the device.touch but doesn't work correctly.
Appreciate any advice
thankyou.
I'm trying to get my actor to move to position on screen by touch, not teleport but walk to a destination, 8 directional. Like Secret of monkey island style gameplay.
I have searched the forum, looked at gs helper and youtube and there are close examples but not what i'm after.
I've tried self.position x & y to match the device.touch but doesn't work correctly.
Appreciate any advice
thankyou.
Comments
so I have yet another problem that I cant seem to figure out. I hope it is not one of those impossible to fix on GS ones
I have an actor set to move to the touch position (X,Y) when att:clicked is true and att:move button pressed is true. It works only half the time though, and the other half instead of moving to the touch position at xxx speed, it instantly appears at that point. This confuzzles me as it does work, but will glitch too.
Any help appreciated
-Ryan
P.S. Bot (previously "Box") Slayer 1.5.0.0 for web version is almost done, it features a few bug fixes and graphics levels*10000
But you want to interpolate self position x to touchX and interpolate self position y to touchY when your click attribute is true
http://forums.gamesalad.com/discussion/34441/-constrain-to-mouse-and-keep-collision-with-walls-by-tshirtbooth/p1
Instead of having the actor move toward the mouse, have it move toward any x,y point you designate.
Hope this helps!
RThurman
for my project I need to be able to touch anywhere and then the actor goes to that point. In T-shirts project you have to keep the touch pressed down to move the actor around.
RThurman
http://www.mediafire.com/download.php?h3p7p4yczibu3e4
RThurman