CopperTileMapper
A downloadable asset pack
This plugin provides functionality to create a tile map using a selected texture in the CopperCube game engine.
It allows the user to specify the number of rows and columns for the tile map and generates a grid of planes with the specified texture.
Additionally, the plugin supports snapping selected nodes to a grid and rounding rotations to 90 degrees when holding Alt and Z.
Functionality:
- createTileMap(): Prompts the user for the number of texture rows and columns, creates a grid of planes with the selected texture.
- snapNodeToGrid(): Snaps the selected scene node's position and rotation to the nearest grid point (assumes a grid size of 5),
and rounds the rotation to the nearest 90 degrees when holding Alt and Z.
Usage:
- Call createTileMap() to generate a tile map with specified rows and columns.
- Call snapNodeToGrid() to snap the selected node's position and rotation to the grid (Alt+Z).
Download
Click download now to get access to the following files:
Development log
- CopperTileMapper updateNov 14, 2023
- Fixing Tile PositionNov 12, 2023
Leave a comment
Log in with itch.io to leave a comment.