欢迎大家来到IT世界,在知识的湖畔探索吧!
欢迎来到程序小院
蜘蛛侠
玩法:
点击上方台阶人物会伸出蜘蛛线抓取台阶进行跳跃,有不同的台阶,也可能会遇到移动端的台阶,抓住就能够跳跃,不要让人物落下哦,快去跳跃吧^^。
欢迎大家来到IT世界,在知识的湖畔探索吧!
开始游戏
html
欢迎大家来到IT世界,在知识的湖畔探索吧!<div id="myfbk" style="position:absolute;top:-1000px;left:-1000px;background-color:#fff; visibility:hidden;z-Index:100000;border:1px solid #000;-webkit-border-radius:6x;"> <br> </div><div id="mypriv" style="position: absolute; font-size: 14px; font-family: Arial; color: rgb(175, 175, 175); z-index: 1000003;"></div>
css
#g1{margin-top:280px;margin-left:40px;position:absolute} #weixin-share{background-image:url(/default/game/zzx/58/share11.png); height:100px;width:160px;position:absolute;top:0px;left:240px;z-index:699} #weixin-text{ font-family:"Microsoft Yahei",Arial,Helvetica,sans-serif; height: 600px; width: 420px; margin-top: 0px; margin-right: auto; margin-left: auto; background-color: #E8D9AE; padding-top: 23px; padding-left: 40px;z-index: 600 } #weixin-text #j{height:464px;width:316px;background-image:url(/default/game/zzx/58/58/j.png); background-repeat:no-repeat;margin:0px;padding:0px;clear:both;position:absolute;z-index:601} #weixin-text #j #txt{font-size:36px;font-weight:bold;color:#790000;margin-top:110px; margin-left:0px;text-align:center;} #weixin-text #j #rank{text-align:center;margin-top:0px;position:absolute;width:100%; padding-top:5px;color:#4E4524} .lis{overflow: hidden;width: 100%;z-index: 99999; position: absolute;top:0;} .lis a{display: block;width:99.9%;color:#ffffff;font-size:14px;text-decoration: none; background:#606783;text-align: center;opacity: 0.5;line-height:30px;font-weight: bold;font-family:"微软雅黑"} .lis a img{position: relative;top: 1px;}
js
欢迎大家来到IT世界,在知识的湖畔探索吧!var mebtnopenurl = 'https://www.ormcc.com/play/game';dataForWeixin = { "appId": "", "imgUrl": "http://g.huceo.com/weixin/zzx/icon.png", "url": "http://g.huceo.com/weixin/zzx/", "tTitle": "蜘蛛侠", "tContent": "蜘蛛侠"};function goHome(){ window.location=mebtnopenurl;}function clickMore(){ goHome();}function dp_share(){ document.title ="我是蜘蛛侠飞跃"+myData.score+"米,高处不胜寒, 谁来挑战我?"; document.getElementById("share").style.display=""; dataForWeixin.tTitle = document.title;}function dp_Ranking(){ window.location=mebtnopenurl;}document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() { WeixinJSBridge.on('menu:share:appmessage', function(argv) { WeixinJSBridge.invoke('sendAppMessage', { "appid": dataForWeixin.appId, "img_url": dataForWeixin.imgUrl, "link": dataForWeixin.url, "desc": dataForWeixin.tContent, "title": dataForWeixin.tTitle }, onShareComplete); }); WeixinJSBridge.on('menu:share:timeline', function(argv) { WeixinJSBridge.invoke('shareTimeline', { "appid": dataForWeixin.appId, "img_url": dataForWeixin.imgUrl, "img_width": "640", "img_height": "640", "link": dataForWeixin.url, "desc": dataForWeixin.tContent, "title": dataForWeixin.tTitle }, onShareComplete); });}, false);var myData = { gameid: "zzx" };function dp_submitScore(score){ myData.score = score+"0"; myData.scoreName = score+"0"+"米"; if(score>0){ alert("飞行"+score+"0米的距离") }}function onShareComplete(res) { document.location.href = mebtnopenurl;}document.getElementById('all').style.position = 'relative'
源码
需要源码请关注添加好友哦^ ^
转载:欢迎来到本站,转载请注明文章出处https://ormcc.com/
免责声明:本站所有文章内容,图片,视频等均是来源于用户投稿和互联网及文摘转载整编而成,不代表本站观点,不承担相关法律责任。其著作权各归其原作者或其出版社所有。如发现本站有涉嫌抄袭侵权/违法违规的内容,侵犯到您的权益,请在线联系站长,一经查实,本站将立刻删除。 本文来自网络,若有侵权,请联系删除,如若转载,请注明出处:https://itzsg.com/35915.html