Spaces:
Running
Running
<html lang="en" class="bg-[#1C1E21]"> | |
<head> | |
<title>Rust Sandbox</title> | |
<meta charset="utf-8" /> | |
<link rel="icon" href="./favicon.png" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<link href="./_app/immutable/assets/0.59e908dd.css" rel="stylesheet"> | |
<link rel="modulepreload" href="./_app/immutable/entry/start.7130cb74.js"> | |
<link rel="modulepreload" href="./_app/immutable/chunks/scheduler.e108d1fd.js"> | |
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.142be8f2.js"> | |
<link rel="modulepreload" href="./_app/immutable/entry/app.3b122307.js"> | |
<link rel="modulepreload" href="./_app/immutable/chunks/index.a8e6cd80.js"> | |
<link rel="modulepreload" href="./_app/immutable/nodes/0.2de820df.js"> | |
<link rel="modulepreload" href="./_app/immutable/nodes/2.d7869d13.js"> | |
</head> | |
<body data-sveltekit-preload-data="hover" class="overflow-hidden"> | |
<div style="display: contents"> <div class="flex flex-col justify-center items-center w-full"> <div id="window" class="flex flex-col justify-center items-center mt-40"> <button class="cursor-default relative flex flex-row justify-between items-center w-full bg-[#393B3D] border-b border-b-[#000002] border border-[#626264] rounded-xl rounded-b-none" data-svelte-h="svelte-d234kf"> <div class="absolute left-2 space-x-2 flex flex-row justify-center items-center"><div class="rounded-full h-3 w-3 bg-[#EC695F]"></div> <div class="rounded-full h-3 w-3 bg-[#F5BE4F]"></div> <div class="rounded-full h-3 w-3 bg-[#5E5E60]"></div></div> <h1 class="font-bold py-[6px] text-center w-full text-sm text-[#B6B8B9]">Hell</h1></button> <div class="relative"><canvas id="bevy-canvas" class="shadow-2xl z-10 shadow-black/50 overflow-hidden rounded-xl border border-[#626264] border-t-0 rounded-t-none" height="480" width="640" style="image-rendering: pixelated;"></canvas> </div></div> <div class="mt-12" data-svelte-h="svelte-ldhdk7"><img src="images/instructs.svg" alt="Instructions" width="250"></div> <div class="mt-12 text-sm text-[#636669] flex flex-col justify-center items-center space-y-1" data-svelte-h="svelte-w233xu"><p>Made by <a href="https://www.hugoduprez.com/" target="_blank" class="underline">Hugo</a> with | |
<a href="https://www.rust-lang.org/" target="_blank" class="underline">Rust</a> | |
and <a href="https://kit.svelte.dev/" target="_blank" class="underline">Svelte</a></p> <a href="https://github.com/Hugo-Dz/rust-sandbox" target="_blank" class="underline">How to create games with Rust</a></div></div> | |
<script> | |
{ | |
__sveltekit_hmlrq6 = { | |
base: new URL(".", location).pathname.slice(0, -1), | |
env: {} | |
}; | |
const element = document.currentScript.parentElement; | |
const data = [null,null]; | |
Promise.all([ | |
import("./_app/immutable/entry/start.7130cb74.js"), | |
import("./_app/immutable/entry/app.3b122307.js") | |
]).then(([kit, app]) => { | |
kit.start(app, element, { | |
node_ids: [0, 2], | |
data, | |
form: null, | |
error: null | |
}); | |
}); | |
} | |
</script> | |
</div> | |
</body> | |
</html> | |