-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
162 lines (158 loc) · 7.33 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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<script src="https://kit.fontawesome.com/208e14b18c.js" crossorigin="anonymous"></script>
<link rel="shortcut icon" href="#" />
<link href="https://fonts.googleapis.com/css2?family=Gloria+Hallelujah&display=swap" rel="stylesheet"></head>
<title>Initial Fantasy</title>
<body>
<main>
<button id="mute"><i class="fas fa-volume-mute"></i></button>
<div id="startGame">
<p>Hello adventurous, I'm glad to see you came to help our hero to defeat <br> the goblin king who invaded this forest. <br> The path is full of powerfull enemies so be caferull on going ahead to quickly <br> since enemies get stronger and stronger as you move forward. <br> Sometimes may help go back and get stronger by defeating weaker enemies. <br> This is a rpg turn based, this means you can fight by declaring one action per turn. <br>
You will be able to acces the following tutorial everytime you need from the menu.
</p> <br> <button>Continue</button>
</div>
<img id="right" src="./img/arrow.gif" alt="">
<img id="goblinKing" src="./img/goblinKing.gif" alt="">
<button id="mainMenu">Menu</button>
<div id="menu">
<button>Train</button>
<button>Use Items</button>
<button>Equipment</button>
<button>Tutorial</button>
<button id="closeMenu"><i class="fas fa-times"></i></button>
</div>
<div id="train">
<h2>
Experience: <span>0</span>
</h2>
<article>
<h3>maxLP</h3> <span>32</span> <button value="LP">UP</button>
</article>
<article>
<h3>maxAP</h3> <span>12</span> <button value="AP">UP</button>
</article>
<article>
<h3>ATT</h3> <span>12</span> <button value="ATT">UP</button>
</article>
<article>
<h3>DEF</h3> <span>8</span> <button value="DEF">UP</button>
</article>
<article>
<h3>artATT</h3> <span>10</span> <button value="artATT">UP</button>
</article>
<article>
<h3>artDEF</h3> <span>8</span> <button value="artDEF">UP</button>
</article> <br>
<article>
<button value="back"><i class="fas fa-long-arrow-alt-left"></i></button>
</article>
</div>
<div id="useItems">
<button class="slot1">empty</button>
<button class="slot2">empty</button>
<button class="slot3">empty</button>
<div>
<span></span><span></span>
</div>
<button id="useItemsBack" value="back"><i class="fas fa-long-arrow-alt-left"></i></button>
</div>
<div id="equipmentMenu">
<div id="list">
<button>Silver Elmet<span>ATT +5 <br> LP +5</span></button>
<button>Regal Elmet<span>ATT +8 <br> LP +2</span></button>
<button>Silver Armor<span>DEF +5 <br> LP +5</span></button>
<button>Regal Armor<span>DEF +5 <br> artDEF +5</span></button>
<button>Magic Sword<span>artATT +10 <br> maxAP +10</span></button>
<button>Strong Sword<span>ATT +10 <br> LP +5</span></button>
<button>Silver Boots<span>ATT +4 <br> DEF +4</span></button>
<button>Regal Boots<span>ATT +3 <br> LP +20</span></button>
<button id="equipmentBack" value="back"><i class="fas fa-long-arrow-alt-left"></i></button>
</div>
<div id="showEq">
<div>
<h4>Head</h4>
<article>
<img src="./img/silver elmet.jpg" alt="">
<img src="./img/regal elmet.jpg" alt="">
</article>
</div>
<div>
<h4>Body</h4>
<article>
<img src="./img/silver armor.png" alt="">
<img src="./img/regal armor.png" alt="">
</article>
</div>
<div>
<h4>Weapon</h4>
<article>
<img src="./img/magic sword.jpg" alt="">
<img src="./img/strong sword.png" alt="">
</article>
</div>
<div>
<h4>Boots</h4>
<article>
<img src="./img/silver boots.png" alt="">
<img src="./img/regal boots.png" alt="">
</article>
</div>
</div>
</div>
<img id="characterPG" src="./img/0a93f1860c438efd1ad61863d5d6d312.gif" alt="">
<p id="messageField">You are under attack!</p>
<button id="restart">Restart</button>
<article id="message"></article>
<section>
<div class="buttons">
<div class="items"></div>
<button id="attack"><img src="./img/attackIcon.png"> Attack <img id="right" src="./img/attackIcon.png"></button>
<button id="items"><img src="./img/potionIcon.png"> Items <img src="./img/potionIcon.png"></button>
<button id="arts"><img src="./img/magicIcon.png"> Arts <img src="./img/magicIcon.png"></button>
<button id="flee">Flee</button>
</div>
<div class="artsMenu">
<button><img src="./img/magicIcon.png">Koi<img src="./img/magicIcon.png"></button>
<button><img src="./img/magicIcon.png">Ken<img src="./img/magicIcon.png"></button>
<button><img src="./img/magicIcon.png">Kik<img src="./img/magicIcon.png"></button>
<button class="goBack"><i class="fas fa-long-arrow-alt-left"></i></button>
</div>
<div class="itemsMenu">
<button class="slot1">empty</button>
<button class="slot2">empty</button>
<button class="slot3">empty</button>
<button class="goBack"><i class="fas fa-long-arrow-alt-left"></i></button>
</div>
<div class="LAP">
<div id="LP">
</div>
<div id="AP">
</div>
</div>
<section class="enemiesDataContainer">
<div>
<h5></h5>
<article id="enemy1LP"></article>
</div>
<div>
<h5></h5>
<article id="enemy2LP"></article>
</div>
</section>
<h2>Your turn</h2>
</section>
<div id="enemy1" class="slide-in-blurred-tr"><img src="" alt=""></div>
<div id="enemy2" class="slide-in-blurred-tr"></div>
<div id="damageAnimation"></div>
<div class="attackAnimation"></div>
<button id="continue">Continue</button>
</main>
<audio loop src="./img/musicBackground.mp4"></audio>
<script type="module" src="./script.js"></script>
</body>
</html>