Giter Site home page Giter Site logo

chukong / quick-cocos2d-x Goto Github PK

View Code? Open in Web Editor NEW
1.5K 1.5K 866.0 473.98 MB

quick-cocos2d-x is a quick framework, based on cocos2d-x. Make mobile games in Lua.

Home Page: http://quick-x.com/

Shell 0.05% PHP 0.49% Lua 4.70% Makefile 0.23% C++ 47.63% C 38.73% Objective-C 3.05% Objective-C++ 1.84% CMake 0.01% Java 1.01% HTML 1.61% Groff 0.04% CSS 0.05% JavaScript 0.56% Batchfile 0.02%

quick-cocos2d-x's People

Contributors

anndaming avatar ascetic85 avatar bighandyt avatar dabing1022 avatar defp avatar dongxurr123 avatar dualface avatar elisaday avatar genghaolove avatar gwill avatar hanxi avatar hijack-x avatar huangwei1024 avatar hugohuang1111 avatar junwchina avatar justbilt avatar leonlhzhao avatar linguofeng avatar liuboyu avatar nealzxc avatar sunlightjuly avatar vlikewater avatar wanghehacker avatar wland avatar xpol avatar yi avatar yuyangame avatar zhanglei0321 avatar zhaotianze avatar zrong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

quick-cocos2d-x's Issues

Hi, there's a problem of Archive CoinFlip.ios project in Xcode.

After I get the whole quick-cocos2d-x by git according to readme, building, running, build for Archive all OK, but, when I try to Archive directly, following error comes:

ld: in /Users/xxx/Library/Developer/Xcode/DerivedData/CoinFlip.ios-glkuqvnzsdppsygvkyguorbbvrgd/ArchiveIntermediates/CoinFlip.ios/BuildProductsPath/Release-iphoneos/liblibquickcocos2dx.a(libcurl_la-file.o), mach-o string pool extends beyond end of file for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

When I ld -v the liblibquickcocos2dx.a, it show's:

@(#)PROGRAM:ld PROJECT:ld64-133.3
configured to support archs: armv6 armv7 i386 x86_64
Library search paths:
/usr/lib
/usr/local/lib
Framework search paths:
/Library/Frameworks/
/System/Library/Frameworks/
ld: warning: -arch not specified
ld: warning: -macosx_version_min not specified, assuming 10.7
ld: warning: ignoring file liblibquickcocos2dx.a, file was built for archive which is not the architecture being linked (x86_64): liblibquickcocos2dx.a
Undefined symbols for architecture x86_64:
"start", referenced from:
-u command line option
ld: symbol(s) not found for inferred architecture x86_64

Does anyone meet this situation?
Please offer a help, thanks.

Error on iOS build

I have an error on the building phase on iOS. I think the header and library path are the cause.
Here's the log :

clang: error: no such file or directory: '/hosts/libs/cocos2d-x/cocos2dx/kazmath/src/GL/mat4stack.c'
clang: error: no input files
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1

I don't know if I must defined the QUICK_COCOS2DX_ROOT variable somewhere to resolve it.

打包成zip后识别module(...)的问题

使用compile_scripts.sh打包成zip文件后,若源代码中使用到module(...,xxx),则在运行时报错:
LUA ERROR: [string "Loading.SceneLogo"]:0: bad argument #1 to 'module' (string expected, got nil)
改成module(''FILE_PATH',xxx)的形式则能正常运行。

请问怎么跟你联系

你好,非常感谢你们的工作!

我有4年的手游项目开发经验,1年多cocos2dx使用经验。现在我对这套框架很感兴趣,也希望能参加进来,请问怎么跟你们联系呢?

not support retina???

not support retina???

好像一打开支持 retina屏
如果有CCEGLView::sharedOpenGLView()->setDesignResolutionSize(480, 320, kResolutionShowAll); 这个操作都会出错

display.lua 中也有这个操作···

也是同样出错了

能支持Linux吗?

请问若是需要在Linux下运行,我应该对哪些部分做移植呢?

Integrate Chipmunk 2D

GOALS

To provide a simple and easy-to-use physics engine interface.

Ref: http://docs.coronalabs.com/api/library/physics/index.html


### WHY Chipmunk 2D 1. Chipmunk 2D is a C library, more simple, better performance 2. Chipmunk Pro:

Chipmunk Pro is a cross-platform set of additions to Chipmunk that makes your game development easier with a growing set of tools designed to get you past the most tedious and time consuming parts of game development. Hundreds of shipping games have chosen Chipmunk because of the high quality, speed, and accuracy of its 2D physics simulations.

How to use

It could be very usefull to have a starting guide to use your project.
I would love to have it !

准备 Windows 环境下的工具包

Windows 环境下需要一些辅助工具才能确保 quick-cocos2d-x 的各种脚本正常运行。包括:

  • php5 执行文件
  • luajit 执行文件
  • tolua++ 执行文件

Lua API is not full function

I tried to use addTargetedDelegate of cocos2dx TouchDispatcher but I found that the CCTouchDispatcher.pkg wasn't include this member function. Should I modify the CCTouchDispatcher.pkg myself to export this method, or find another way in Lua?

addTargetedDelegate这个方法在Lua里找不到,我查看了CCTouchDispatcher.pkg定义后发现没有导出,我应该自己修改这个pkg来导出还是应该绕过这个方法,用其他方法完成呢?

增加native code编译后出错[suffer from compile error of LuaCocos2d.cpp on building native code]

尝试在Mac上编译自己的native code时出现大量形如:https://gist.github.com/spin6lock/5656034 的错误,是什么问题呢?

整合的代码已经在最新的cocos2d-x分支上编译成功了,所以代码的问题应该可以排除

I'm trying to link libevent to our quick-cocos2dx project statically as .a file, but I have many compile error on LuaCocos2d.cpp, some of them are in https://gist.github.com/spin6lock/5656034. Any ideas?

English version

Could you write your readme and examples in english please.
It looks very intereresting but I can't understand it.

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.