Class abilities

This UI is obviously placeholder and terrible, but the game mechanics are now going in. Those who were following the development of MMORPG Tycoon 1.1 (before I cancelled work on it) will remember that the major new features in version 1.1 were going to be the new, more interesting player AI model, and the user-adjustable…

Math is hard.

Stuff from today: I fixed up the generation of the Voronoi cells, so that there are no longer “empty spaces” in the corners and edges of the map, as I mentioned yesterday.  It’s true that having them there wouldn’t have caused a problem for regions, but I’m planning to use this code for a few…

Regions moved over to the new map system

Apologies;  I promise that there’ll actually be some colour in tomorrow’s development screenshot! So today I’ve done a few more bits and pieces.  First, I fixed the weird clipping bug in the northwest corner of the map which I mentioned yesterday (it was just float imprecision.  Gotta love it!).  Second, I moved the generation of…

Clipping

This screenshot is basically invisible, in this thumbnail.  Today’s work was clipping Voronoi regions against other regions.  In computer graphics, “clipping” generally means not drawing something;  usually this is in reference to 3D objects.  For example, you might “clip” a 3D model against the viewing area, and then not bother drawing any parts of the…

Delaunay

What you’re looking at here is known in mathematic circles as a Delaunay tesselation (viewed from a skewed angle).  Basically, pick a bunch of random points in space, then join those points together with lines in such a way as to make the nicest triangles possible.  Of course, being a mathematics thing, there’s actually a…