博客数据丢失,刚恢复一年前的备份!--QQ群:162541429

Unity RPG SLG 地图编辑器2d for NGUI

Unity 小宝 4660℃ 1评论

 

这个地图编辑器是一个RPG类的地图编辑器。用到了网格。其中障碍是人物行走时的碰撞点。这个功能比较完善。基本上用在实际手游项目中是没有任何问题了。也可以根据自己的实际需求修改下。

代码比较简单。就是有点多。就不发了。自己可以LookLook.

20150115164123

 

20150115164156

配置说明:

20150115165059

 

分别放置了导出的。和需要导入的配置表。默认的元件库内的内容均在xml里配置。详细看下xml里的配置。依样画瓢即可。

 

如上图。在

最后下载地址:

链接:http://pan.baidu.com/s/1jGJyJoa 密码:w45e

传送:

塔防地图编辑器

转载请注明:小宝个人笔记 » Unity RPG SLG 地图编辑器2d for NGUI

喜欢 (2)or分享 (0)
本站所有内容如未标明转载的内容,均为原创内容。转载请注明来源!
发表我的评论
取消评论
表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
(1)个小伙伴在吐槽
  1. 小宝,我也下了这个SLG编辑器,场景里放置好自己需要的元件后,点了保存键然后报两个错,跪求帮助! Uinity的出错信息是: 第一条: FileNotFoundException: Could not find file "C:UsersAdministratorDesktopMapEditAssetsOutputXml20035.xml". System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.IO/FileStream.cs:305) System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare) System.Xml.XmlUrlResolver.GetEntity (System.Uri absoluteUri, System.String role, System.Type ofObjectToReturn) Mono.Xml2.XmlTextReader.GetStreamFromUrl (System.String url, System.String& absoluteUriString) Mono.Xml2.XmlTextReader..ctor (System.String url, System.Xml.XmlNameTable nt) System.Xml.XmlTextReader..ctor (System.String url, System.Xml.XmlNameTable nt) System.Xml.XmlDocument.Load (System.String filename) DuplicateInfo.testAdd (.DuplicateInfo info, System.String path) (at Assets/MapEdit/Scrpit/OpenCloseScenes.cs:1167) OpenCloseScenes.SaveData (System.String Name) (at Assets/MapEdit/Scrpit/OpenCloseScenes.cs:191) SelfSavePanel.OnQuDingClick () (at Assets/MapEdit/Scrpit/SelfSavePanel.cs:26) UnityEngine.GameObject:SendMessage(String, Object, SendMessageOptions) UIButtonMessage:Send() (at Assets/NGUI/Scripts/Interaction/UIButtonMessage.cs:79) UIButtonMessage:OnClick() (at Assets/NGUI/Scripts/Interaction/UIButtonMessage.cs:56) UnityEngine.GameObject:SendMessage(String, Object, SendMessageOptions) UICamera:Notify(GameObject, String, Object) (at Assets/NGUI/Scripts/UI/UICamera.cs:644) UICamera:ProcessTouch(Boolean, Boolean) (at Assets/NGUI/Scripts/UI/UICamera.cs:1147) UICamera:ProcessMouse() (at Assets/NGUI/Scripts/UI/UICamera.cs:906) UICamera:Update() (at Assets/NGUI/Scripts/UI/UICamera.cs:761) 第二条: MissingReferenceException: The object of type 'GameObject' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object. UnityEngine.GameObject.GetComponent[SelfMonsterMode] () (at C:/buildslave/unity/build/artifacts/EditorGenerated/UnityEngineGameObject.cs:30) OpenCloseScenes.SaveData (System.String Name) (at Assets/MapEdit/Scrpit/OpenCloseScenes.cs:177) SelfSavePanel.OnQuDingClick () (at Assets/MapEdit/Scrpit/SelfSavePanel.cs:26) UnityEngine.GameObject:SendMessage(String, Object, SendMessageOptions) UIButtonMessage:Send() (at Assets/NGUI/Scripts/Interaction/UIButtonMessage.cs:79) UIButtonMessage:OnClick() (at Assets/NGUI/Scripts/Interaction/UIButtonMessage.cs:56) UnityEngine.GameObject:SendMessage(String, Object, SendMessageOptions) UICamera:Notify(GameObject, String, Object) (at Assets/NGUI/Scripts/UI/UICamera.cs:644) UICamera:ProcessTouch(Boolean, Boolean) (at Assets/NGUI/Scripts/UI/UICamera.cs:1147) UICamera:ProcessMouse() (at Assets/NGUI/Scripts/UI/UICamera.cs:906) UICamera:Update() (at Assets/NGUI/Scripts/UI/UICamera.cs:761) VS里的出错是下面这一行: SelfMonsterMode self = targ.GetComponent<SelfMonsterMode>(); 求助,大感谢!!!
    Sean2015-06-28 09:37 回复