Move to question
liux2355
Member, BASIC Posts: 33
Hello,
I need to move my actor from self.positionX to self.positionY+400. I have few options.
First I can use move to, problem is that the max speed is 500, I need to move to the destination quickly, like in 0.5 sec.
Second, I can use interpolate, problem is that I can not make interpolating from self. position to self.position+400. It will continue moving w/o stopping.
Third, I can use change attribute, but I won't be able to see the transition of the movement.
So how can I move from self.positionX to self.positionY+400 in really short time and still be able to see the movement.
Thanks.
Go Download "Sub Run" in App Store.
Comments
Max speed can be typed in also 500 is not the limit.
You're stating things that aren't actual constraints of GameSalad. They may be true depending on how you've set up your rules, though. Here's a demo that shows a few methods.
Edit: You can't interpolate an attribute to a variant of itself. You'll need to make a separate attribute to store the starting position. You can see an example of that in the attached demo.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
This is not correct. The speed can be anything you like, even 34,059,442 !
Thanks, I thought the speed bar 500 is the max.
Go Download "Sub Run" in App Store.
Thanks for the reply. Now I see I can type in any speed I want.
Go Download "Sub Run" in App Store.