Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+3)

Thank you very much!


For the water, effect first I pick a bunch of random points on the water area, and copy the color on the opposite side (same X coordinate), with twice the height (Y coodinate). Indicated by the red lines.

Then instead of drawing points, I draw a line that keeps growing and shinking like a sine wave (green). Something like "width=sin(time)*5".

After that i'ts just making them move horizontally to make it less static and make the "closer" waves wider than the "further" ones to give a little sense of depth.

Hope this helps :)

(+2)

Aaah I see. That's really clever
Thank you for the thorough  explanation with a screenshot and everything
Definitely gonna use this at some point :)