Question about setting up character controls. Direct finger movement?
I have seen lots of different types of character control videos but I don't think I have seen one for my needs.
Basically I want to be able to control my character with my finger. When I say that I mean as I move my finger around the screen my character stays directly underneath it. Can someone explain how to set that up?
Basically I want to be able to control my character with my finger. When I say that I mean as I move my finger around the screen my character stays directly underneath it. Can someone explain how to set that up?
Comments
Constrain Attribute self.position.X to game.mouse.position.X
Constrain Attribute self.position.Y to game.mouse.position.Y