html实现神墓逃亡小游戏(自适应)

使用html+css+js实现以前神墓逃亡小游戏,不需要下载,只需要点击链接就可以体验,手机电脑都可以运行,源码链接在文章末尾,需要的请自取

效果图:


编辑


编辑


目录结构:


编辑


html部分:





H5神庙逃亡自适应手机游戏



content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui">


















css部分:


#container {
background: #000000;
width: 100%;
height: 100%;
}


html,
body {
background: #000000;
margin: 0;
padding: 0;
width: 100%;
height: 100%;
touch-action: none;
user-select: none;
-ms-touch-action: none;
-moz-user-select: none;
-webkit-touch-callout: none;
-webkit-user-select: none;
-ms-user-select: none;
-khtml-user-select: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


body {
overflow: hidden;
}


canvas {
touch-action-delay: none;
touch-action: none;
-ms-touch-action: none;
}


#info {
position: absolute;
top: 0px;
width: 100%;
color: #ffffff;
padding: 5px;
font-family: Monospace;
font-size: 13px;
font-weight: bold;
text-align: center;
}


a {
color: #ffffff;
}
其他代码太多了,需要的请自行下载源码:


https://download.csdn.net/download/qq_27939089/86262113

展开阅读全文

页面更新:2024-05-12

标签:小游戏   末尾   神庙   效果图   源码   编辑   结构   代码   链接   目录

1 2 3 4 5

上滑加载更多 ↓
推荐阅读:
友情链接:
更多:

本站资料均由网友自行发布提供,仅用于学习交流。如有版权问题,请与我联系,QQ:4156828  

© CopyRight 2008-2024 All Rights Reserved. Powered By bs178.com 闽ICP备11008920号-3
闽公网安备35020302034844号

Top