Customizable Game Grid View on Asset Store (opens in new tab)

Package details

Latest version
0.1.1-beta
Last updated
First released
Unity version
2019.4.29 or later
Package size
2.3 MB
Files
91
Favorites
43
Views in the past week
3

Price tracking

Last checked
Tracked since
Lowest recorded
$13.99 on

Keywords

Customizable Game Grid

by TechnOllieG (opens in new tab)

1 rating, too few to average

Make grids for your grid-based games, designed with performance and ease of use in mind. It can aid you to make games with building, AI pathfinding, grid-based player movement, grid-based maps, etc.

Price $19.99

Buy on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Customizable Game Grid, 6 months Current $19.99; lowest $19.99; highest $19.99 in this period. $0 $10 $20 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 7

Customizable Game Grid screenshot 1

Customizable Game Grid screenshot 1

About this asset

Documentation

The customizable game grid is a tool for Unity, it can be used to generate grids that exist as an array of Vector3 positions of grid points. The grid can have a transform or a fixed position/rotation that acts as the origin (movable during runtime without regenerating the array).

The grid can be visualized using lines both at runtime and in editor. Utility methods in the grid class can be used to get the closest grid point to a given world position, an adjacent grid point in a given direction, etc.

The grid is built for performance and extra features such as line drawing are completely optional if positional transformations is all that is needed.

Objects can also be spawned on the grid with the included object spawner using a variety of different spawning modes. In specific spawning modes objects can be placed by clicking or dragging the mouse over the grid in scene view, which makes the creation of grid-based maps super quick.

Examples of usages:

• Getting world positions of grid points (even while the grid is moving)

• Basis for path-finding algorithms like A*.

• Basis for grid based movement in RTS games etc.

• Grid based building in village games or sandbox games etc.

• Quick creation of static or procedural grid based maps with the object spawner.

• Purely visual grids using line drawing (customizable color and line width).

If you have questions, bugs or feature requests please contact me!

From the publisher's Asset Store listing.

Technical details

• Create grids using the C# class Grid2D or the MonoBehaviour wrapper Grid2DMono.

• Set origin of the grid to be a transform or fixed position/rotation (transform can be moved during runtime).

• Get positions of grid points both in grid space or world space.

• Get closest grid point to a given world space position.

• Visualize grids with lines (drawn using Gizmos in Editor and GL during runtime).

• Spawn objects (primitives or custom prefabs) using a wide-variety of spawning modes such as all indices, checkered, specified indices, etc.

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP Custom
2019.4.29f1 Compatible Compatible Compatible Compatible

While the tool itself is compatible with all render pipelines since you source your own materials, some example scenes may have missing materials in non-SRP pipelines.

As listed on the Asset Store.