This repository has been archived by the owner on May 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
demo1.html
43 lines (42 loc) · 1.43 KB
/
demo1.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>CraftyMouseFace Demo 1</title>
<style type="text/css">
* {
margin: 0px;
padding: 0px;
}
body, html {
/*overflow:hidden; */
background: #000;
font-family: Tahoma, Sans-serif, Helvetica;
}
#cr-stage {
margin: 0 auto;
position: relative;
width: 800px;
height: 480px;
border: solid 1px #231f20;
cursor: crosshair;
}
#loading {
color: white;
}
</style>
</head>
<body>
<!--[if lt IE 8]><p class=chromeframe>Your browser is <em>ancient!</em> <a href="http://browsehappy.com/">Upgrade to a different browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to experience this site.</p><![endif]-->
<!-- libraries -->
<script src="../bower_components/jquery/jquery.min.js"></script>
<script src="../bower_components/crafty/dist/crafty-min.js"></script>
<!-- game -->
<script type="text/javascript" src="../src/craftyMFace.js"></script>
<script type="text/javascript" src="demo1.js"></script>
<div id="loading">Loading ...</div>
<div id="fps" style="position: absolute; float left; color: white;"></div>
</body>
</html>