forked from kirps/rolly-dice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
63 lines (50 loc) · 2.89 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
<!DOCTYPE html>
<html>
<head>
<title>Rolly Dice v1.0</title>
<link rel="stylesheet" href="css/reset.css" type="text/css">
<link rel="stylesheet" href="css/main.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="author" content="Vincent Palcon">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
<meta name="msapplication-tap-highlight" content="no"/>
<link rel="icon" type="image/png" href="sprites/favicon.png" />
<link rel="apple-touch-icon" href="sprites/iphone_icon.png" />
<!--script type="text/javascript" src="js/jquery-2.0.3.min.js"></script-->
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<!--
<link rel-"stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/jquery-mobile/1.4.1/jquery.mobile.css" type="text/css" media="screen" />
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery-mobile/1.4.1/jquery.mobile.min.js"></script>
-->
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css">
<!-- Latest compiled and minified JavaScript -->
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="js/fancybox/source/jquery.fancybox.css?v=2.1.5" type="text/css" media="screen" />
<script type="text/javascript" src="js/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
<script type="text/javascript" src="js/handlebars-v1.3.0.js"></script>
<script type="text/javascript" src="js/createjs-2014.03.12.min.js"></script>
<script type="text/javascript" src="js/main.js"></script>
</head>
<body ondragstart="return false;" ondrop="return false;" >
<script>
$(document).ready(function(){
var oMain = new CMain();
$(oMain).on("game_start", function(evt) {
//alert("game_start");
});
$(oMain).on("save_score", function(evt,score,best_score) {
//alert("save_score: "+score);
});
$(oMain).on("restart", function(evt) {
//alert("restart");
});
//attach the fancybox to the page
$(".fancybox").fancybox();
});
</script>
<canvas id="canvas" class='ani_hack' width="768" height="1024"> </canvas>
</body>
</html>