Greetings, can anyone suggest how to implement touch events to move a character with a finger moving from one position of the screen to another?
vmikhaylov (Vladimir) #1
rostok (rostok) #2
Simple touch (no swiping) works just like mousePressed event. So on this event (can be checked every frame) get mouse position and add it to some list of next positions.