Przeglądaj źródła

adding in vaporwave demo

Justin Gilman 1 rok temu
rodzic
commit
8a35cb79a0

BIN
htdocs/images/vaporwave.png


+ 11 - 0
htdocs/index.html

@@ -39,6 +39,17 @@
 	<main>
 		<section id="prototype-section">
 			<h2 id="prototypes">Prototypes</h2>
+			<div class="project">
+				<div class="teaser">
+					<a href="./rogueengine/vaporwave" target="_blank">
+						<img src="./images/vaporwave.png" alt="A 3d rendered scene of a wireframe valley between mountains with a yellow to magenta sunset in the distance."/>
+					</a>
+				</div>
+				<div class="description">
+					<h3><a href="./rogueengine/vaporwave" target="_blank">Vaporwave</a></h3>
+					<p>View of an animated vaporwave scene.</p>
+				</div>
+			</div>
 			<div class="project">
 				<div class="teaser">
 					<a href="./rogueengine/shipshot" target="_blank">

Plik diff jest za duży
+ 0 - 0
htdocs/rogueengine/vaporwave/AppData/2ed31132-abfc-4d97-9ad4-e8e84618295c.rogueScene


Plik diff jest za duży
+ 0 - 0
htdocs/rogueengine/vaporwave/AppData/99265d82-c68a-4e91-ad4a-9f24206fd725.rogueMaterial


+ 13 - 0
htdocs/rogueengine/vaporwave/AppData/RogueEngineLogo.svg

@@ -0,0 +1,13 @@
+<svg version="1.2" baseProfile="tiny-ps" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" width="1000" height="1000">
+	<title>RogueEngineLogo-svg</title>
+	<style>
+		tspan { white-space:pre }
+		.shp0 { fill: #579bec } 
+		.shp1 { fill: #3b6be8 } 
+	</style>
+	<path id="Layer" class="shp0" d="M489.76 351.63L944.91 351.63L944.91 55L684.69 55L489.76 351.63L489.76 351.63Z" />
+	<path id="Layer" class="shp1" d="M99.88 944.91L636.84 944.91L368.36 536.37L99.88 944.91L99.88 944.91Z" />
+	<path id="Layer" class="shp1" d="M636.82 55L55 55L55 940.38L636.82 55L636.82 55Z" />
+	<path id="Layer" class="shp0" d="M489.77 648.29L684.7 944.91L944.91 944.91L944.91 648.29L489.77 648.29L489.77 648.29Z" />
+	<path id="Layer" class="shp0" d="M722.83 608.29L794.03 499.95L722.85 391.63L675.32 391.63L617.29 391.63L477.15 391.63L463.47 391.63L392.29 499.95L463.49 608.29L477.15 608.29L617.29 608.29L675.32 608.29L722.83 608.29L722.83 608.29Z" />
+</svg>

Plik diff jest za duży
+ 1 - 0
htdocs/rogueengine/vaporwave/AppData/build.js


Plik diff jest za duży
+ 0 - 0
htdocs/rogueengine/vaporwave/AppData/c747a5fa-2b6f-45c5-9e55-18d0958f37de.rogueMaterial


Plik diff jest za duży
+ 0 - 0
htdocs/rogueengine/vaporwave/AppData/f0d4d8f3-fc70-4702-bb69-6b4f2f8fcad5.rogueMaterial


+ 64 - 0
htdocs/rogueengine/vaporwave/index.html

@@ -0,0 +1,64 @@
+
+<!DOCTYPE html>
+<html lang="en">
+<head>
+  <meta charset="utf-8">
+  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=no">
+  <meta name="theme-color" content="#000000">
+
+  <title>Vaporwave</title>
+
+  <style>
+    html, body, #rogue-app {
+      margin: 0;
+      width: 100%;
+      height: 100%;
+      -webkit-user-select: none;
+      -ms-user-select: none;
+      user-select: none;
+      background-color: #252933;
+      overflow: hidden;
+    }
+    #rogue-engine-loading-logo {
+      color: white;
+      animation-name: rogueengineloadinglogo;
+      animation-duration: 2s;
+      animation-iteration-count: infinite;
+      transform-origin: 50% 50%;
+      display: inline-block;
+      top: calc(50% - 50px);
+      right: calc(50% - 50px);
+      height: 100px;
+      width: 100px;
+      position: absolute;
+    }
+    @keyframes rogueengineloadinglogo {
+        0% {
+            transform: rotate(0deg);
+        }
+        100% {
+            transform: rotate(360deg);
+        }
+    }
+  </style>
+</head>
+<body>
+  <noscript>
+    You need to enable JavaScript to run this app.
+  </noscript>
+  <img id="rogue-engine-loading-logo" src="AppData/RogueEngineLogo.svg">
+  <div id="rogue-app"></div>
+  <script>
+    if (global === undefined) {
+      var global = window;
+    }
+    function onRogueScriptLoaded() {
+      var onPlay = window["rogue-engine"].Runtime.onPlay(()=>{
+        document.getElementById("rogue-engine-loading-logo").remove()
+        onPlay.stop();
+      });
+    }
+  </script>
+  <script onload="onRogueScriptLoaded()" src="AppData/build.js"></script>
+</body>
+</html>

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików