Unity Tile Map Editor

Published October 29, 2014
Recently I started a game with a friend which required a tile map, the following is a series of the editor progress.

So first I got a basic layout of the UI:

UIlayout.png

Then a pluggable menu bar (Inherit from ITileMapMenuItem and add it to the window).

Progress1.png

Followed by ripped images from Tiled and all basic tools in as skeletons

Progress2.png

Then I added the layer control and underlying API alongside a tile map asset for Unity and tile map selector and Tile Map view and grid.



Then I added the actual logic for stamp tool, fill tool and erase tool, fixed up the selection rect and a few little bugs



Following that I added undo\redo and keybinds for menu items




Then I added a proper TileSet asset which holds a list of tiles and their shared sprite



Today I changed some bits of the TileSet UI and updated it to work with Unity 5 beta, cleaned up the API, properly saved the tile definitions inside of the tileset and added ability for tilemaps\tilesets to have different tile sizes.

Unity5.png

Things I have left to do:

TODO:

- erase should set the mouse object to a light blue null tile
- tile defining (When creating a tile-set asset for collider \ rigid-body)
- click drag multi-tile selection and placement
- prefab selection and placement

And the current LoC is 2120:

LoC.png
Previous Entry Toasty Update #9
Next Entry Octree Voxel Planet
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!

Latest Entries

Dimins V2018.2

3006 views

Dimins V2018.1

3498 views

Octree Voxel Planet

4799 views

Toasty Update #9

3279 views

Toasty Update #8

3047 views

Toasty Update #7

3118 views

Toasty Inspiration

3064 views

Toasty Update #6

2807 views

Toasty Update #5

3031 views