更多>
最新下载
24小时阅读排行榜
- 1 XML上传的日志记录 应该记录哪些关键信息
- 2 C# 文件和目录的监视 - FileSystemWatcher的使用
- 3 php实现班级通信录怎么导入嵌套数组_php解析数组填通信录【步骤】
- 4 Go测试如何防止全局变量影响_测试隔离思路讲解
- 5 XSLT如何根据条件改变输出 xsl:if和xsl:choose
- 6 css 布局中 footer 无法贴底怎么办_使用 css 布局实现底部固定
- 7 php二维转一维保留首次键_php二维转一维首键优先法【步骤】
- 8 C# 日期时间格式化方法 C#如何格式化DateTime
- 9 html5能直接播放rtsp吗_html5不能直接播rtsp原因【原理】
- 10 javascript函数如何定义_它们怎样提升代码复用性【教程】
- 11 C++ socket编程怎么做 C++网络编程TCP通信代码实现【网络】
- 12 GraphQL如何处理文件上传 与XML数据结合的最佳实践
- 13 css 外链样式表路径写错怎么排查_排查 css 引入失败方法
- 14 php页面渐变能配合表单高亮吗_php页面表单渐变高亮法【教程】
- 15 ebXML电子商务XML标准介绍
更多>
最新教程
-
- Node.js 教程
- 16115 2025-08-28
-
- CSS3 教程
- 1546538 2025-08-27
-
- Rust 教程
- 23247 2025-08-27
-
- Vue 教程
- 25720 2025-08-22
-
- PostgreSQL 教程
- 22200 2025-08-21
-
- Git 教程
- 9188 2025-08-21
HTML5做叠房子消消乐小游戏代码
html5叠房子消消乐小游戏代码是一款非常好玩的html5叠房子游戏源码,点击颜色相同的邻接区域,可以将这些区域合成到一处进行消除升级。
js代码
<script>
// The game configuration
var qici = {};
qici.config = {
projectName: 'Subara',
gameName: '消消乐',
companyName: 'qcplay',
bundleIdentifier: 'com.qcplay',
gameInstance: 'qc_game',
frameRate: {"mobile":40,"desktop":60},
backgroundColor: 4210752,
runInBackground: true,
antialias: true,
transparent: false,
developerMode: false,
renderer: 'Canvas',
resolution : Math.min(2, devicePixelRatio),
loadingPrefab: '',
scene: {
"SubaraCity" : "Assets/state/SubaraCity.bin"
},
entryScene : 'SubaraCity',
dirtyRectangles: true,
loading: {
loadingText: 'Loading, please wait...',
loadingInterval: 200,
brightingInterval: 10,
blinkingCount: 5,
blinkingInterval: 70,
fadingInInterval: 400,
fadingOutInterval: 600
}
};
_pluginVariables_={}
qici.scripts = [
'./Assets/meta/globalUrlMap.js',
'./xiaoxiaole/phaser.min.js',
'./xiaoxiaole/webfontloader.js',
'./xiaoxiaole/qc-core.js',
'./xiaoxiaole/qc-webgl.js',
// External scripts for plugins
// User scripts
'./js/game-scripts-mini-1.0.js'
];
// Asset count that need preload in boot
qici.loadingAssetCount = 11;
</script>
<script src='./xiaoxiaole/qc-loading.js'></script>
js代码
<script>
// The game configuration
var qici = {};
qici.config = {
projectName: 'Subara',
gameName: '消消乐',
companyName: 'qcplay',
bundleIdentifier: 'com.qcplay',
gameInstance: 'qc_game',
frameRate: {"mobile":40,"desktop":60},
backgroundColor: 4210752,
runInBackground: true,
antialias: true,
transparent: false,
developerMode: false,
renderer: 'Canvas',
resolution : Math.min(2, devicePixelRatio),
loadingPrefab: '',
scene: {
"SubaraCity" : "Assets/state/SubaraCity.bin"
},
entryScene : 'SubaraCity',
dirtyRectangles: true,
loading: {
loadingText: 'Loading, please wait...',
loadingInterval: 200,
brightingInterval: 10,
blinkingCount: 5,
blinkingInterval: 70,
fadingInInterval: 400,
fadingOutInterval: 600
}
};
_pluginVariables_={}
qici.scripts = [
'./Assets/meta/globalUrlMap.js',
'./xiaoxiaole/phaser.min.js',
'./xiaoxiaole/webfontloader.js',
'./xiaoxiaole/qc-core.js',
'./xiaoxiaole/qc-webgl.js',
// External scripts for plugins
// User scripts
'./js/game-scripts-mini-1.0.js'
];
// Asset count that need preload in boot
qici.loadingAssetCount = 11;
</script>
<script src='./xiaoxiaole/qc-loading.js'></script>
本站所有资源都是由网友投搞发布,或转载各大下载站,请自行检测软件的完整性!本站所有资源仅供学习与参考,请勿用于商业用途,否则产生的一切后果将由您自己承担!如有侵权请联系我们删除下架,联系方式:admin@php.cn
