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.
Array are 0-based on C2
Develop games in your browser. Powerful, performant & highly capable.
Yann, Your amazing!
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.