repl.it
@JSer/

Rolling Sky

HTML, CSS, JS

No description

fork
loading
Files
  • index.html
  • img
  • level-creator
  • classes.js
  • controls.js
  • levels.json
  • main.js
  • style.css
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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>WebGL Rolling Sky</title>
	<link rel="stylesheet" href="style.css">
	<link href="https://fonts.googleapis.com/css?family=Roboto:400,700" rel="stylesheet">
	<link rel="icon" href="img/icon.png">
</head>
<body>
  <div id="canvascontainer">
    <div id="percent">0%</div>
  </div>
  <div id="main">
    <div id="level"></div>
    <div id="score">Loading...</div>
    <a id="level-d" href="https://rolling-sky.jser.repl.co/level-creator/">Level Creator (Beta)</a>
    <div class="button" id="play">
      <img id="play-arrow" src="img/arrow-right.svg">
    </div>
    <div class="button" id="retry">
      <img id="retry-icon" src="img/retry.svg">
    </div>
    <div class="button" id="next" onclick="nextLevel()">
      <img id="next-arrow" src="img/next.svg">
    </div>
    <div class="button" id="prev" onclick="prevLevel()">
      <img id="prev-arrow" src="img/previous.svg">
    </div>
  </div>
	<script src="https://threejs.org/build/three.min.js"></script>
	<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
	<script src="classes.js"></script>
	<script src="main.js"></script>
	<script src="controls.js"></script>
</body>
</html>
result
console