By the way, it's LittleStain, not LittleStuart.. lol..
LittleStain: So sorry. It is because of the movie.
LittleStain: I had done this before your example. I always try to make the scripts as I see in some examples and after read the manual. I'm sure there is always a simple solution and better than mine, but I do it to learn. I will compare your EV with mine and see where I am going wrong. Thank you.
Thanks —
I did this:
But the lines meet every time I click a new point.
Obs.: I intend to use "maxDots" to define the dots amount and close the draw. Is it correct?
shirokuma: Could you explain how do I connect 4 balls following a specific order.
Could I use a variable to identify each instance too, right? But would be more practical to use the UID?
Using your example, can I include the UID after the name of the sprite (sprite.uid (n). X)?
Thanks
UP
LittleStain: Could you help me with this?
Please, some help.
Sorry to reopen this thread, but my doubt is similar: how can I connect 02 instances of the same sprite?
I'm creating a game of connect the dots and I am unable to generate more than one line to close the figure. Could someone give me help?
https://www.dropbox.com/s/f5hy5uggipwicn8/test_dots_connect.capx
RamPackWobble: You're right. Actually the result is very good. The movement is much smoother. Thank you very much for the example.
spongehammer: Thanks for the suggestion.
Develop games in your browser. Powerful, performant & highly capable.
emoaeden: Exactly. Thanks.
I changed the speed and limits values in your example and everything worked perfectly.
I wonder why my script does not work properly.
Member since 29 Oct, 2012