News
The algorithm’s core is a pair of 2D arrays representing cells that comprise the display area. One array holds the color of the cell, while another holds a velocity vector of the fluid in the cell.
In part two of this tutorial we look at adding hazards, multiple platforms, ground detection and much more to create a basic but fun platformer.
So I have a 2D grid of vertices, each with a Z value representing the displacement at that point. Collectively, these form waves on the surface.I initialize this Z-map to all zeros (state of rest ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results