Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

六边形消除 #1

Open
chenwenzhan opened this issue Apr 13, 2017 · 7 comments
Open

六边形消除 #1

chenwenzhan opened this issue Apr 13, 2017 · 7 comments

Comments

@chenwenzhan
Copy link

您好,我想请问一下六边形消除用cocos2d-x该怎么实现呢?

@wijat
Copy link
Owner

wijat commented Apr 13, 2017

creator是js语言写的游戏,把它翻译成你正在用的cocos2dx的语言就好了咯~~~

@chenwenzhan
Copy link
Author

您好,我下载了您的工程,但是由于我是刚学cocos2d-x,看不太懂您的文件夹目录,我想请问一下主要的代码实现是在哪里呢?另外,还想请问一下您的意思是不是说js实现和C++实现都一样,都是用的cocos2d-x引擎,只是语言不一样而已?

@wijat
Copy link
Owner

wijat commented Apr 16, 2017

首先你去下载安装cocos-creator,然后你用cocos-creator打开我这个github工程,从creator里面看就什么都清楚了!!

@chenwenzhan
Copy link
Author

好的,非常感谢您。

@chenwenzhan
Copy link
Author

您好,观摩了您的代码之后有几个问题想要请教一下您,如果有时间的话希望您能给我一点指导,主要有下面几个问题。
1、GameData、ScoreBtnCp、App这三个脚本的作用(好像没有引用到),ZIndexSet脚本的作用是什么?
2、InitLBXFrame中checkXC函数的参数arguments表示什么?
3、斜摆3和斜下摆3好像是一样的,斜下摆最后一块应该改成cc.p(0,a*1.5)?
4、var children = this.node.children[0].children这句话怎么理解?
5、NewLBXKuai中的碰撞逻辑该怎样理解?

@wantnocode
Copy link

我打开报错是什么原因呢 打开你的工程目录就挂了 我对cocos-creator完全没有接触过,麻烦指教指教

@iiccttff
Copy link

cocos 那个版本可以打开呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants