Move the Box move style!
fightjunkie01@hotmail.com
Member, PRO Posts: 60
Ok I have been going nuts trying to figure this out.
I need to be able to move the Actor Left, Right, Up or down depending on which way I press him and move him.
Here is the catchy part though. I only want him to move 30 pixels or so in any direction that I move him too.
This is not a swipe, Think of it like constraining is self.position.x to mouse.touch.x or whatever But only allowing him to go a max of 30 pxl in any direction.
One more question,
How do I get him to fall freely if another actor is not underneath him holding him up?
I need to be able to move the Actor Left, Right, Up or down depending on which way I press him and move him.
Here is the catchy part though. I only want him to move 30 pixels or so in any direction that I move him too.
This is not a swipe, Think of it like constraining is self.position.x to mouse.touch.x or whatever But only allowing him to go a max of 30 pxl in any direction.
One more question,
How do I get him to fall freely if another actor is not underneath him holding him up?
Comments
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx