[ UPDATE ]
Basic mechanic for connecting nodes/dots:
Line match example (not free flow):
You can work from there to match your needs.
You need to put repeat loop before pick random instances to make it works.
You can use loop 'repeat' to specify how many times it will picked up random instances.
tomhaiger
Do you have my example? Or probably example from 99Instances2Go?
DamaRoja
I have not finished the game neither published the game so no plan to release anything related.
Develop games in your browser. Powerful, performant & highly capable.
Removed unnecessary condition. Should working correctly now >> https://www.dropbox.com/s/xx9zkkps60z11 ... .capx?dl=0
Please check the edited capx I put here:
You should check sprites object in projects tree, put_bomb just a small sprite to set where the mines will be placed. There are some miss calculation in your capx. First based on your sprite size, offset value should be set as 50 not 25. Then evaluating distance retrieved from pythagoras equation: ceil(sqrt(50^2+50^2)) will result 71. here I edited yours: https://www.dropbox.com/s/qqm24kaef5s4s ... .capx?dl=0
You should check sprites object in projects tree, put_bomb just a small sprite to set where the mines will be placed. There are some miss calculation in your capx.
First based on your sprite size, offset value should be set as 50 not 25. Then evaluating distance retrieved from pythagoras equation: ceil(sqrt(50^2+50^2)) will result 71.
here I edited yours: https://www.dropbox.com/s/qqm24kaef5s4s ... .capx?dl=0
It all went okay and fast.
Look it here:
I am eagerly want to see how the cat looks like.
Use my method:
Member since 22 Feb, 2012 Last online 28 Nov, 2024