<!DOCTYPE html>
<html class="SG-game-show" style="background:none;background-color:transparent; width:100%;" manifest="manifest.mf">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<script type="text/javascript">
var SpilGamesBrandTimer = +new Date(),
_SPTimer={w:{},start:function(a){this.w[(a||"_")]=+new Date()},end:function(a){window._gaq=window._gaq||[],a=a||"_";if(this.w[a]){
}}};
_SPTimer.start('pageLoad');
</script>
<title>HTML5方块消除游戏源码DEMO演示</title>
<style type="text/css"> * { padding: 0px; margin: 0px; cursor: default; } body { font: 12px/20px Palatino; }</style>
<!--<script type="text/javascript">document.write('<script type="text/javascript" src="../resource/js/resource_loader.js?ver='+Math.random()+'"><\/script>')</script>-->
</head>
<body>
<div id="spilgames-root"></div>
<script type="text/javascript" src="js/game.min.js"></script>
<script>
function dp_Ranking() {
document.location.href = "http://www.html5tricks.com/";
}
</script>
<div id="share" style="display: none">
<img width="100%" src="bitmap/share.png" style="position: fixed; z-index: 9999; top: 0; left: 0; display: " ontouchstart="document.getElementById('share').style.display='none';">
</div>
<script>
var mebtnopenurl = "http://www.html5tricks.com/";
var tit = "";
var DFW = {
appId: "",
TLImg: "kaixinlian.jpg",
url: "http://www.html5tricks.com/",
title: "开心消消乐-多多游戏",
desc: "我消,我消,我消...!"
};
var onBridgeReady = function () {
WeixinJSBridge.on('menu:share:appmessage', function (argv) {
WeixinJSBridge.invoke('sendAppMessage', {
"appid": DFW.appId,
"img_url": DFW.TLImg,
"img_width": "120",
"img_height": "120",
"link": DFW.url,
"title": DFW.title + tit,
"desc": DFW.desc
}
);
});
WeixinJSBridge.on('menu:share:timeline', function (argv) {
WeixinJSBridge.invoke('shareTimeline', {
"appid": DFW.appId,
"img_url": DFW.TLImg,
"img_width": "120",
"img_height": "120",
"link": DFW.url,
"title": DFW.title + tit,
"desc": DFW.desc
}
);
});
};
if (document.addEventListener) {
document.addEventListener('WeixinJSBridgeReady', onBridgeReady, false);
} else if (document.attachEvent) {
document.attachEvent('WeixinJSBridgeReady', onBridgeReady);
document.attachEvent('onWeixinJSBridgeReady', onBridgeReady);
}
function do_share(score) {
document.title = "我获得了" + score + "分,一起来消星星吧!";
document.getElementById("share").style.display = "";
window.DFW.title = document.title;
}
function dp_submitScore(level,score) {
//alert("你获得" + score + "分");
if (score > 5000) {
if (confirm("你获得了" + score + " 要不要通知下小伙伴们呢?")) {
do_share(score);
}
}
}
</script>
</body>
</html>
没有合适的资源?快使用搜索试试~ 我知道了~
纯前端实现开心消消乐
共58个文件
png:51个
jpg:3个
html:2个
5星 · 超过95%的资源 需积分: 35 70 下载量 174 浏览量
2019-11-05
13:45:43
上传
评论 5
收藏 2.05MB RAR 举报
温馨提示
这款游戏在画面上展示了很多可爱的小动物方块,交换两个小动物的位置即可消除相应的方块。同时在游戏中会随机产生道具,会给游戏增加一定的乐趣。这款游戏是基于HTML5开发的,下载游戏源码还可以学到最前沿的HTML5技术。
资源推荐
资源详情
资源评论
收起资源包目录
开心消消乐.rar (58个子文件)
html5-remove-game
index.html 1KB
js
game.min.js 68KB
index2.html 3KB
logo.jpg 5KB
kaixinlian.jpg 5KB
bitmap
floor_1.png 3KB
lock_1.png 4KB
lock_0.png 4KB
bomb_1.png 8KB
infotip.png 6KB
operate.png 19KB
crump_0.png 19KB
tile_2.png 20KB
convert_portait.png 36KB
time_1.png 9KB
flash_1.png 23KB
flash_2.png 21KB
background.png 45KB
convert_landscape.png 36KB
tile_5.png 19KB
succeed.png 122KB
flash_5.png 21KB
time_4.png 10KB
crump_5.png 18KB
tile_3.png 23KB
floor_2.png 3KB
hidden.png 60KB
failed.png 39KB
title.png 53KB
floor_0.png 425B
bomb_4.png 10KB
time_2.png 10KB
bomb_3.png 8KB
bomb_5.png 8KB
more.jpg 12KB
time_3.png 23KB
bomb.png 83KB
flash_4.png 23KB
flash_3.png 21KB
tile_4.png 23KB
pause.png 83KB
bomb_2.png 9KB
crump_2.png 18KB
crump_4.png 20KB
tile_1.png 17KB
menu.png 188KB
flash_0.png 22KB
bomb_0.png 9KB
crump_1.png 17KB
tile_0.png 12KB
crump_3.png 17KB
share.png 10KB
flash.png 74KB
button.png 4KB
time_5.png 9KB
time_0.png 10KB
logo.png 33KB
audio
SeaTreasureMatch.mp3 682KB
共 58 条
- 1
资源评论
- XU美伢2023-07-29这个纯前端实现的消消乐文件让我找到了些许童年的感觉,很质朴的游戏方式。
- KerstinTongxi2023-07-29这个文件让我想起了小时候的消消乐游戏,虽然不是特别刺激,但是挺有趣的。
- 曹将2023-07-29对于喜欢消消乐的人来说,这个纯前端实现的文件是个不错的选择,很简单但很有趣。
- 坑货两只2023-07-29这个文件的实现方式很不错,让我回忆起小时候玩的消消乐,感觉很有趣。
- 石悦2023-07-29这个文件的开心消消乐是纯前端实现的,虽然不算特别刺激,但挺适合放松的。
用生命在耍帅ㅤ
- 粉丝: 161
- 资源: 23
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功