Tools grid


Tidy Tile Mapper is an easy-to-use, intuitive and powerful tile-based game creator for Unity, perfect for creating both 2D and 3D tile-based games. More Information

Tidy Maze Maker is a plugin for Tidy Tile Mapper that allows you to generate mazes with which to amaze your friends and perplex your enemies. More Information

A handy little mesh-modifying script - perfect for creating water or fire in your favorite Tile-Mapping tool... Tidy Tile Mapper!
More Information

Tidy Text Adventures - the zero-code-required, text-based-adventure creation tool of your dreams!
More Information
 
Tidy Tile Mapper is an easy-to-use, intuitive and powerful tile-based map editor
for Unity, perfect for creating both 2D and 3D tile-based levels.

Tuesday, January 10, 2012

Tidy Tile-Mapper: Generating Block Previews

Question: What is the deal with generating block previews?

The block previews used by Tidy TileMapper (generated while you build Blocks using the Block Editor) are created using the following process:
  1. The object in question is placed in the scene.
  2. A special Preview Camera is setup.
  3. Tidy TileMapper takes a screenshot through this Camera.
  4. The object is removed.
  5. The screenshot is saved in the Previews directory for later use.
  6. The scene is reverted to its original form.
Question: Why didn't you just use the (undocumented) EditorUtility function that Unity uses to generate previews?

I thought about this - and did test it, but the results (and its undocumented nature) are too unpredictable.

No comments:

Post a Comment

Disqus for Doppler Interactive Tools