• entries
    20
  • comments
    11
  • views
    24453

Unity Tile Map Editor

Sign in to follow this  
Followers 0
CRYP7IK

2879 views

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

0
Sign in to follow this  
Followers 0


0 Comments


There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now