• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

u0u0/Cocos2d-Lua-Community: 基于Cocos2d-x 4.0,打造易用稳定的Cocos2d-x lua引擎。 ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

u0u0/Cocos2d-Lua-Community

开源软件地址(OpenSource Url):

https://github.com/u0u0/Cocos2d-Lua-Community

开源编程语言(OpenSource Language):

C++ 90.4%

开源软件介绍(OpenSource Introduction):

Cocos2d-Lua-Community

Cocos2d-Lua-Community is a improved of Cocos2d-x 4.0, and easy to use Lua game engine. It's Lua "frameworks" compatible with Quick-Cocos2dx-Community v3.7.x.

Get Help

Feature

  • No installation required, No Environment Setup.
  • OpenAL audio output engine, designed for Lua.
  • Integrate more thirdpart Lua libraries: protobuf,lsqlite3 etc.
  • Refactor TMX runtime, support Tiled Map Editor 1.2+.
  • Spine runtime update to 3.8.
  • Support FairyGUI.

Develop Requirements

  • Mac OS X 10.11+, Xcode 10+
  • Windows 7+, Visual Studio 2019
  • Python 3.5+
  • Android: NDK r20+, Android Studio 3.4+
  • Cmake 3.16+ (In Android Studio's cmake plugin 3.10+)

Runtime Requirements

Lua Game Runner

Binary of LuaGameRunner is distribute https://github.com/u0u0/Cocos2d-Lua-Community/releases

LuaGameRunner is a replacement of old Player. I just "Keep It Simple and Stupid".

  • By default, it run engine test cases.
  • By pass parameter, it can run specified project's Lua code.
  • Support Shortcut keys:
    • "F5": reload current project.

Run LuaGameRunner on Mac

$cd Cocos2d-Lua-Community
$open ./tools/runner/bin/LuaGameRunner.app

Run LuaGameRunner on Win

>cd Cocos2d-Lua-Community
>tools/runner/bin/win32/LuaGameRunner.exe

Parameter

  • --width (int), Game window width.
  • --height (int), Game window height.
  • --scale (int), Window scale factor, the value devide by 100 to get the final scale.
  • --log, Write log to file.
  • --gamedir, Lua Game project fullpath.
  • --writedir, writeable path. Default is same with gamedir.

example:

>LuaGameRunner.exe --width 1136 --height 640 --scale 75 --log --gamedir /newprj --writedir /newprj/output

New a game project

Require Python 3.5+ installed.

To create a new project.

$cd Cocos2d-Lua-Community
$./tools/CreateProject.py -p www.www.newgame -o /ParentPath

The prject root directory is /ParentPath/newgame.

To get help info of CreateProject.py.

$CreateProject.py -h



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
jeremyong/Selene: Simple C++11 friendly header-only bindings to Lua发布时间:2022-08-16
下一篇:
daurnimator/mongol: A lua driver for mongodb发布时间:2022-08-16
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap