Gamelogic
  • Home
  • Blog
  • Tools
    • Grids 2 (for Unity)
      • Features
      • Documentation
    • Grids 1 (Legacy, for Unity)
      • 30 games in 30 days
      • Features
      • Tutorials, Documentation, and FAQ
      • Games made with Grids for Unity
      • Examples
      • What is new?
      • Grid Prototypes and Previews
      • Buy
    • Extensions
    • Colors
      • Features
      • Documentation and tutorials
      • Buy
    • Words
      • Features
      • Documentation
      • Buy
    • Abstract Strategy
      • Features
      • Documentation and tutorials
      • Examples
      • Buy
    • Match
      • Features
    • Grids (for GameMaker)
      • 30 games in 30 days
      • Features
      • Documentation
      • Buy
  • Buy
  • Articles
  • Support
    • Knowledge Base
    • Email Support
  • About
    • Meet our team

Blog

Grids 2.2

Grids 2.2 was accepted in the Asset Store last week.

We fixed some small bugs and warnings.

In the previous update we made our division operator consistent with that of Unity’s, but we did not change the mod operator to match! In this update, we do this. We also deprecated the old Div and Mod methods, and added two versions for each (one for floor division, and one for trunc division). Floor division (where (-1)/2 = -1) is the one you should find most useful in grid algorithms. Trunc division (where (-1)/2 = 0) is a method that implement ts the same behaviour as the operator. In all cases, mod has been implemented so that (x div n)n + (x mod n) = x.

The most interesting new features involve new methods and nodes for 3D shapes. We added layered shapes which allows you to use 2D shapes (either the same, or different ones) as layers of a 3D grid. We also added a new node that creates a 3D grid shape from 2D orthographic projections (the shapes in the image above was created with this node from only 4 different 2D shapes).

We also added a new “graph shape node” that allows you to use one shape graph in another. This makes it easier to construct complicated shapes.

We also added a new round map (both in code and to grid builders) called HexBlockRound, which is suitable to use for layered hex grids.

Finally, we also added inspectable versions of Interval, GridInterval, GridRect and GridBounds so these cfan be used in the inspector.

 

 

 

Share this:

  • Click to share on Facebook (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on Pinterest (Opens in new window)

Related

  1. Grids 2.1  Grids 2.1 was accepted today. It contains a few minor...
  2. What is new in Grids Pro 2.3.5  A new update for Grids Pro is in the asset...
  3. Grids Version 1.2 Now Available in the Asset Store  Since the first release, we have been working hard fixing...
  4. Support for Bitmask Shapes and Polyominoes in Grids 2.3  Polyominoes are used as pieces in many puzzle games, and...
  • Permalink
  • Posted: 7 August 2016
  • Author: Gamelogic
Recent Posts
  • Tool Documentation Overhaul
  • What is new in Grids Pro 2.3.5
  • What is new in Grids Pro 2.3.2
  • What is new in Abstract Strategy 2.1.1
  • What is new in Words 2.0.2
Categories
  • 30 Games in 30 Days
  • AbstractStrategy
  • Aside
  • Colors
  • Example
  • Extensions
  • General
  • Grids
  • Grids 2
  • Previews
  • Programming
  • Social Media
  • Uncategorized
  • Words
Follow us on Twitter
My Tweets
Meta
  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
  • Home
  • Features
  • Blog
  • About
  • 14 Eglin Road, Sunninghill, Johannesburg, South Africa
  • support@gamelogic.co.za
Stay Connected
  • Facebook
  • Google
  • Linkedin
  • Rss
  • Twitter
  • Gamelogic © 2013