-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
144 lines (122 loc) · 3.72 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>Little Box Knight's Adventures</title>
<!-- disable native mobile pinch-to-zoom, replacing with the Goo Engine zoom -->
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta property="og:title" content="Knight1_copy"/>
<meta property="og:updated_time" content="2013-12-28T16:41:03.620854"/>
<meta property="og:site_name" content="Goo Create"/>
<meta property="og:type" content="website"/>
<link rel="stylesheet" type="text/css" href="style/style.css">
<!-- <script src="lib/require.js"></script> -->
<!-- <script src="lib/dat.gui.min.js"></script> -->
<script src="lib/jquery-1.10.2.min.js"></script>
<script src="lib/underscore-min.js"></script>
<script src="lib/howler.min.js"></script>
<!-- <script src="lib/Tween.js"></script> -->
<script src="lib/tween.min.js"></script>
<!-- <script src="goo/lib/goo.js"></script> -->
<script src="lib/goo-require.js"></script>
<!-- <script src="lib/goo.js"></script> -->
<!-- <script src="lib/ammo.js"></script> -->
<!-- <script src="goo/lib/cannon/cannon.js"></script> -->
<link href='http://fonts.googleapis.com/css?family=Lobster|Ruge+Boogie' rel='stylesheet' type='text/css'>
<script src="js/loadScene.js"></script>
<script>
$(function(){
// $(window).bind('blur', function(e){ goo.stopGameLoop(); });
// $(window).bind('focus', function(e){ goo.startGameLoop(); });
});
</script>
<style>
.lobster {
font-family: 'Lobster', cursive;
}
.ruge {
font-family: 'Ruge Boogie', cursive;
}
#goo, #gui {
/*cursor: none;*/
}
#gui {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: 1;
text-align: center;
}
#level {
text-shadow: 0 0 2px #fff, 0 1px 0px #0ff, 0 -1px 0px #f0f, 0 0 10px black;
font-size: xx-large;
-webkit-transition: -webkit-transform 1500ms cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 2500ms ease-out;
-moz-transition: -moz-transform 1500ms cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 2500ms ease-out;
-ms-transition: -ms-transform 1500ms cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 2500ms ease-out;
-o-transition: -o-transform 1500ms cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 2500ms ease-out;
transition: transform 1500ms cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 2500ms ease-out;
}
#level.out {
opacity: 0;
-webkit-transform: translate3d(0, -150px, 0);
-moz-transform: translate3d(0, -150px, 0);
-ms-transform: translate3d(0, -150px, 0);
-o-transform: translate3d(0, -150px, 0);
transform: translate3d(0, -150px, 0);
}
#level.in {
opacity: 0.5;
-webkit-transform: translate3d(0, 50px, 0);
-moz-transform: translate3d(0, 50px, 0);
-ms-transform: translate3d(0, 50px, 0);
-o-transform: translate3d(0, 50px, 0);
transform: translate3d(0, 50px, 0);
}
#tutorial {
text-align: center;
width: 100%;
height: 100%;
position: absolute;
bottom: 40px;
left: 0;
right: 0;
top: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.8);
font-size: 40px;
}
#tutorial p {
margin: 0 auto;
width: 50%;
position: relative;
top: 50%;
padding: 10px 20px;
border-radius: 8px;
border: 2px solid rgb(255, 255, 255);
box-shadow: 0 2px 8px rgba(0,0,0,0.5);
background: rgba(255,255,255,0.2);
color: #FFF;
text-shadow: 0 1px 1px #020202;
}
</style>
</head>
<body>
<div id="loadingOverlay" style="display: none">
<div id="loadingMessage">
<h2>Loading project</h2>
<div id="progressBar">
<div id="progress"></div>
</div>
</div>
<h6>Move with WASD, SPACE to attack</h6>
</div>
<div id="gui">
<div id="level" class="out"></div>
<div id="tutorial" class="" style="display:none">
<p class="ruge"></p>
</div>
</div>
</html>