Small tool for working with tilemap layers (inside scene view)

Started on small editorscript to make using layers easier…

currently just 1 feature:

  • Swap tilemap layer with PageUp/PageDown keys

*note: clicking the layer buttons with mouse doesn’t do anything yet

source:

2701084--191313--upload_2016-6-30_21-58-50.png

Nice!!!

Added:

  • Option to fade non-selected layers (make them semi-transparent)

2702627--191455--tilemaphighlight.gif

1 Like

Good work. Keep this stuff coming.

Added:

Just for testing so far, not sure if it needs icon, and still thinking if/how locking a layer would do…

2703994--191565--tilemap-arrange.gif

1 Like

You shoud update the original post too, if not it seems like it is still the first version (at first glance) :slight_smile:
Oh, and nice feature !

This is great, I’m surprised they haven’t integrated this into their own build! Wow.

Sweeeet! Thanks for sharing!

Updated the source in original post link^

  • Fixed: Keyboards event were all eaten/used, now only for those keys that are used
  • Added: Press G to toggle between Framed, PixelPerfectZoom, HalfWayZoom (at mouse position) *currently pixelPerUnity ratio is set fixed to 16 (would need to take that from tilemap sprites)

Ill later change that Framed, into “Fit to view” instead…

Pressing G button to have better framing/zoom:
2732769--194247--sceneview_better_framing.gif

1 Like

Nice!

Super useful!!

Updated code in original post link.

Updates

  • 5.5.0a6 code changes
  • Reset layer colors when closing tool window
1 Like