Radio waves animation

Get help using Construct 2

Post » Fri Aug 30, 2013 4:27 am

How do construct 2 could create a wave animation similar to the next image?



I've tried with this project:

https://www.dropbox.com/s/v3ni0y0gnvlcmrp/waves.capx

But it just draws it, not animate a flowing displacement of that waves.

How to solve it?
B
17
S
4
G
1
Posts: 105
Reputation: 1,874

Post » Fri Aug 30, 2013 4:28 am

The project link:

https://www.dropbox.com/s/v3ni0y0gnvlcmrp/waves.capx%20
B
17
S
4
G
1
Posts: 105
Reputation: 1,874

Post » Fri Aug 30, 2013 4:43 am

Like this?:
https://dl.dropboxusercontent.com/u/666516/timerwaves.capx
Image ImageImage
B
169
S
50
G
174
Posts: 8,328
Reputation: 110,800

Post » Fri Aug 30, 2013 3:37 pm

Wow, newt!

That was impressive. But actually what i'm trying to do is to draw these waves in a canvas because I have to change the degree values of the arc.

It is possible to make the animation you did in a canvas?

Check out this project:
https://www.dropbox.com/s/v3ni0y0gnvlcmrp/waves.capx

it fills the canvas, but no animation at all. Hummm...I've employed the timer wait 1 second before drawing the next arc, but it doesn't seems to work. I'm thrilled...

Thanks in advance for any help!
B
17
S
4
G
1
Posts: 105
Reputation: 1,874

Post » Fri Aug 30, 2013 4:58 pm

Updated my original to use canvas.
Image ImageImage
B
169
S
50
G
174
Posts: 8,328
Reputation: 110,800

Post » Fri Aug 30, 2013 5:09 pm

Let's see...
B
17
S
4
G
1
Posts: 105
Reputation: 1,874

Post » Fri Aug 30, 2013 5:14 pm

This is awesome, Newt! I'm going to study the code and try to turn it into an automated behaviour, without need of mouse click.

I'm sending you the results!

Great!
B
17
S
4
G
1
Posts: 105
Reputation: 1,874

Post » Fri Aug 30, 2013 5:27 pm

That's it, now it should be able to start automatically the animation at an appropiate rhytm so that there are several waves moving away from the border at the same pace, one each 0.25 seconds.

https://www.dropbox.com/s/bfbwkrmayk0vv0f/timer.capx%20
B
17
S
4
G
1
Posts: 105
Reputation: 1,874

Post » Fri Aug 30, 2013 11:06 pm

Take a look on:

https://www.dropbox.com/s/7lo0uk6bvxec216/radiowaves.capx

Now it's starting to work. I have two new questions, nevertheless, for you:

How to implement in construct a loop that allows to create new waves always that the radius reach certain value?

And

How it is posible that the variable values are soo high from the begginig? I have had to divide them by 100 to make them useful!
B
17
S
4
G
1
Posts: 105
Reputation: 1,874

Post » Fri Aug 30, 2013 11:09 pm

for first question: spawn every X*dt
B
12
S
3
G
1
Posts: 347
Reputation: 2,866

Next

Return to How do I....?

Who is online

Users browsing this forum: jbr190, valefor and 30 guests