Page 1 of 1

1D water

PostPosted: Fri Dec 23, 2011 9:48 am
by roracle
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!

Re: 1D water

PostPosted: Fri Dec 23, 2011 11:35 am
by Yann
Array are 0-based on C2

Re: 1D water

PostPosted: Fri Dec 23, 2011 11:39 am
by smitchell
@Yann, Your amazing!

Re: 1D water

PostPosted: Tue Jun 25, 2013 3:14 pm
by CrudeMik
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