oiteboys / earlybird Goto Github PK
View Code? Open in Web Editor NEWA Mobile Game Similar to FlappyBird, which is based on cocos2dx-3.0beta2
Home Page: http://oiteboys.github.io/Earlybird
License: Apache License 2.0
A Mobile Game Similar to FlappyBird, which is based on cocos2dx-3.0beta2
Home Page: http://oiteboys.github.io/Earlybird
License: Apache License 2.0
结束菜单的问题比较大,主要有这么几点:
ps.
https://github.com/cocos2d/cocos-docs/blob/master/tutorial/how-to-make-a-game-like-flappybird/zh.md
这里是一个家伙用C++写的和我们差不多的游戏,但是我个人觉的我们做的不论是充精细程度还是对原作的还原度以及技术程度都比这个家伙要好。不过我还还是要借鉴下这个家伙写的好的地方,讨论他不好的地方,我个人我们的最大优势是发挥了最新引擎的很多特性,不论是代码数量还是逻辑严密读都要好。但是这家伙的分层和起名字的水平比我们要好。看过之后欢迎在trell或者git上和我交流。
ps2.这次我改变了思路用物理引擎实现了碰撞,效果好,代码少,期间其实走过挺多弯路的,主要原因是我不知道static的刚体是可以直接由你来设置位置的而不受物理引擎的控制,这也是我今晚最大的收获。
ps3.今天有做的比较晚了。你的代码我还没有全部看完。哪里说的不好还请你指正。
There are several issues:
i built the build_native.py with NDK, i imported the project into eclipse, when i run it on my android device it says "earlybird" has stopped working. the API levels are all correct.
在GameLayer中, 有Xcode编译iOS版本, 第二句提示No viable overloaded '='
auto contactListener = EventListenerPhysicsContact::create();
contactListener->onContactBegin = CC_CALLBACK_2(GameLayer::onContactBegin, this);
this->getEventDispatcher()->addEventListenerWithSceneGraphPriority(contactListener, this);
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.