Need help for : Move to whre you touch function.
Hi, I just need help with being able to move to where you touch controls?
I saw this thread:
Put this in the actor you want to move:
when mouse is down
interpolate self.position.x to mouse.position.x
duration 0.2
interpolate self.position.y to mouse.position.y
duration 0.2
I am new to programming and I am not sure how this translate to Game Salad.
Thank You
I saw this thread:
Put this in the actor you want to move:
when mouse is down
interpolate self.position.x to mouse.position.x
duration 0.2
interpolate self.position.y to mouse.position.y
duration 0.2
I am new to programming and I am not sure how this translate to Game Salad.
Thank You
Best Answer
-
JohnPapiomitis Posts: 6,256
Interpolate is in the behavior section with all the behaviors and duration is in the interpolate behavior itself.
Answers
download the new GS Manual: … http://gamesalad.com/blog
click on the Cookbook link at the top of this page … and do some tutorials
view the videos:
spend some time getting acquainted with your new toy/tool
wont take you long @ CGOStudios … you are curious and focused!
Enjoy yourself!
But yeah I will look through some tuts. that may point me in the right direction.
Thank You.
So yeah the code is working also.
The Community here is so helpful!