9 Star 41 Fork 6

Li Jin / ActionEditor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

#Dorothy - ActionEditor   这是一个使用Dorothy框架开发,用于配合Dorothy框架使用的骨骼动画编辑器。在这里提供二进制可执行版本的下载。详细使用说明见:这里
  编辑器在初次运行后可以在Win下的C:\Users\Username\AppData\Local\Dorothy\Model,或是在Mac下的/Users/Username/Library/Caches/Model路径中找到编辑器资源的输入输出目录。
  生成的动画模型在Dorothy框架中的使用方法,首先将模型文件包括jixienv.png,jixienv.clip和jixienv.model文件复制到同一个目录下,然后程序才能正确地加载所有文件。示例的加载代码如下:

setfenv(Dorothy())

local winSize = CCDirector.winSize

local model = oModel("ActionEditor/Model/Output/jixienv.model") -- 加载动画模型
model.look = "happy" -- 设置外观  
model.loop = true -- 设置动画为循环播放  
model:play("walk") -- 播放动画  
model.position = oVec2(winSize.width*0.5,winSize.height*0.5)

local scene = CCScene()  
scene:addChild(model)

CCDirector:run(scene) 

  该编辑器全部使用Dorothy框架的Lua接口提供的功能完成开发,所有的源码见ActionEditor/Script目录下的所有lua代码。了解Dorothy游戏框架:这里。以下是部分编辑器运行的截图。

程序截图

The MIT License (MIT) Copyright (c) 2015 Li Jin Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

Dorothy框架配套的骨骼动画编辑器,用Dorothy框架开发,用于创作相应的2D动画模型文件。 展开 收起
Lua
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Lua
1
https://gitee.com/pig/ActionEditor.git
git@gitee.com:pig/ActionEditor.git
pig
ActionEditor
ActionEditor
master

搜索帮助