Code Monkey home page Code Monkey logo

cocos2d-lua-community's 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

cocos2d-lua-community's People

Contributors

u0u0 avatar bwaiox avatar leelyn avatar 8liang avatar xitontong avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.