<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>随意门(屌丝版)</title>
<link rel="icon" type="image/GIF" href="res/favicon.ico"/>
<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"/>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"/>
<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="320" height="480" style="position: absolute; z-index: 0"></canvas>
<script src="frameworks/cocos2d-html5/CCBoot.js"></script>
<script src="src/main.js"></script>
<script language=javascript>
var mebtnopenurl = 'http://game.ikongzhong.cn/index.html';
var thegameurl ="http://game.ikongzhong.cn/games/symdsb/";
var guanzhuurl ="http://mp.weixin.qq.com/s?__biz=MzI4MjA2MjE0MQ==&mid=246005295&idx=1&sn=490f8141976d607ba079d48f52a3fcd7#rd";
window.shareData = {
"imgUrl": "http://game.ikongzhong.cn/games/symdsb/icon.png",
"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: "symdsb" };
function dp_submitScore(score){
myData.score =parseInt(score*100);
myData.scoreName = "用时"+score+"秒";
document.title =window.shareData.tTitle = "我在随意门勇闯20扇门中只用了"+score+"秒,小伙伴们也来试一试吧!【9G游戏】";
}
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>
<script type="text/javascript" src="js/game9g.utils.js"></script>
</body>
</html>
没有合适的资源?快使用搜索试试~ 我知道了~
随意门(屌丝版)HTML5游戏源码
共178个文件
js:129个
png:46个
json:2个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 100 浏览量
2022-06-19
11:32:46
上传
评论
收藏 1.63MB RAR 举报
温馨提示
随意门(屌丝版)HTML5游戏源码,运行需要服务器环境,已经反复测试,放心使用。
资源推荐
资源详情
资源评论
收起资源包目录
随意门(屌丝版)HTML5游戏源码 (178个子文件)
index.html 4KB
CCActionInterval.js 105KB
CCParticleSystem.js 101KB
CCNode.js 99KB
CCActionEase.js 95KB
CCTransition.js 63KB
CCBoot.js 62KB
CCSprite.js 60KB
CCMenuItem.js 45KB
CCLabelTTF.js 44KB
CCLabelBMFont.js 42KB
CCActionTiledGrid.js 41KB
CCTMXLayer.js 41KB
CCEGLView.js 40KB
CCDrawNode.js 39KB
CCAudio.js 39KB
CCSpriteBatchNode.js 38KB
CCActionGrid3D.js 36KB
CCProgressTimer.js 36KB
CCEventManager.js 36KB
TexturesWebGL.js 34KB
CCParticleExamples.js 32KB
CCRenderTexture.js 30KB
CCTMXXMLParser.js 30KB
CCDirector.js 30KB
CCLayer.js 30KB
GameScene.js 27KB
CCGrid.js 25KB
CCScheduler.js 25KB
CCTIFFReader.js 25KB
mat4.js 25KB
CCGLProgram.js 25KB
CCTextureAtlas.js 24KB
CCTypesWebGL.js 24KB
gzip.js 23KB
CCClippingNode.js 22KB
CCDebugger.js 21KB
CCInputManager.js 21KB
zlib.min.js 21KB
CCParticleBatchNode.js 21KB
SpritesWebGL.js 21KB
CCMenu.js 21KB
Base64Images.js 20KB
CCMotionStreak.js 19KB
CCAction.js 19KB
CCActionInstant.js 19KB
CCActionCatmullRom.js 18KB
CCAtlasNode.js 17KB
CCDrawingPrimitivesWebGL.js 17KB
CCIMEDispatcher.js 17KB
CCEventListener.js 16KB
CCLabelAtlas.js 16KB
CCTMXTiledMap.js 16KB
CCMacro.js 16KB
CCAnimation.js 15KB
CCDrawingPrimitivesCanvas.js 15KB
CCSpriteFrame.js 15KB
CCTransitionProgress.js 14KB
CCSpriteFrameCache.js 14KB
quaternion.js 14KB
CCTextFieldTTF.js 14KB
CCActionManager.js 14KB
CCPNGReader.js 13KB
CCTextureCache.js 13KB
CCPointExtension.js 13KB
CCClass.js 13KB
CCTGAlib.js 13KB
CCConfig.js 12KB
CCTexture2D.js 12KB
CCDirectorWebGL.js 12KB
CCGLStateCache.js 11KB
CCShaderCache.js 11KB
CCActionGrid.js 11KB
CCShaders.js 10KB
CCGeometry.js 9KB
CCCamera.js 9KB
CCActionCamera.js 9KB
mat3.js 9KB
CCTypes.js 9KB
CCEvent.js 9KB
CCAffineTransform.js 9KB
CCLayerWebGL.js 9KB
CCConfiguration.js 8KB
miniFramework.js 8KB
CCAnimationCache.js 8KB
CCActionProgressTimer.js 8KB
CCParallaxNode.js 7KB
TexturesPropertyDefine.js 6KB
CCCommon.js 6KB
CCVertex.js 6KB
CCNodeGrid.js 6KB
matrix.js 6KB
BinaryLoader.js 6KB
MainScene.js 5KB
vec3.js 5KB
ray2.js 5KB
LabelTTFWebGL.js 5KB
CCActionTween.js 5KB
BaseNodesWebGL.js 5KB
BaseNodesPropertyDefine.js 5KB
共 178 条
- 1
- 2
资源评论
reg183
- 粉丝: 1815
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功