更多>
最新下载
24小时阅读排行榜
- 1 Linux LVM 扩容是否真的安全
- 2 haproxy backend down 但 curl 正常的 check port / interval 配置
- 3 PostgreSQL 执行计划中 Seq Scan vs Index Scan 的成本计算
- 4 html5布局代码卡片式布局结构_html5布局代码卡片布局法【教程】
- 5 html5可视化编辑怎么插入SVG_html5可视化SVG添加教程【步骤】
- 6 如何在移动设备上确保 scrollIntoView 在软键盘关闭后正确执行
- 7 html5怎么给图片加动态遮罩_html5动态遮罩动画法【代码】
- 8 Python with 语句的底层实现原理
- 9 threading.Event 如何实现跨线程的等待与设置
- 10 html个人页面怎么加tooltip_html提示框组件实现【交互】
- 11 html5滤镜如何做镜像翻转_html5镜像滤镜代码实现【技巧】
- 12 Go 中 PostgreSQL 参数化查询的语法错误解析与修复指南
- 13 html个人页面怎么加评论区_html简易评论模块编写【互动】
- 14 firewalld rich rule 添加后不生效的 zone 优先级调试
- 15 如何为动态创建的 HTML 元素精准应用 CSS 样式
更多>
最新教程
-
- Node.js 教程
- 16279 2025-08-28
-
- CSS3 教程
- 1546925 2025-08-27
-
- Rust 教程
- 23408 2025-08-27
-
- Vue 教程
- 25852 2025-08-22
-
- PostgreSQL 教程
- 22345 2025-08-21
-
- Git 教程
- 9308 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
