-
Notifications
You must be signed in to change notification settings - Fork 0
/
game.html
87 lines (81 loc) · 3.86 KB
/
game.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
<!DOCTYPE HTML>
<html>
<head>
<title>phaser - hello world</title>
<script src="lib/2.4.4_phaser.js"></script>
<script src="lib/0.6.2_cannon.js"></script>
<script src="lib/0.3.14_peer.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<ul class="horizontal noselect">
<li class="health">
<img src="bin/shield.png"></img>
Base health
<span id="baseHealth">0</span>%
</li>
<li class="enemyHealth">
<img src="bin/bolt_gold.png">
Enemy base health
<span id="enemyHealth">0</span>%
</li>
<li class="money">
<img src="bin/money.png">
Money
<span id="money">0</span>u
</li>
</ul>
<div id="game-window"></div>
<ul class="horizontal noselect">
<li class="attack-color" onclick="launchAttackShip()">
<span><img src="bin/icon_attack.png">Attack ship - </span><span id="AttackCostSpan">100</span><span>u</span>
</li>
<li class="resource-color" onclick="launchResourceShip()">
<span><img src="bin/icon_resource.png"></img>Resource ship - </span><span id="CollectCostSpan">100</span><span>u</span>
</li>
<li class="defense-color" onclick="launchDefenseShip()">
<span><img src="bin/icon_defense.png">Defense ship - </span><span id="DefendCostSpan">100</span><span>u</span>
</li>
</ul>
<script src="./src/configuration.js"></script>
<script src="./src/utils.js"></script>
<script src="./src/network.js"></script>
<script src="./src/controller.js"></script>
<script src="./src/physics.js"></script>
<script src="./src/drawable/drawable.js"></script>
<script src="./src/drawable/text.js"></script>
<script src="./src/drawable/health_bar.js"></script>
<script src="./src/drawable/texture_manager.js"></script>
<script src="./src/drawable/circle.js"></script>
<script src="./src/drawable/rect.js"></script>
<script src="./src/drawable/cone.js"></script>
<script src="./src/drawable/line.js"></script>
<script src="./src/drawable/drawable_group.js"></script>
<script src="./src/behaviour/behaviour.js"></script>
<script src="./src/behaviour/empty_behaviour.js"></script>
<script src="./src/behaviour/radar_behaviour.js"></script>
<script src="./src/behaviour/bar_behaviour.js"></script>
<script src="./src/behaviour/cone_behaviour.js"></script>
<script src="./src/behaviour/select_behaviour.js"></script>
<script src="./src/behaviour/static_behaviour.js"></script>
<script src="./src/behaviour/base_behaviour.js"></script>
<script src="./src/behaviour/base_shield_behaviour.js"></script>
<script src="./src/behaviour/coin_behaviour.js"></script>
<script src="./src/behaviour/shield_behaviour.js"></script>
<script src="./src/behaviour/shield_wall_behaviour.js"></script>
<script src="./src/behaviour/fading_score_behaviour.js"></script>
<script src="./src/behaviour/network_behaviour.js"></script>
<script src="./src/behaviour/ship_behaviour.js"></script>
<script src="./src/behaviour/ai_ship_behaviour.js"></script>
<script src="./src/behaviour/meteor_behaviour.js"></script>
<script src="./src/behaviour/power_up_behaviour.js"></script>
<script src="./src/audio_manager.js"></script>
<script src="./src/game.js"></script>
<script src="./src/scene.js"></script>
<script src="./src/phaser_game.js"></script>
<script src="./src/element_render_data.js"></script>
<script src="./src/gameplay/money.js"></script>
<script src="./src/gameplay/ship_attributes.js"></script>
<script src="./src/gameplay/gameplay.js"></script>
</body>
</html>