Add credits page. Remove godmode menu entry for now.
This commit is contained in:
@@ -232,3 +232,33 @@ html, body {
|
||||
padding-top: 200px;
|
||||
z-index: 999999;
|
||||
}
|
||||
|
||||
#credits {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: 9999;
|
||||
background: black;
|
||||
overflow-y: auto;
|
||||
text-align: center;
|
||||
color: white;
|
||||
font-size: 1.1em;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
|
||||
#credits h3 {
|
||||
font-size: 2em;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
#credits b {
|
||||
font-size: 1.2em;
|
||||
color: #bbb;
|
||||
}
|
||||
|
||||
#credits h4 {
|
||||
color: #555;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
+13
-2
@@ -50,10 +50,11 @@
|
||||
<div id="menucontainer">
|
||||
<div id="menu">
|
||||
<div id="start">Start</div>
|
||||
<div id="s-controlType">Controls: LeapMotion</div>
|
||||
<div id="s-controlType">Controls: Keyboard</div>
|
||||
<div id="s-quality">Quality: High</div>
|
||||
<div id="s-hud">HUD: On</div>
|
||||
<div id="s-godmode">Godmode: On</div>
|
||||
<div id="s-godmode" style="display: none">Godmode: Off</div>
|
||||
<div id="s-credits">Credits</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -71,6 +72,16 @@
|
||||
<div id="time"></div>
|
||||
<div id="ctrl-help">Click/Touch to continue.</div>
|
||||
</div>
|
||||
<div id="credits" style="display: none">
|
||||
<h3>Code</h3>
|
||||
<p><b>Concept and Development</b><br>Thibaut Despoulain (BKcore)</p>
|
||||
<p><b>Contributors</b><br>townxelliot<br>mahesh.kk</p>
|
||||
<p><b>Technologies</b><br>WebGL<br>JavaScript<br>CoffeeScript<br>Three.js<br>LeapMotion</p>
|
||||
<h3>Graphics</h3>
|
||||
<p><b>HexMKI base model</b><br>Charnel</p>
|
||||
<p><b>Track texture</b><br>Nobiax</p>
|
||||
<h4>Click anywhere to continue.</h3>
|
||||
</div>
|
||||
|
||||
<div id="leapinfo" style="display: none"></div>
|
||||
|
||||
|
||||
@@ -52,6 +52,12 @@ $('step-2').onclick = ->
|
||||
init s[0][3], s[1][3], s[2][3], s[3][3]
|
||||
$('step-5').onclick = ->
|
||||
window.location.reload()
|
||||
$('s-credits').onclick = ->
|
||||
$('step-1').style.display = 'none'
|
||||
$('credits').style.display = 'block'
|
||||
$('credits').onclick = ->
|
||||
$('step-1').style.display = 'block'
|
||||
$('credits').style.display = 'none'
|
||||
|
||||
hasWebGL = ->
|
||||
gl = null
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Generated by CoffeeScript 1.7.1
|
||||
// Generated by CoffeeScript 1.6.3
|
||||
(function() {
|
||||
var $, a, getWebGL, hasWebGL, init, s, u, _fn, _i, _len;
|
||||
|
||||
@@ -72,6 +72,16 @@
|
||||
return window.location.reload();
|
||||
};
|
||||
|
||||
$('s-credits').onclick = function() {
|
||||
$('step-1').style.display = 'none';
|
||||
return $('credits').style.display = 'block';
|
||||
};
|
||||
|
||||
$('credits').onclick = function() {
|
||||
$('step-1').style.display = 'block';
|
||||
return $('credits').style.display = 'none';
|
||||
};
|
||||
|
||||
hasWebGL = function() {
|
||||
var canvas, gl;
|
||||
gl = null;
|
||||
|
||||
Reference in New Issue
Block a user