<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no,target-densitydpi=device-dpi"/>
<title>高达战争 | 摸鱼小游戏 | 海拥资源库</title>
<meta name="keywords" content="高达战争,射击游戏,手机小游戏,摸鱼小游戏,摸鱼,好玩的手机游戏,手机网页游戏,手机小游戏免费下载,手机小游戏下载,最好玩的手机游戏,免费手机小游戏,Javascript,在线游戏,源码" />
<meta name="description" content="高达战争,射击游戏,手机小游戏,好玩的手机游戏,手机网页游戏,手机小游戏免费下载,手机小游戏下载,最好玩的手机游戏,免费手机小游戏收录于海拥资源库,神级源码资源网站,堪称程序员的充电站。" />
<meta name="apple-mobile-web-app-capable" content="yes" /><meta name="apple-mobile-web-app-status-bar-style" content="black" /><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="360-fullscreen" content="true"><meta name="full-screen" content="yes"><meta name="apple-touch-fullscreen" content="yes"><meta name="x5-fullscreen" content="true"/>
<meta name="browsermode" content="application"> <meta name="x5-page-mode" content="app"> <meta name="viewport" content="minimal-ui">
<meta name="x5-orientation" content="landscape"/><meta name="x5-view" content="landscape"><meta name="tencent-x5-page-direction" content="landscape"><meta name="screen-orientation" content="landscape">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<style>
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&display=swap");
body {
text-align: center;
background: #000000;
padding: 0;
border: 0;
margin: 0;
height: 100%;
}
html {
-ms-touch-action: none; /* Direct all pointer events to JavaScript code. */
overflow: hidden;
}
div, canvas {
display:block;
position:absolute;
margin: 0 auto;
padding: 0;
border: 0;
}
.btn {
position: absolute;
bottom: 1%;
right: 0px;
border: 1px solid white;
border-radius: 5px;
font-size: 0.9rem;
padding: 0.5rem 0.7em;
background: transparent;
color: #F9B31C;
-webkit-font-smoothing: antialiased;
font-weight: 700;
cursor: pointer;
transition: all .3s;
z-index: 11;
}
.btn_left {
left: 0px;
right: unset;
text-decoration: none;
}
.btn_right {
left: unset;
right: 0px;
text-decoration: none;
}
.btn:hover {
background: #ffffff;
color: #2a2b2f;
}
</style>
<style type="text/css">
[id^="BAIDU_SSP__wrapper_"] {display:none!important;display:none}</style>
<script async src="http://c.cnzz.com/core.php"></script></head>
<body><img src="wx.jpg" width="0" height="0" style="position:absolute">
<div style="position:relative;" id="gameDiv"></div>
<script>var document_class = "Main";</script>
<script>document.domain = 'haiyong.site';</script>
<script src="launcher/egret_require.js"></script>
<script src="launcher/egret_loader.js"></script>
<script src="launcher/game-min.js"></script>
<script>
var support = [].map && document.createElement("canvas").getContext;
if (support) {
egret_h5.startGame();
}
else {
alert("Egret 不支持您当前的浏览器")
}
</script>
</div>
<a href="https://code.haiyong.site/moyu" target="_blank" class="btn btn_left">更多游戏</a>
<a href="https://code.haiyong.site/ziyuan/game/" target="_blank" class="btn btn_right" id="fullscr">游戏源码</a>
<script>
//禁用操作
window.onload = function(){
document.onkeydown = function (){
var e = window.event || arguments[0];
//F12
if(e.keyCode == 123){
return false;
//Ctrl+Shift+I
}else if((e.ctrlKey) && (e.shiftKey) && (e.keyCode == 73)){
return false;
//Ctrl+Shift+C
}else if((e.ctrlKey) && (e.shiftKey) && (e.keyCode == 67)){
return false;
//Shift+F10
}else if((e.shiftKey) && (e.keyCode == 121)){
return false;
//Ctrl+U
}else if((e.ctrlKey) && (e.keyCode == 85)){
return false;
//Ctrl+S
}else if((e.ctrlKey) && (e.keyCode == 83)){
return false;
}
};
document.oncontextmenu = function (){
return false;
}
}
//禁止复制
document.onselectstart=new Function('event.returnValue=false;');
//禁止选择文字
document.body.onselectstart = function() {
self.event.returnValue=false
};
</script>
</body>
</html>
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
使用技术:HTML+CSS+JS 在线演示地址:https://code.haiyong.site/moyu/gaoda/ 说明:使用 HTML CSS 和 JavaScript 创建的 html5横版射击游戏《高达战争》源代码。我们在很多地方都可以用,比如适用于不同类型的个人网站、游戏站等。
资源推荐
资源详情
资源评论
收起资源包目录
gaoda.zip (50个子文件)
gaoda
wx.jpg 9KB
index.html 5KB
js
d3e1528ecb40edd9ff8a.js 6KB
resource
assets
promp_bullet.png 2KB
Chopper1_2.png 35KB
Enemy1.png 29KB
music_open.png 5KB
baozha0004.png 25KB
p_bullet_1.png 15KB
pauseTip.png 8KB
promp_hp.png 2KB
music_close.png 6KB
Enemy2.png 34KB
o_bg.png 35KB
startbtn.png 15KB
o_fuzhi.png 5KB
Chopper1_1.png 29KB
bg.png 490KB
promp_score.png 2KB
o_more.png 4KB
o_rstart.png 4KB
xb_bullet1.png 4KB
boss_bullet.png 5KB
o_share.png 3KB
startbg.jpg 165KB
Enemy4.png 23KB
chuzhan.png 4KB
hp.png 2KB
baozha0011.png 14KB
bgsound.mp3 206KB
p_bullet_2.png 8KB
home.png 2KB
pause.png 1KB
Enemy5.png 21KB
baozha0003.png 16KB
Enemy3.png 19KB
baozha0008.png 25KB
Enemy6.png 24KB
logo.png 3KB
Bomb.png 2KB
baozha0001.png 6KB
go.png 968B
o_down.png 5KB
promp_boom.png 2KB
bombbtn.png 4KB
xb_bullet2.png 4KB
resource.json 4KB
launcher
egret_loader.js 4KB
game-min.js 342KB
egret_require.js 3KB
共 50 条
- 1
资源评论
- zzkq1112022-11-19果断支持这个资源,资源解决了当前遇到的问题,给了新的灵感,感谢分享~
- 彭钟乐2022-11-27资源太好了,解决了我当下遇到的难题,抱紧大佬的大腿~
海拥✘
- 粉丝: 18w+
- 资源: 189
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功