-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
145 lines (137 loc) · 5.06 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8" />
<title>Under Ground Engine</title>
<link rel="icon" href="assets/favicon.ico" type="image/x-icon">
<style>
@font-face
{
font-family: "Determination Mono";
src: url("assets/fonts/dtm_mono.ttf");
}
@font-face
{
font-family: "Mars Needs Cunnilingus";
src: url("assets/fonts/mnc.ttf");
}
body
{
background-color: #000;
}
canvas
{
display: block;
background: #000;
letter-spacing: -1.5px;
margin-left: 0px;
margin-top: 0px;
}
#images, #audio
{
display: none;
}
#cvsdiv{
border: 0px solid #FFF;
display: block;
margin-left: auto;
margin-right: auto;
margin-top: 20px;
border-top: -90px;
margin-bottom: 20px;
width: 640px;
height: 480px;
overflow: hidden;
}
#bdr{
background-image: url(./assets/ui/frames/dog.png);
background-size:contain;
width: 960px;
height: 530px;
margin: 0;
border: 0;
padding-top: 10px;
}
</style>
</head>
<body>
<div id="bdr">
<div id="cvsdiv">
<canvas id="cvs">
你的浏览器太逊了!
</canvas>
</div>
</div>
<div id="images">
<img id="heart" src="assets/heart/heart.png" alt="img" />
<img id="heart_dmg" src="assets/heart/heart_dmg.png" alt="img" />
<img id="heart_over" src="assets/heart/heart_over.png" alt="img" />
<img id="button_fight" src="assets/ui/btns/button_fight.gif" alt="img" />
<img id="button_act" src="assets/ui/btns/button_act.gif" alt="img" />
<img id="button_item" src="assets/ui/btns/button_item.gif" alt="img" />
<img id="button_mercy" src="assets/ui/btns/button_mercy.gif" alt="img" />
<img id="button_fight_over" src="assets/ui/btns/button_fight_over.gif" alt="img" />
<img id="button_act_over" src="assets/ui/btns/button_act_over.gif" alt="img" />
<img id="button_item_over" src="assets/ui/btns/button_item_over.gif" alt="img" />
<img id="button_mercy_over" src="assets/ui/btns/button_mercy_over.gif" alt="img" />
<img id="guide" src="assets/guide.png" alt="img" />
<img id="hp" src="assets/ui/fig/hp.png" alt="img" />
<img id="attack_box" src="assets/ui/fig/attack_box.png" alt="img" />
<img id="d0" src="assets/ui/dnum/d0.png" alt="img" />
<img id="d1" src="assets/ui/dnum/d1.png" alt="img" />
<img id="d2" src="assets/ui/dnum/d2.png" alt="img" />
<img id="d3" src="assets/ui/dnum/d3.png" alt="img" />
<img id="d4" src="assets/ui/dnum/d4.png" alt="img" />
<img id="d5" src="assets/ui/dnum/d5.png" alt="img" />
<img id="d6" src="assets/ui/dnum/d6.png" alt="img" />
<img id="d7" src="assets/ui/dnum/d7.png" alt="img" />
<img id="d8" src="assets/ui/dnum/d8.png" alt="img" />
<img id="d9" src="assets/ui/dnum/d9.png" alt="img" />
<img id="miss" src="assets/ui/dnum/miss.png" alt="img" />
<img id="asriel" src="assets/sprites/asriel.png" alt="img" />
<img id="mettaton" src="assets/sprites/mettaton.png" alt="img" />
<img id="napstablook" src="assets/sprites/napstablook.png" alt="img" />
</div>
<div id="audio">
<audio id="flash" src="assets/snd/flash.wav" controls></audio>
<audio id="heal" src="assets/snd/heal.wav" controls></audio>
<audio id="button" src="assets/snd/button.wav" controls></audio>
<audio id="text" src="assets/snd/text.wav" controls loop></audio>
<audio id="hit_1" src="assets/snd/hit_1.wav" controls></audio>
<audio id="hit_1_crit" src="assets/snd/hit_1_crit.wav" controls></audio>
<audio id="hit_2" src="assets/snd/hit_2.wav" controls></audio>
<audio id="hit_2_crit" src="assets/snd/hit_2_crit.wav" controls></audio>
<audio id="impact" src="assets/snd/impact.wav" controls></audio>
<audio id="damage" src="assets/snd/damage.wav" controls></audio>
<audio id="bgm" src="assets/mus/bgm.mp3" controls></audio>
</div>
<!-- Classes -->
<script src='js/classes/vect.js'></script>
<script src='js/classes/cenemy.js'></script>
<script src='js/classes/cdefend.js'></script>
<script src='js/classes/item.js'></script>
<script src='js/classes/animation.js'></script>
<script src='js/classes/animation_num.js'></script>
<!-- Tools -->
<script src='js/utilities.js'></script>
<script src='js/loader.js'></script>
<script src='js/keys.js'></script>
<script src='js/effects.js'></script>
<!-- Modules -->
<script src='js/modules/flash.js'></script>
<script src='js/modules/cbbox.js'></script>
<script src='js/modules/combat.js'></script>
<script src='js/modules/sound.js'></script>
<script src='js/modules/cgroup.js'></script>
<script src='js/modules/chp.js'></script>
<script src='js/modules/cmenu.js'></script>
<script src='js/modules/cattack.js'></script>
<script src='js/modules/cbubble.js'></script>
<script src='js/modules/Writer.js'></script>
<script src='js/modules/inventory.js'></script>
<script src='js/modules/soul.js'></script>
<script src='js/modules/player.js'></script>
<!-- Main -->
<script src='js/main.js'></script>
</body>
</html>