【unity插件】Tiled2Unity-非常方便的将Tiled导入到unity3d
2015-09-10 12:35
645 查看
在找tiled for unity相关插件的时候,偶然发现一个非常棒的插件,就是Tiled2Unity(点击进入官网),并且这款插件完全免费!!!而且支持的功能真是太良心了!在Tiled编辑好地图之后一键发送到unity,非常之方便。而且提供的unity脚本拓展性非常强。
支持的功能如下:
Features:Builds a Unity prefab out of your TMX map file
Supports all TMX layer formats (XML, CSV, Base64, gzip/zlib compressed)
Multiple layers and tilesets supported
Exports Object Layer as polygons, polylines, rectangles, circles
Tile Layer collisions supported (with slopes, odd-shaped polygons)
Polygon colliders can be concave, have holes, and be composed of separate polygons
Can assign Tag, Sorting Layer, Order in Layer, and (Physics) Layer of exported
GameObjects
through properties in Tiled
Support for customized creation of Unity Prefabs
Easy to use: In most cases, you simply export a TMX file into your Unity project and place the automatically generated prefab in your scene – no further edits needed
使用说明和功能介绍看这里:点我
使用示例看这里:点我
Learning Tiled2Unity
I’ve tried to make Tiled2Unity simple to use and understand. Here’s some links that may help you out:Introduction: Use the test TMX files supplied
with Tiled2Unity to create two simple scenes in your Unity project (one with sloped collision).
Tiled2Unity
Scale: By default, Unity 2D sprites use a coordinate system where 100 pixels equals 1 unit in Unity. I think that’s crazy but this link will show you how to live in that world.
Mega Dad Adventures:
A good number of “advanced” examples of using Tiled2Unity in your Unity projects. Set tags and layers on your imported prefabs and add custom, game-specific behavior.
Tile
EdgeCollider2D Support: Shows you how you can use polylines in the Tile Collision Editor to export EdgeCollider2D objects in your Unity prefab.
ps:支持的unity参数列表
Here’s the list of the properties we can set in Tiled that the Tiled2Unity exporter looks for when constructing a prefab:unity:tag
unity:sortingLayerName
unity:sortingOrder
unity:layer(Layer is
such an overloaded term. In Unity it means the “physics” layer.)
相关文章推荐
- 孙陪你,了解它的力量——unity3d流程暂停
- unity3d热更新插件uLua学习整理
- Unity 5.2发布下载 支持Win10与UWP的游戏引擎
- 关于uLua在Unity3D的性能测试
- Unity 游戏开发技巧集锦之材质的应用的创建反射材质
- 【Unity基础知识】c#代码向(持续更新)
- Unity 游戏开发技巧集锦之材质的应用的创建反射材质
- Unity3D 武器拖尾效果(刀光) 使用PocketRPG Trails
- Unity 武器拖尾效果
- 【Unity3D】3D角色换装++ Advance
- 【Unity3d】3d角色换装实现原理及步骤
- Unity热更新之ULua 踩坑篇
- Unity3D脚本属性
- Unity人工智能学习—确定性AI算法之追踪算法三
- Unity人工智能学习—确定性AI算法之反追踪算法
- 对Unity3d C#手动处理异常产生
- unity使用json的个人心得
- Unity中使用ulua的个人经验总结
- Unity3D制作高通AR(增强现实)图片识别应用
- uLua,一个Unity+Lua热更新解决方案!