Marching Squares 4, a Unity C# Tutorial
In this tutorial we'll add some depth to Marching Squares, and refactor some code. This tutorial comes after Marching Squares 3. Like the previous ones, it has been made with Unity 4.5.2 and might not work for older versions. While Marching Squares is strictly 2D, we have no obligation to keep its visualization perfectly flat.
Paid for by patrons
Marching Squares 4
Thanks to your support, my fourth Marching Squares tutorial is here! We start with refactoring some code, which is something that you'll probably do many times as a programmer. So it makes sense to include it in a tutorial, right? After that's out of the way, we proceed to add some depth to our surface, by adding walls. This involves adding a new mesh, doing some different caching, connecting cell edges, and adding normals. Besides that, this is also the first new tutorial that uses the new layout. It is printer-friendly, and also includes a PDF download link at the bottom of the page. http://catlikecoding.com/unity/tutorials/marching-squares-4/