Hi, sorry for my bad english but i need help
i need connect dots of a sprite. the user touches in point A to B spawn another sprite to form the drawing
Create Object "Tiledbackground" at pointa.x, pointa.y, set angle to angle(pointa.x,pointa.y,pointb.x,pointb.y), set height to 1, set width to distance(pointa.x,pointa.y,pointb.x,pointb.y)
Develop games in your browser. Powerful, performant & highly capable.
You have example? because i need to know at what point he touched.
Example: goo.gl/CG9mK4
does the player have to touch both points or will it automatically draw a line to the point with the next higher number?
The player will automatically draw a line to the point
you could pick the first dot by an event "pick nearest dot to touch.x, touch.y"