HTML-page body

Document body

Blog

Articles of the blog

  • Hex Grid introduction video

    I made a short video giving you an overview of hex grids, so you can see them right in action. I'll make a video on how to extend Grid Framework with your own methods yourself next,

  • Grid Framework version 1.2.0 released

    The wait is over, version 1.2.0 is out, bringing you the long promised hex grids. I'll soon make a video demonstrating the new grid, in the meantime let me explain it in words. My implementation brings you all the features you knew from rectangular grids, except on a …

  • Grid Framework version 1.2.0 submitted

    Just a quick update, version 1.2.0 has been submitted. This is your last chance to buy the package for 15$, once it has been approved the price will be raised to 20$.

  • Grid Framework version 1.1.10 released

    The 1.1.10 update brings in a new function, ScaleVector3(Vector scl) : Vector3 which takes in a vector and then scales it so it fits inside the grid. This is similar to AlignVector3, which was introduced in the last update, to allow performing the aligning and scaling without having …

  • How about herring for lunch?

    Another progress update: WorldToGrid and GridToWorld are now implemented. For those who don't know, those two functions convert a point's coordinates from world space to grid space, the coordinate system used to locate points relative to the grid's properties, and back. For rectangular grids it's a fairly simple idea, the …

  • Trying to fit a square peg into a hex hole

    The align feature has been giving me quite some headache lately. For small objects it's easy, just fit them inside the nearest hex. It gets more interesting once your object spans over more than one hex. Here is a screenshot from the game "Age of Wonders" for PC (I upscaled …

  • Grid Framework version 1.1.9 released

    Surprise update! Version 1.1.9 just got approved and it contains quite a few changes:

    • NEW METHOD AlignVector3: lets you align a single point represented as a Vector3 instead of a Transform to a grid
    • added the ability to lock a certain axis when calling AlignTransform and AlignVector3
    • added …
  • How to loop through a list and remove items

    The other day I had the following problem: I had a list of Transfoms and I wanted to remove the entries that met a certain condition. This is what I had written:

    foreach(Transform trns in transformList){
        if(AlreadyAligned(trns))
            transformList.Remove(trns);
    }
    

    This gave me the following error message …

  • Hex Grids love Vectrosity

    Good news at last, I just finished the finding functions for vertices, both in grid space and in world space. Here is a screenshot where the yellow gizmo indicates the vertex closest to the grey sphere.

    some image

    This may not seem like much, but being able to find faces, boxes and …

  • Vertex progress

    Good news at last, I just finished the finding functions for vertices, both in grid space and in world space. Here is a screenshot where the yellow gizmo indicates the vertex closest to the grey sphere.

    some image

    This may not seem like much, but being able to find faces, boxes and …