1D water

Get help using Construct 2

Post » Fri Dec 23, 2011 9:48 am

I found this example and tried to implement it in C2, but with no luck. All that was different is that I had to do Array.At instead of simply Array, as C2 didn't take it. If there is a way of doing this in C2 I would be grateful in knowing.

Link to example in forum.

Also if there is another way, perhaps just a sine wave effect to the image itself that can go on and on to simulate waves (like a flag waving), that would be cool too.

Thank you!
B
24
S
6
G
6
Posts: 255
Reputation: 3,649

Post » Fri Dec 23, 2011 11:35 am

r0j0sWater.capx
Array are 0-based on C2
Last edited by Yann on Sun Sep 14, 2014 10:44 pm, edited 1 time in total.
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Fri Dec 23, 2011 11:39 am

@Yann, Your amazing!
B
29
S
12
G
7
Posts: 740
Reputation: 7,849

Post » Tue Jun 25, 2013 3:14 pm

can anyone walk me through what's happening in this code, I'm having trouble understanding it, I've not worked with arrays before, I've just read a tutorial on them but still foggy.

Like I can't figure out how the code is altering the size of the ripple pr the width of the sea etc.

If there's anything anyone can link me to which can provide info a bit clearer than the manual I'd really appreciate it.CrudeMik2013-06-25 15:15:03
B
39
S
12
G
8
Posts: 580
Reputation: 7,108


Return to How do I....?

Who is online

Users browsing this forum: DemantDigitalArt, farfetchd83, mjj1990, Yahoo [Bot] and 3 guests