-
Notifications
You must be signed in to change notification settings - Fork 1
/
game.html
53 lines (45 loc) · 1.79 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<script src="http://use.edgefonts.net/ubuntu-mono:n4,i4,n7,i7.js"></script>
<link href='http://fonts.googleapis.com/css?family=Titillium+Web:400,700,300,700italic,400italic,300italic' rel='stylesheet' type='text/css'>
<link href="css/game.css" rel="stylesheet" type="text/css" />
</head>
<body>
<ul id="characterActionsMenu" class="menu character-actions-menu">
<li><button id="move">Move</button></li>
<li><button id="attack">Attack</button></li>
<li><button id="tactic">Tactic</button></li>
<li><button id="wait">Wait</button></li>
<li><button id="endTurn">End turn</button></li>
</ul>
<ul id="inGameMenu" class="menu in-game-menu">
<li><button id="pause">Pause</button></li>
<li><button id="resume">Resume</button></li>
</ul>
<div id="canvas" class="canvas">
<canvas id="background" class="canvas-background">
Game Background
</canvas>
<canvas id="foreground" class="canvas-foreground">
Game Objects
</canvas>
</div>
<img id="spritesheet" src="images/DemoSpritesheet.gif" width="" height="" alt="" class="spritesheet" />
<div id="gameUtilities">
<div class="statistic">
<span id="frameRate">0</span> fps
</div>
<div class="statistic time">
<span id="gameTime">0</span> sec
</div>
</div>
<div id="eventLog" class="event-log"></div>
<script id="eventLogItemTemplate" type="text/template">
<span class="<%= cssClass %>"><%= message %></span>
</script>
<script src="js/libraries/require-2.1.14.js" data-main="js/mainGame.js"></script>
</body>
</html>