Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
how can i ?...
draw a simple line ( ok i want a glowing line yeah you caught me) to a object (a sprite) that is far away from the player sprite ?
sketch to describe please
aight wait please
Develop games in your browser. Powerful, performant & highly capable.
here is a raw sketch <img src="http://burningcake.com/up/img/datei_1381780177.png" border="0" />
anyone ?
make sprite set it's position to player.x,player.y
set it's origin to left
set it's angle to angle(player.x,player.y,npc.x,npc.y)
set it's width to distance(player.x,player.y,npc.x,npc.y)
make sprite set it's position to player.x,player.y what sprite?
what sprite?
dem snapline sprite?
LittleStain I LOVE YOU <img src="http://puu.sh/4QamL.png" border="0" />
i can enable the snapline with the F key ONE then when i release the key i cant turn it on again. ...
<img src="http://puu.sh/4Qbq6.png" border="0" />
If you destroy the sprite it's gone until you create it again.
damn.. its too late i should go to sleep instead of asking that stupid stuff :D thanks man!
like littleStain says, don't destroy the sprite, just hide it (set visibility to invisble). But make sure you make it visible when you press F