Hi Guys, so i made this capx file to test about my constellation game..
i got the idea from night in the wood game
so i manage to connect the dots but i cant seem to connect it while they are moving around the screen...
i tried using pin the line onto the dot but its just pin it onto the background
heres my capx file..
dropbox.com/sh/gxj2y2ygdokuwtz/AADWzysfOgAV-vDCsNMEkYeYa
i hope you guys can help me out....
Develop games in your browser. Powerful, performant & highly capable.
Simple!
Set the width of the line to be equal to the distance of the two objects. Set the origin of the line to be at the right end (I think). Set the angle of the line to be the angle towards the other object from the original object. Set the position of the line to be on the original object. This is basically how line of sight can work. The line is just a long stretched out box. It should look fine if it's just one color with no texture.
I think i have tried all that Sushin, and its working just fine if the dots are not moving..haha
If its moving however the line will stay in the same place eventhough i have pinned it to the dots..
Have u tried looking at my capx file?
Nevermind guys i got it working....
i put the action pin in the wrong condition...
Thx for your help though Sushin