Customizable Game Grid
TechnOllieG
$21.99
(no ratings)
Date |
Price |
---|---|
日時 |
価格($) |
11/25(2021) |
21.99 |
11/25(2021) |
15.39 |
12/02(2021) |
21.99 |
11/06(2024) |
21.99 |
Jump AssetStore
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.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.DocumentationThe 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!• 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.