<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>快來打我呀!</title>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="full-screen" content="yes"/>
<meta name="screen-orientation" content="portrait"/>
<meta name="x5-fullscreen" content="true"/>
<meta name="360-fullscreen" content="true"/>
<style>
body, canvas, div {
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
-khtml-user-select: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
</style>
</head>
<body style="padding:0; margin: 0; background: #000;">
<canvas id="gameCanvas" width="640" height="960"></canvas>
<div style="position:fixed; bottom:10px; left:0px; width:100%; text-align:center;"><a href="javascript:void(0);" onClick="clickMore();">更多游戏</a></div>
<script src="cocos2d.js"></script>
<script language=javascript>
var mebtnopenurl = 'http://game.ikongzhong.cn';
var thegameurl ="http://game.ikongzhong.cn/games/dwy/";
var guanzhuurl ="http://mp.weixin.qq.com/s?__biz=MzI4MjA2MjE0MQ==&mid=246005295&idx=1&sn=490f8141976d607ba079d48f52a3fcd7#rd";
window.shareData = {
"imgUrl": "http://mmbiz.qpic.cn/mmbiz/2zpp2iaH4HWEUVrG2VrY0nz1bXevjqd9Wg0JsV9kTicApRia8Ov0jktRHJCuHUYJULLUBISsj5EJZOcXptSicUFRPA/640",
"timeLineLink": thegameurl,
"tTitle": "打我呀",
"tContent": "快來打我呀!"
};
function goHome(){
window.location=mebtnopenurl;
}
function clickMore(){
if((window.location+"").indexOf("f=zf",1)>0){
window.location =mebtnopenurl;
}
else{
goHome();
}
}
function dp_share(){
document.getElementById("share").style.display="";
}
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: "dwy" };
var domain = ["oixm.cn", "hiemma.cn", "peagame.net"][parseInt(Math.random() * 3)];
window.shareData.timeLineLink = thegameurl;
function dp_submitScore(score,stitle){
myData.score = parseInt(score*100);
myData.scoreName ="用时"+score+"秒";
document.title =stitle;
window.shareData.tTitle = document.title;
}
function onShareComplete(res) {
if (localStorage.myuid && myData.score != undefined) {
setTimeout(function(){
if (confirm("?")) {
window.location = mebtnopenurl;
}
else {
document.location.href = mebtnopenurl;
}
}, 500);
}
else {
document.location.href = guanzhuurl ;
}
}
</script>
<div style="display: none;">
<script type="text/javascript" src="http://tajs.qq.com/stats?sId=36313548" charset="UTF-8"></script>
</div>
</body>
</html>
没有合适的资源?快使用搜索试试~ 我知道了~
打我呀打我呀HTML5游戏源码
共124个文件
js:116个
png:5个
html:1个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 12 浏览量
2022-06-23
05:37:33
上传
评论
收藏 935KB RAR 举报
温馨提示
打我呀打我呀HTML5游戏源码,运行需要服务器环境,已经反复测试,放心使用。
资源详情
资源评论
资源推荐
收起资源包目录
打我呀打我呀HTML5游戏源码 (124个子文件)
index.html 4KB
CCParticleSystem.js 94KB
CCNode.js 85KB
CCSprite.js 85KB
CCActionInterval.js 71KB
SimpleAudioEngine.js 68KB
CCTransition.js 51KB
CCLayer.js 49KB
CCDirector.js 49KB
CCLabelBMFont.js 45KB
CCTexture2D.js 44KB
CCEGLView.js 41KB
CCTypes.js 41KB
CCLabelTTF.js 41KB
CCSpriteBatchNode.js 39KB
CCDrawingPrimitives.js 38KB
CCTMXLayer.js 37KB
CCTouchDispatcher.js 37KB
CCFileUtils.js 37KB
CCProgressTimer.js 35KB
CCMenuItem.js 33KB
CCScheduler.js 32KB
CCActionTiledGrid.js 30KB
CCDrawNode.js 30KB
CCParticleExamples.js 30KB
CCRenderTexture.js 29KB
CCActionEase.js 28KB
CCActionGrid3D.js 28KB
CCGLProgram.js 27KB
CCTMXXMLParser.js 26KB
CCTIFFReader.js 25KB
mat4.js 25KB
CCLoader.js 25KB
CCGrid.js 25KB
CCTextureAtlas.js 24KB
gzip.js 23KB
zlib.min.js 21KB
myApp.js 20KB
CCParticleBatchNode.js 19KB
CCClippingNode.js 19KB
CCMenu.js 18KB
CCTextureCache.js 18KB
CCSpriteFrameCache.js 17KB
CCMouseDispatcher.js 17KB
CCIMEDispatcher.js 16KB
CCMotionStreak.js 16KB
jsloader.js 15KB
CCShaders.js 15KB
CCAction.js 15KB
CCLabelAtlas.js 15KB
CCSpriteFrame.js 15KB
miniFramework.js 15KB
CCActionCatmullRom.js 14KB
CCAtlasNode.js 14KB
CCCommon.js 14KB
CCGeometry.js 14KB
quaternion.js 14KB
CCActionManager.js 13KB
CCApplication.js 13KB
CCPNGReader.js 13KB
CCTGAlib.js 13KB
scoreScene.js 13KB
CCTMXTiledMap.js 13KB
CCPointExtension.js 13KB
CCAnimation.js 12KB
CCTransitionProgress.js 12KB
CCTextFieldTTF.js 12KB
CCConfig.js 12KB
CCShaderCache.js 11KB
CCGLStateCache.js 11KB
CCActionInstant.js 11KB
CCAnimationCache.js 10KB
CCConfiguration.js 10KB
CCCamera.js 9KB
mat3.js 9KB
CCClass.js 9KB
CCImage.js 9KB
CCMacro.js 8KB
CCActionGrid.js 8KB
CCAffineTransform.js 8KB
CCSAXParser.js 8KB
CCUserDefault.js 8KB
CCActionCamera.js 7KB
CCTouchDelegateProtocol.js 7KB
CCKeyboardDispatcher.js 6KB
CCParallaxNode.js 6KB
loginScene.js 6KB
CCTouchHandler.js 6KB
CCAccelerometer.js 6KB
matrix.js 6KB
CCVertex.js 5KB
CCActionProgressTimer.js 5KB
vec3.js 5KB
ray2.js 5KB
CCScreen.js 5KB
plane.js 5KB
vec4.js 5KB
CCTransitionPageTurn.js 4KB
AppControl.js 4KB
CCActionPageTurn3D.js 4KB
共 124 条
- 1
- 2
reg183
- 粉丝: 1811
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0