Drawing a sine wave?

Get help using Construct 2

Post » Thu Jan 17, 2013 10:26 pm

Hi.
This one is for the "math" magicians.
@ROJOhound @Yann


As shown above, i need to "automaticly" have a sinewave drawn, using the sprites as distance points.

I dont have any clue on how to go about this.
If i would, then i had implemented a capx
I welcome any tips!

Kind Regards
Savvy001
B
56
S
20
G
13
Posts: 778
Reputation: 13,204

Post » Thu Jan 17, 2013 10:30 pm

The wave you drew isn't a sine wave, it's an arrangement of semicircles. Do you want that or an actual sine wave? The formula will change either way.
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Thu Jan 17, 2013 10:50 pm

@sqiddster

A real sinewave is what im after.
This was just to give a visual understanding.
But it is important that the sine's go from sprite to sprite.
B
56
S
20
G
13
Posts: 778
Reputation: 13,204

Post » Thu Jan 17, 2013 10:53 pm

Hmm, I think you'll need to ask @R0j0hound or Yann about this one, I have no idea of the forulae involved here.
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Thu Jan 17, 2013 11:14 pm

@sqiddster

Thanx for the effort
B
56
S
20
G
13
Posts: 778
Reputation: 13,204

Post » Fri Jan 18, 2013 8:38 pm

That's not a sinewave, but here's an example that behaves like your diagram:
http://dl.dropbox.com/u/5426011/examples16/wave_thru_points.capx
B
79
S
24
G
54
Posts: 4,746
Reputation: 40,755

Post » Fri Jan 18, 2013 9:24 pm

@ROJOhound

Thank u so much!
Now i can study what u did and learn from it
Then i can build it into my app.

Kind Regards.
Savvy001
B
56
S
20
G
13
Posts: 778
Reputation: 13,204


Return to How do I....?

Who is online

Users browsing this forum: DiabloOvermind, emoticon, MrWhizm and 18 guests