How do I draw a line with sine

Get help using Construct 2

Post » Sat Jul 23, 2016 3:53 am

Hello. I have a sprite called beam that shoots forward while in a sine pattern. I have another sprite called trail. Every tick, it creates a Trail at Beam and the Trail fades out. I want there to basically be a solid line of Trail behind the beam, but no matter how slow the beam goes or how slow the sine period is, it always makes a dotted line. Does anybody know a way?
B
4
Posts: 8
Reputation: 216

Post » Sat Jul 23, 2016 3:27 pm

@R0j0hound has a draw_line.capx that did more or less what you want.

I lost his post, but the capx is here: https://drive.google.com/file/d/0B-xiqK ... sp=sharing
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,415
Reputation: 4,824

Post » Sat Jul 23, 2016 8:06 pm

@Bioniclekolacz
You become dotted and you want a linear line?
Dont't use sprites rather a TiledBackground and set his size ...
B
5
S
1
Posts: 24
Reputation: 423


Return to How do I....?

Who is online

Users browsing this forum: charliesan763, JaredX and 10 guests