platypus:折叠平台引擎

时间:2021-05-28 16:23:10
【文件属性】:
文件名称:platypus:折叠平台引擎
文件大小:54KB
文件格式:ZIP
更新时间:2021-05-28 16:23:10
defold defold-library Lua 鸭嘴兽 展开平台引擎。 设置 通过将此项目添加为可以在自己的项目中使用扩展名。 打开您的game.project文件,并在项目下的依赖项字段中添加: 或指向的ZIP文件。 例子 通过运行见鸭嘴兽的例子在行动grottoescape.collection该项目或尝试。 用法 创建一个实例 使用platypus.create()创建Platypus实例。 使用它来控制单个游戏对象。 您需要调用每个框架platypus.update()和platypus.on_message() 。 function init(self) self.platypus = platypus.create(config) end function update(self, dt) self.platypus.update(dt) end function on_message(self, message_
【文件预览】:
platypus-master
----input()
--------game.input_binding(451B)
----example()
--------grottoescape()
----LICENSE.md(1KB)
----README.md(13KB)
----.gitignore(97B)
----.luacheckrc(522B)
----game.project(865B)
----platypus()
--------platypus.lua(17KB)

网友评论