项目介绍

u0u0/Cocos2d-Lua-Community 是一个托管在 GitHub 上的开源项目,主要使用 C++ 编写,目前获得 227 个 Star、81 次 Fork。

仓库全名
u0u0/Cocos2d-Lua-Community
Star 数
227
Fork 数
81
未关闭 Issue
4

README 摘要

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 http://www.cocos2d-lua.org/ QQ qun: 社区版 千人群(1群)号:361920466 社区版 2群:138934064 Feature No installation required, No Environment Setup. OpenAL audio output engine, designed for Lua. Integrate more thirdpart Lua libraries…

完整内容见 GitHub 原始 README 或本页 。

常见问题

Cocos2d-Lua-Community 用什么语言开发?

主要使用 C++ 编写,目前有 227 个 Star。

如何获取 Cocos2d-Lua-Community 的源码?

可以直接克隆仓库:git clone https://github.com/u0u0/Cocos2d-Lua-Community.git;安装与运行步骤见仓库 README。

Cocos2d-Lua-Community 最近还在维护吗?

仓库最近一次更新为 2024年12月11日,当前有 4 个未关闭 Issue;Star 数为 227,可作为社区活跃度的参考。

简要分析

热度分
616
价值分
183
活跃状态
活跃

语言占比

AIDL
C
C++
CMake
GLSL
Java
Lua
Objective-C
Objective-C++
Python
Shell

README

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

评论

暂无评论