Need a little help?
tollhousestudio
Member Posts: 166
I thought I had this sorted but for some reason I don't. I thought it was quite easy.
I have an actor that I want to walk to the spot on the screen I touch. It will be a 2d plain so its only left and right.
So if he is standing left of the screen, and I click somewhere on the right, i want him to walk to that point and stop?
I have an actor that I want to walk to the spot on the screen I touch. It will be a 2d plain so its only left and right.
So if he is standing left of the screen, and I click somewhere on the right, i want him to walk to that point and stop?
Comments
game.touch1.X
game.touch1.Y
seems like it should work.
Also, not sure on your app orientation, but is gravity maybe pulling the player to the left? Maybe an orientation or a gravity setting tweak?