draw snapline to sprite from sprite

Get help using Construct 2

Post » Mon Oct 14, 2013 8:38 pm

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 ?

B
27
S
7
G
3
Posts: 300
Reputation: 4,563

Post » Mon Oct 14, 2013 8:41 pm

sketch to describe please
B
40
S
11
G
7
Posts: 514
Reputation: 9,646

Post » Mon Oct 14, 2013 8:48 pm

[QUOTE=sosensible] sketch to describe please[/QUOTE]

aight wait please
B
27
S
7
G
3
Posts: 300
Reputation: 4,563

Post » Mon Oct 14, 2013 8:50 pm

here is a raw sketch
B
27
S
7
G
3
Posts: 300
Reputation: 4,563

Post » Mon Oct 14, 2013 9:10 pm

anyone ?
B
27
S
7
G
3
Posts: 300
Reputation: 4,563

Post » Mon Oct 14, 2013 9:17 pm

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)
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Mon Oct 14, 2013 9:21 pm

[QUOTE=LittleStain] make sprite set it's position to player.x,player.y
[/QUOTE] what sprite?
dem snapline sprite?
B
27
S
7
G
3
Posts: 300
Reputation: 4,563

Post » Mon Oct 14, 2013 9:26 pm

LittleStain I LOVE YOU
B
27
S
7
G
3
Posts: 300
Reputation: 4,563

Post » Mon Oct 14, 2013 9:45 pm

i can enable the snapline with the F key ONE then when i release the key i cant turn it on again. ...
B
27
S
7
G
3
Posts: 300
Reputation: 4,563

Post » Mon Oct 14, 2013 9:53 pm

If you destroy the sprite it's gone until you create it again.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Next

Return to How do I....?

Who is online

Users browsing this forum: gskunk and 43 guests