Bladeren bron

moving gravitywell to eyeofmidas hosting

Justin Gilman 4 maanden geleden
bovenliggende
commit
e000612c4b
3 gewijzigde bestanden met toevoegingen van 24 en 2 verwijderingen
  1. 0 0
      htdocs/canvas/gravitywell/all.min.js
  2. 22 0
      htdocs/canvas/gravitywell/index.html
  3. 2 2
      htdocs/index.html

File diff suppressed because it is too large
+ 0 - 0
htdocs/canvas/gravitywell/all.min.js


+ 22 - 0
htdocs/canvas/gravitywell/index.html

@@ -0,0 +1,22 @@
+<meta name="viewport" content="width=device-width, initial-scale=1.0" />
+<style type="text/css">
+html,body{
+	margin: 0;
+	padding: 0;
+	font-family: Arial, sans-serif;
+}
+#game-container {
+	width: 100%;
+	height: 100%;
+	z-index: 1;
+}
+</style>
+<div id="game-container"></div>
+<script type="text/javascript" src="all.min.js"></script>
+<script type="text/javascript">
+document.addEventListener("DOMContentLoaded", function(event) {
+	window.system = new System();
+	system.create("game-container", new GravityWellGame(), "#000000");
+});
+</script>
+

+ 2 - 2
htdocs/index.html

@@ -201,14 +201,14 @@
 			</div>-->
 			<div class="project">
 				<div class="teaser">
-					<a href="http://eyeofmidas.net/gravitywell/" target="_blank">
+					<a href="./canvas/gravitywell/" target="_blank">
 						<video autoplay loop>
 							<source src="./images/gravitywell.mp4" type="video/mp4">
 						</video>
 					</a>
 				</div>
 				<div class="description">
-					<h3><a href="http://eyeofmidas.net/gravitywell/" target="_blank">Gravity Well clone</a></h3>
+					<h3><a href="./canvas/gravitywell/" target="_blank">Gravity Well clone</a></h3>
 					<p>An HTML5 canvas remake of a game in the 90s</p>
 				</div>
 			</div>

Some files were not shown because too many files changed in this diff