使用cocos creator 编写的三消游戏。
2018/01/20 *升级工程到cocos creator
v1.8.1
2018/07/01 增加一些音效
2019/01/30 升级工程到cocos creator
v2.0.7
使用cocos creator 编写的三消游戏 开心消消乐
License: MIT License
请教一下 mask组件 和 CellView如何关联,感谢
能否补充下离线安装、使用方式,以及适用的系统
将GRID_WIDTH和GRID_HEIGHT修改后发现显示格子位置有误
你好,正在学习研究js,看到三消初始化这里,有处逻辑没有看明白,GameModel.prototype.init方法下面。for(var i = 1;i<=GRID_WIDTH;i++){ for(var j = 1;j <= GRID_HEIGHT;j++){ let flag = true; while(flag){ flag = false; this.cells[i][j].init(this.getRandomCellType()); let result = this.checkPoint(j, i)[0];//???why j, i? if(result.length > 2){ flag = true; } this.cells[i][j].setXY(j, i); this.cells[i][j].setStartXY(j, i); } } }
为何checkPoint 还有setXY, setStartXY 传入的 都是j,i. 我的理解不是应该是i, j?
但是运行结果来看。j, i是对的。请问有空解惑吗?谢谢!
看了代码,感觉有点复杂,不知道在哪下手
提示Creator Unknow,所以无法选择版本打开工程
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.