How do I draw a line between two image points. "lightning"

Get help using Construct 2

Post » Sat Sep 13, 2014 5:54 am

I saw a thread a while back and I got to thinking that being able to draw a line or link sprites together to connect points should be easy.. Just not easy enough for me to figure out. Does anyone know how to do this?

I've included a link to a creative guide, I just don't know how to translate it to C2.

http://drilian.com/2009/02/25/lightning-bolts/
B
12
S
4
G
2
Posts: 132
Reputation: 1,749

Post » Sat Sep 13, 2014 11:06 am

Double click on the sprite, add "Set origin and image points" and add to both ends of the lightning segment.
On the sprite add Behaviour > Pin
This way you can move one and move the rest. Then on each branch of the lightning rotate segments of the lightning
B
32
S
6
G
2
Posts: 317
Reputation: 2,801

Post » Sun Sep 14, 2014 10:01 am

It's not the same thing but i made a fractal tree before. It could give ideas.
You do not have the required permissions to view the files attached to this post.
B
21
S
8
G
6
Posts: 177
Reputation: 8,134


Return to How do I....?

Who is online

Users browsing this forum: marcinkowski, Yahoo [Bot], zenox98 and 25 guests