Simple pixel animated water that reacts to physics.
- Set the water texture (it should be an animated texture resource).
- Set the
width
. This will create the number of points to draw for the water. - Set the
offset_x
. It iss the distance between points.