-
Notifications
You must be signed in to change notification settings - Fork 0
/
game.html
62 lines (51 loc) · 2.26 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>TGame</title>
<script>
// this sets the namespace for CreateJS to the window object, so you can instantiate objects without specifying
// the namespace: "new Graphics()" instead of "new createjs.Graphics()"
// this is a quick way to make projects built on pervious versions of EaselJS run without extensive modifications
var createjs = window;
</script>
<script type="text/javascript" src="script/preloadjs-0.2.0.min.js"></script>
<script type="text/javascript" src="script/soundjs-0.3.0.min.js"></script>
<script type="text/javascript" src="script/easeljs-0.5.0.min.js"></script>
<!-- We also provide hosted minified versions of all CreateJS libraries.
http://code.createjs.com -->
<!-- Game script below -->
<script type="text/javascript" src="script/ObjectPool.js"></script>
<script type="text/javascript" src="script/GameObject.js"></script>
<script type="text/javascript" src="script/GameVisual.js"></script>
<script type="text/javascript" src="script/Player.js"></script>
<script type="text/javascript" src="script/LaserV.js"></script>
<script type="text/javascript" src="script/Laser.js"></script>
<script type="text/javascript" src="script/SpikesV.js"></script>
<script type="text/javascript" src="script/Spikes.js"></script>
<script type="text/javascript" src="script/ShooterV.js"></script>
<script type="text/javascript" src="script/Shooter.js"></script>
<script type="text/javascript" src="script/preload.js"></script>
<script type="text/javascript" src="script/game.js"></script>
<script type="text/javascript" src="script/PlayerV.js"></script>
<style type="text/css">
body {
background-color: #000000;
}
#content {
user-select: none;
background-color:#FFFFFF;
width: 1024;
height: 800;
}
</style>
</head>
<body onload="init();">
<header id="header" class="SoundJS">
<h1><span >Franny Rush</span></h1>
</header>
<div id="content">
<canvas id="gameCanvas" width="1024" height="800"></canvas>
</div>
</body>
</html>