How can i draw dotted line from given point to given point?
Develop games in your browser. Powerful, performant & highly capable.
Easiest way it would seem would be to create a tiled-background consisting of a dark part and an empty part and set it's angle from point 1 to point 2 and it's width to the distance between them..
Sorry i don't understand " set it's angle from point 1 to point 2"!! can you gine an example plz?
set angle : angle(x1,y1,x2,y2) where x1 is the x-position of point 1, etcetera..
for the distance you can use distance(x1,y1,x2,y2)
thank you very much for your help!!!!
mikelantzelo can you please send a .capx? i am not sure i understand it or maybe attach a picture of your events?
Here is a small example... i don't know if this is what you want... <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">
https://www.dropbox.com/s/3cm9akydyds01 ... .capx?dl=0