<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>戳泡泡</title>
<meta name="keywords" content="games, online games, mobile games, html5 games" />
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<link rel="stylesheet" href="css/pop.css" />
<!--<link rel="stylesheet" href="fonts/fonts.css" />-->
<script src="js/Stats.js"></script>
<script src="js/buzz.js"></script>
<style type="text/css">
iframe {position: absolute; bottom: 0; left: center; }
</style>
<link rel="shortcut icon" href="icon.png">
<link rel="icon" href="icon.png">
<link type="text/css" href="css/common.css" rel="stylesheet" />
<script type="text/javascript" src="js/zepto.min.js"></script>
<script src="js/common.js?v=1"></script>
</head>
<body>
<div id="SF_Game">
<canvas></canvas>
<div id="textLayer">
<p>
火爆朋友圈
</p>
</div>
<div id="inputBox">
<a href="#" id="playAgain">
再来一次
</a>
<a href="#" id="shareGame">
炫耀一下
</a>
<a href="game.id87.com" onClick="clickMore();">
>更多游戏<
</a>
</div>
<input id="bt-game-id" type="hidden" value="3-pop">
</div>
<script src="js/pop.base.js"></script>
<script src="js/pop.ua.js"></script>
<script src="js/pop.input.js"></script>
<script src="js/pop.scoreboard.js"></script>
<script src="js/pop.draw.js"></script>
<script src="js/pop.collision.js"></script>
<script src="js/pop.form.js"></script>
<script src="js/pop.explosion.js"></script>
<script src="js/pop.bubble.js"></script>
<script src="js/pop.touch.js"></script>
<script src="js/pop.starfish.js"></script>
<script src="js/pop.router.js"></script>
<script src="js/pop.init.js"></script>
<script type="text/javascript">
function SF_gameStart() {
if (!!document.createElement('canvas').getContext === false) {
document.writeln('<h1>对不起,您的浏览器不支持html5!</h1>');
document.writeln('<h2>请更换浏览器继续玩游戏!</h2>');
}
else {
POP.init();
}
}
$(function(){
$("#playAgain").on("click", function(){
POP.againGame();
//return false;
});
$("#shareGame").on("click", function(){
//btGame.playShareTip();
//return false;
dp_share();
});
});
btGame.onlyVScreen(false, function(count){
if(count > 0){
location.reload();
}
});
btGame.resizePlayArea($("#SF_Game"), 320, 480, "center", "center");
$("#SF_Game").on("resizePlayArea", function(){
SF_gameStart();
SF_gameStart = function(){};
});
</script>
<script language=javascript>
var mebtnopenurl = 'http://game.id87.com';
window.shareData = {
"imgUrl": "http://game.id87.com/icon/cpp.png",
"timeLineLink": "http://game.id87.com/games/cpp/",
"tTitle": "戳泡泡",
"tContent": "戳泡泡"
};
function goHome(){
window.location=mebtnopenurl;
}
function clickMore(){
if((window.location+"").indexOf("zf",1)>0){
window.location = "http://game.id87.com";
}
else{
goHome();
}
}
function dp_share(){
document.title ="泡泡一戳即破,我拿了"+myData.score+"分,大家一起戳一把!";
document.getElementById("share").style.display="";
window.shareData.tTitle = document.title;
}
function dp_Ranking(){
window.location=mebtnopenurl;
}
function showAd(){
}
function hideAd(){
}
document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
WeixinJSBridge.on('menu:share:appmessage', function(argv) {
WeixinJSBridge.invoke('sendAppMessage', {
"img_url": window.shareData.imgUrl,
"link": window.shareData.timeLineLink,
"desc": window.shareData.tContent,
"title": window.shareData.tTitle
}, onShareComplete);
});
WeixinJSBridge.on('menu:share:timeline', function(argv) {
WeixinJSBridge.invoke('shareTimeline', {
"img_url": window.shareData.imgUrl,
"img_width": "640",
"img_height": "640",
"link": window.shareData.timeLineLink,
"desc": window.shareData.tContent,
"title": window.shareData.tTitle
}, onShareComplete);
});
}, false);
</script>
<div id=share style="display: none">
<img width=100% src="share.png"
style="position: fixed; z-index: 9999; top: 0; left: 0; display: "
ontouchstart="document.getElementById('share').style.display='none';" />
</div>
<div style="display: none;">
<script type="text/javascript">
var myData = { gameid: "cpp" };
window.shareData.timeLineLink = "http://game.id87.com/index.html?gameid=" + myData.gameid + (localStorage.myuid ? "&uid=" + localStorage.myuid : "");
function dp_submitScore(score){
myData.score = score;
myData.scoreName = "戳了"+score+"分";
if(score>0){
if (confirm("你就是戳泡泡达人!拿了"+score+"分,你的小伙伴知道吗?")){
dp_share();
}
}
}
function onShareComplete(res) {
if (localStorage.myuid && myData.score != undefined) {
setTimeout(function(){
if (confirm("要将成绩提交到游戏排行榜吗?")) {
window.location = "http://game.id87.com.com/index.html?gameid=" + myData.gameid + "&uid=" + localStorage.myuid + "&score=" + myData.score + "&scorename=" + encodeURIComponent(myData.scoreName);
}
else {
document.location.href = mebtnopenurl;
}
}, 500);
}
else {
document.location.href = mebtnopenurl;
}
}
</script>
<div style="display: none;">
</div>
</body>
</html>
没有合适的资源?快使用搜索试试~ 我知道了~
html5微信小游戏源码 朋友圈戳泡泡小游戏(仅用于参考)
共22个文件
js:17个
png:2个
css:2个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 197 浏览量
2023-01-25
12:13:26
上传
评论
收藏 81KB ZIP 举报
温馨提示
html5微信小游戏源码 朋友圈戳泡泡小游戏(仅用于参考)html5微信小游戏源码 朋友圈戳泡泡小游戏(仅用于参考)html5微信小游戏源码 朋友圈戳泡泡小游戏(仅用于参考)html5微信小游戏源码 朋友圈戳泡泡小游戏(仅用于参考)html5微信小游戏源码 朋友圈戳泡泡小游戏(仅用于参考)html5微信小游戏源码 朋友圈戳泡泡小游戏(仅用于参考)html5微信小游戏源码 朋友圈戳泡泡小游戏(仅用于参考)html5微信小游戏源码 朋友圈戳泡泡小游戏(仅用于参考)html5微信小游戏源码 朋友圈戳泡泡小游戏(仅用于参考)html5微信小游戏源码 朋友圈戳泡泡小游戏(仅用于参考)html5微信小游戏源码 朋友圈戳泡泡小游戏(仅用于参考)html5微信小游戏源码 朋友圈戳泡泡小游戏(仅用于参考)html5微信小游戏源码 朋友圈戳泡泡小游戏(仅用于参考)html5微信小游戏源码 朋友圈戳泡泡小游戏(仅用于参考)html5微信小游戏源码 朋友圈戳泡泡小游戏(仅用于参考)html5微信小游戏源码 朋友圈戳泡泡小游戏(仅用于参考)html5微信小游戏源码 朋友圈戳泡泡小游戏(仅用于参考)html5微信
资源推荐
资源详情
资源评论
收起资源包目录
html5微信小游戏源码 朋友圈戳泡泡小游戏(仅用于参考).zip (22个子文件)
cpp
js
buzz.js 21KB
pop.ua.js 812B
Stats.js 3KB
pop.router.js 7KB
pop.form.js 517B
pop.scoreboard.js 137B
pop.touch.js 500B
common.js 10KB
pop.collision.js 411B
pop.starfish.js 2KB
pop.init.js 1KB
pop.bubble.js 1KB
pop.base.js 2KB
pop.draw.js 1KB
pop.input.js 1KB
pop.explosion.js 1KB
zepto.min.js 27KB
share.png 10KB
css
pop.css 1KB
common.css 2KB
index.html 6KB
icon.png 42KB
共 22 条
- 1
资源评论
金枝玉叶9
- 粉丝: 124
- 资源: 7640
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功