H5游戏源码分享-考眼力游戏猜猜金币在哪

H5游戏源码分享-考眼力游戏猜猜金币在哪

html 复制代码
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="UTF-8">
    <meta name="apple-mobile-web-app-capable" content="yes"> 
    <meta name="robots" content="index,follow"> 
    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=no;">
	<title>最强眼力</title>	
     <link href="9.css" media="screen" rel="stylesheet" type="text/css">
    <script>
    document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
    	WeixinJSBridge.call('showOptionMenu');
    });
	//new Image().src = '/wenzhangku.com';
	var moreGamesLocation = 'http://mp.weixin.qq.com/s?__biz=MjM5ODMzMjk5Nw==&mid=200442232&idx=1&sn=bb981cf0ec10bc9bf28f24179744f511&from=singlemessage&isappinstalled=0#rd';
	function play68_init() {		updateShare(0);}
	function updateShare(bestScore) {
		imgUrl = '1.png';
		var domains = ['http://game2.id87.com/'];
		var domain = domains[new Date().getTime()%4];lineLink = 'http://game2.id87.com/zuiqiangyanli/';descContent = "考考你的眼力!你的眼睛跟得上吗?";updateShareScore(bestScore);appid = '';
	}	
	function updateShareScore(bestScore) {
		if(bestScore > 0) {shareTitle = "我玩《最强眼力》过了" + bestScore + "关,眼都花了!";}
		else{shareTitle = "不玩《最强眼力》怎么知道自己的眼力原来那么好?";}
	}
</script>
<script type="text/javascript" src="games.vdcom.cn" charset="UTF-8"></script>
</head>

<body style='background: #222; margin: 0 auto;' onorientationchange='window.scrollTo(0, 1);'>
  </head>
  <body class="os-windows osv-6_1 osmv-6" onorientationchange="orentationChanged()">    
    <DIV class="main">
      <div id="frame">
        <div id="logo" style="display: none; opacity: 0;"></div>
        <div id="playButton" style="display: none; opacity: 1;"></div>
        <div id="level" style="display: none;">
                     <span id="levelLabel">关卡:</span>
          <span id="levelNum">1</span>
        </div>
        <div id="lives" style="display: none;">
          <div id="hearts"><div class="heart">&nbsp;</div><div class="heart">&nbsp;</div><div class="heart">&nbsp;</div></div>
                <div id="livesLabel">命:</div>
        </div>
        <div id="b" style="display: block;">
          <div style="display: block;" id="b1"></div>
          <div style="display: block;" id="b2"></div>
          <div style="display: block;" id="b3"></div>
        </div>
        <canvas height="240" width="320" id="canvas" style="display: block;"></canvas><div id="msg" style="position:relative;display: block; opacity: 1;bottom:50px;"></div>
      </div>
	 <div  style="position:relative; display: block; margin: 0px auto;bottom:120px;z-index:20000">
	 	<a style="font-size: 15px;color: #f00;font-weight: bold;display: block;height: 30px;line-height: 30px;" href="http://mp.weixin.qq.com/s?__biz=MjM5ODMzMjk5Nw==&mid=200442232&idx=1&sn=bb981cf0ec10bc9bf28f24179744f511&from=singlemessage&isappinstalled=0#rd">关注我们</a><br/>
	 	<a style="font-size: 15px;color: #f00;font-weight: bold;display: block;height: 30px;line-height: 30px;" href="http://game2.id87.com/">更多游戏</a>
	 </div>
      <script type="text/javascript" src="9.js"></script>
    </DIV>
</body>
</html>

纯JS写的游戏,项目地址:https://download.csdn.net/download/Highning0007/88483130

相关推荐
幻狐boke5 小时前
【游戏模组】星际争霸1代模组燃烧之地,泰伦帝国对决UED。特效华丽兵种巨多特别好玩
游戏
科技资讯早知道11 小时前
java计算机毕设课设—坦克大战游戏
java·开发语言·游戏·毕业设计·课程设计·毕设
程序猿阿伟1 天前
《C++游戏人工智能开发:开启智能游戏新纪元》
c++·人工智能·游戏
Artistation Game1 天前
九、怪物行为逻辑
游戏·unity·游戏引擎
妙为1 天前
unreal engine5制作动作类游戏时,我们使用刀剑等武器攻击怪物或敌方单位时,发现攻击特效、伤害等没有触发
游戏·游戏引擎·虚幻·碰撞预设
网站领航1 天前
服装时尚与动漫游戏的跨界联动:创新运营与策划策略研究
游戏·流量运营·用户运营
龙智DevSecOps解决方案1 天前
Perforce演讲回顾(上):从UE项目Project Titan,看Helix Core在大型游戏开发中的版本控制与集成使用策略
游戏·ue5·源代码管理·perforce·helix core
dangoxiba2 天前
[Unity Demo]从零开始制作空洞骑士Hollow Knight第十三集:制作小骑士的接触地刺复活机制以及完善地图的可交互对象
游戏·unity·visualstudio·c#·游戏引擎
新手unity自用笔记2 天前
项目-坦克大战学习-游戏结束
学习·游戏
DK七七2 天前
【PHP陪玩系统源码】游戏陪玩系统app,陪玩小程序优势
前端·vue.js·游戏·小程序·php·uniapp