소스 검색

moving gravitywell to eyeofmidas hosting

Justin Gilman 6 달 전
부모
커밋
e000612c4b
3개의 변경된 파일24개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 0
      htdocs/canvas/gravitywell/all.min.js
  2. 22 0
      htdocs/canvas/gravitywell/index.html
  3. 2 2
      htdocs/index.html

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 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>

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.