-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci skip] Automated deployment to GitHub Pages on 1700010750531
- Loading branch information
0 parents
commit 96594c0
Showing
58 changed files
with
2,394 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<meta name="generator" content="Pelican" /> | ||
<title>Failure One</title> | ||
<link rel="stylesheet" href="https://dsguala.github.io/PelicanBlog/theme/css/main.css" /> | ||
</head> | ||
|
||
<body id="index" class="home"> | ||
<header id="banner" class="body"> | ||
<h1><a href="https://dsguala.github.io/PelicanBlog/">Failure One</a></h1> | ||
<nav><ul> | ||
<li><a href="https://dsguala.github.io/PelicanBlog/pages/my-rst-page.html">My RST Page</a></li> | ||
<li><a href="https://dsguala.github.io/PelicanBlog/pages/image-rst-page.html">Image RST Page</a></li> | ||
<li><a href="https://dsguala.github.io/PelicanBlog/category/xanadu-quest.html">xanadu-quest</a></li> | ||
</ul></nav> | ||
</header><!-- /#banner --> | ||
<section id="content" class="body"> | ||
<h1>Archives for Failure One</h1> | ||
|
||
<dl> | ||
<dt>Mon 09 July 2012</dt> | ||
<dd><a href="https://dsguala.github.io/PelicanBlog/unity-webgl-player-xanadu-quest.html">Unity WebGL Player | Xanadu Quest</a></dd> | ||
</dl> | ||
</section> | ||
<section id="extras" class="body"> | ||
<div class="blogroll"> | ||
<h2>links</h2> | ||
<ul> | ||
<li><a href="https://getpelican.com/">Pelican</a></li> | ||
<li><a href="https://www.python.org/">Python.org</a></li> | ||
<li><a href="https://palletsprojects.com/p/jinja/">Jinja2</a></li> | ||
<li><a href="#">You can modify those links in your config file</a></li> | ||
</ul> | ||
</div><!-- /.blogroll --> | ||
<div class="social"> | ||
<h2>social</h2> | ||
<ul> | ||
|
||
<li><a href="#">You can add links in your config file</a></li> | ||
<li><a href="#">Another social link</a></li> | ||
</ul> | ||
</div><!-- /.social --> | ||
</section><!-- /#extras --> | ||
|
||
<footer id="contentinfo" class="body"> | ||
<address id="about" class="vcard body"> | ||
Proudly powered by <a href="https://getpelican.com/">Pelican</a>, which takes great advantage of <a href="https://www.python.org/">Python</a>. | ||
</address><!-- /#about --> | ||
|
||
<p>The theme is by <a href="https://www.smashingmagazine.com/2009/08/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p> | ||
</footer><!-- /#contentinfo --> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,174 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<meta name="generator" content="Pelican" /> | ||
<title>Failure One - Diego</title> | ||
<link rel="stylesheet" href="https://dsguala.github.io/PelicanBlog/theme/css/main.css" /> | ||
</head> | ||
|
||
<body id="index" class="home"> | ||
<header id="banner" class="body"> | ||
<h1><a href="https://dsguala.github.io/PelicanBlog/">Failure One</a></h1> | ||
<nav><ul> | ||
<li><a href="https://dsguala.github.io/PelicanBlog/pages/my-rst-page.html">My RST Page</a></li> | ||
<li><a href="https://dsguala.github.io/PelicanBlog/pages/image-rst-page.html">Image RST Page</a></li> | ||
<li><a href="https://dsguala.github.io/PelicanBlog/category/xanadu-quest.html">xanadu-quest</a></li> | ||
</ul></nav> | ||
</header><!-- /#banner --> | ||
|
||
<aside id="featured" class="body"> | ||
<article> | ||
<h1 class="entry-title"><a href="https://dsguala.github.io/PelicanBlog/unity-webgl-player-xanadu-quest.html">Unity WebGL Player | Xanadu Quest</a></h1> | ||
<footer class="post-info"> | ||
<abbr class="published" title="2012-07-09T22:28:00-04:00"> | ||
Published: Mon 09 July 2012 | ||
</abbr> | ||
|
||
<address class="vcard author"> | ||
By <a class="url fn" href="https://dsguala.github.io/PelicanBlog/author/diego.html">Diego</a> | ||
</address> | ||
<p>In <a href="https://dsguala.github.io/PelicanBlog/category/xanadu-quest.html">xanadu-quest</a>.</p> | ||
|
||
</footer><!-- /.post-info --> | ||
<div id="unity-container" class="unity-desktop"> | ||
<canvas id="unity-canvas" width="800" height="600"></canvas> | ||
<div id="unity-loading-bar"> | ||
<div id="unity-logo"></div> | ||
<div id="unity-progress-bar-empty"> | ||
<div id="unity-progress-bar-full"></div> | ||
</div> | ||
</div> | ||
<div id="unity-warning"> </div> | ||
<div id="unity-footer"> | ||
<div id="unity-webgl-logo"></div> | ||
<div id="unity-fullscreen-button"></div> | ||
<div id="unity-build-title">Xanadu Quest</div> | ||
</div> | ||
</div> | ||
<script> | ||
var container = document.querySelector("#unity-container"); | ||
var canvas = document.querySelector("#unity-canvas"); | ||
var loadingBar = document.querySelector("#unity-loading-bar"); | ||
var progressBarFull = document.querySelector("#unity-progress-bar-full"); | ||
var fullscreenButton = document.querySelector("#unity-fullscreen-button"); | ||
var warningBanner = document.querySelector("#unity-warning"); | ||
|
||
// Shows a temporary message banner/ribbon for a few seconds, or | ||
// a permanent error message on top of the canvas if type=='error'. | ||
// If type=='warning', a yellow highlight color is used. | ||
// Modify or remove this function to customize the visually presented | ||
// way that non-critical warnings and error messages are presented to the | ||
// user. | ||
function unityShowBanner(msg, type) { | ||
function updateBannerVisibility() { | ||
warningBanner.style.display = warningBanner.children.length ? 'block' : 'none'; | ||
} | ||
var div = document.createElement('div'); | ||
div.innerHTML = msg; | ||
warningBanner.appendChild(div); | ||
if (type == 'error') div.style = 'background: red; padding: 10px;'; | ||
else { | ||
if (type == 'warning') div.style = 'background: yellow; padding: 10px;'; | ||
setTimeout(function() { | ||
warningBanner.removeChild(div); | ||
updateBannerVisibility(); | ||
}, 5000); | ||
} | ||
updateBannerVisibility(); | ||
} | ||
|
||
var buildUrl = "/games/xanadu-quest/Build"; | ||
var loaderUrl = buildUrl + "/18.loader.js"; | ||
var config = { | ||
dataUrl: buildUrl + "/18.data", | ||
frameworkUrl: buildUrl + "/18.framework.js", | ||
codeUrl: buildUrl + "/18.wasm", | ||
streamingAssetsUrl: "StreamingAssets", | ||
companyName: "DefaultCompany", | ||
productName: "Xanadu Quest", | ||
productVersion: "1.0", | ||
showBanner: unityShowBanner, | ||
}; | ||
|
||
// By default Unity keeps WebGL canvas render target size matched with | ||
// the DOM size of the canvas element (scaled by window.devicePixelRatio) | ||
// Set this to false if you want to decouple this synchronization from | ||
// happening inside the engine, and you would instead like to size up | ||
// the canvas DOM size and WebGL render target sizes yourself. | ||
// config.matchWebGLToCanvasSize = false; | ||
|
||
if (/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)) { | ||
// Mobile device style: fill the whole browser client area with the game canvas: | ||
|
||
var meta = document.createElement('meta'); | ||
meta.name = 'viewport'; | ||
meta.content = 'width=device-width, height=device-height, initial-scale=1.0, user-scalable=no, shrink-to-fit=yes'; | ||
document.getElementsByTagName('head')[0].appendChild(meta); | ||
container.className = "unity-mobile"; | ||
canvas.className = "unity-mobile"; | ||
|
||
// To lower canvas resolution on mobile devices to gain some | ||
// performance, uncomment the following line: | ||
// config.devicePixelRatio = 1; | ||
|
||
unityShowBanner('WebGL builds are not supported on mobile devices.'); | ||
} else { | ||
// Desktop style: Render the game canvas in a window that can be maximized to fullscreen: | ||
|
||
canvas.style.width = "800px"; | ||
canvas.style.height = "600px"; | ||
} | ||
|
||
canvas.style.background = "url('" + buildUrl + "/18.jpg') center / cover"; | ||
loadingBar.style.display = "block"; | ||
|
||
var script = document.createElement("script"); | ||
script.src = loaderUrl; | ||
script.onload = () => { | ||
createUnityInstance(canvas, config, (progress) => { | ||
progressBarFull.style.width = 100 * progress + "%"; | ||
}).then((unityInstance) => { | ||
loadingBar.style.display = "none"; | ||
fullscreenButton.onclick = () => { | ||
unityInstance.SetFullscreen(1); | ||
}; | ||
}).catch((message) => { | ||
alert(message); | ||
}); | ||
}; | ||
document.body.appendChild(script); | ||
</script> | ||
</article> | ||
</aside><!-- /#featured --> | ||
<section id="extras" class="body"> | ||
<div class="blogroll"> | ||
<h2>links</h2> | ||
<ul> | ||
<li><a href="https://getpelican.com/">Pelican</a></li> | ||
<li><a href="https://www.python.org/">Python.org</a></li> | ||
<li><a href="https://palletsprojects.com/p/jinja/">Jinja2</a></li> | ||
<li><a href="#">You can modify those links in your config file</a></li> | ||
</ul> | ||
</div><!-- /.blogroll --> | ||
<div class="social"> | ||
<h2>social</h2> | ||
<ul> | ||
|
||
<li><a href="#">You can add links in your config file</a></li> | ||
<li><a href="#">Another social link</a></li> | ||
</ul> | ||
</div><!-- /.social --> | ||
</section><!-- /#extras --> | ||
|
||
<footer id="contentinfo" class="body"> | ||
<address id="about" class="vcard body"> | ||
Proudly powered by <a href="https://getpelican.com/">Pelican</a>, which takes great advantage of <a href="https://www.python.org/">Python</a>. | ||
</address><!-- /#about --> | ||
|
||
<p>The theme is by <a href="https://www.smashingmagazine.com/2009/08/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p> | ||
</footer><!-- /#contentinfo --> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<meta name="generator" content="Pelican" /> | ||
<title>Failure One - Authors</title> | ||
<link rel="stylesheet" href="https://dsguala.github.io/PelicanBlog/theme/css/main.css" /> | ||
</head> | ||
|
||
<body id="index" class="home"> | ||
<header id="banner" class="body"> | ||
<h1><a href="https://dsguala.github.io/PelicanBlog/">Failure One</a></h1> | ||
<nav><ul> | ||
<li><a href="https://dsguala.github.io/PelicanBlog/pages/my-rst-page.html">My RST Page</a></li> | ||
<li><a href="https://dsguala.github.io/PelicanBlog/pages/image-rst-page.html">Image RST Page</a></li> | ||
<li><a href="https://dsguala.github.io/PelicanBlog/category/xanadu-quest.html">xanadu-quest</a></li> | ||
</ul></nav> | ||
</header><!-- /#banner --> | ||
|
||
<section id="content" class="body"> | ||
<h1>Authors on Failure One</h1> | ||
<ul> | ||
<li><a href="https://dsguala.github.io/PelicanBlog/author/diego.html">Diego</a> (1)</li> | ||
</ul> | ||
</section> | ||
|
||
<section id="extras" class="body"> | ||
<div class="blogroll"> | ||
<h2>links</h2> | ||
<ul> | ||
<li><a href="https://getpelican.com/">Pelican</a></li> | ||
<li><a href="https://www.python.org/">Python.org</a></li> | ||
<li><a href="https://palletsprojects.com/p/jinja/">Jinja2</a></li> | ||
<li><a href="#">You can modify those links in your config file</a></li> | ||
</ul> | ||
</div><!-- /.blogroll --> | ||
<div class="social"> | ||
<h2>social</h2> | ||
<ul> | ||
|
||
<li><a href="#">You can add links in your config file</a></li> | ||
<li><a href="#">Another social link</a></li> | ||
</ul> | ||
</div><!-- /.social --> | ||
</section><!-- /#extras --> | ||
|
||
<footer id="contentinfo" class="body"> | ||
<address id="about" class="vcard body"> | ||
Proudly powered by <a href="https://getpelican.com/">Pelican</a>, which takes great advantage of <a href="https://www.python.org/">Python</a>. | ||
</address><!-- /#about --> | ||
|
||
<p>The theme is by <a href="https://www.smashingmagazine.com/2009/08/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p> | ||
</footer><!-- /#contentinfo --> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<meta name="generator" content="Pelican" /> | ||
<title>Failure One - Categories</title> | ||
<link rel="stylesheet" href="https://dsguala.github.io/PelicanBlog/theme/css/main.css" /> | ||
</head> | ||
|
||
<body id="index" class="home"> | ||
<header id="banner" class="body"> | ||
<h1><a href="https://dsguala.github.io/PelicanBlog/">Failure One</a></h1> | ||
<nav><ul> | ||
<li><a href="https://dsguala.github.io/PelicanBlog/pages/my-rst-page.html">My RST Page</a></li> | ||
<li><a href="https://dsguala.github.io/PelicanBlog/pages/image-rst-page.html">Image RST Page</a></li> | ||
<li><a href="https://dsguala.github.io/PelicanBlog/category/xanadu-quest.html">xanadu-quest</a></li> | ||
</ul></nav> | ||
</header><!-- /#banner --> | ||
|
||
<section id="content" class="body"> | ||
<h1>Categories for Failure One</h1> | ||
<ul> | ||
<li><a href="https://dsguala.github.io/PelicanBlog/category/xanadu-quest.html">xanadu-quest</a> (1)</li> | ||
</ul> | ||
</section> | ||
|
||
<section id="extras" class="body"> | ||
<div class="blogroll"> | ||
<h2>links</h2> | ||
<ul> | ||
<li><a href="https://getpelican.com/">Pelican</a></li> | ||
<li><a href="https://www.python.org/">Python.org</a></li> | ||
<li><a href="https://palletsprojects.com/p/jinja/">Jinja2</a></li> | ||
<li><a href="#">You can modify those links in your config file</a></li> | ||
</ul> | ||
</div><!-- /.blogroll --> | ||
<div class="social"> | ||
<h2>social</h2> | ||
<ul> | ||
|
||
<li><a href="#">You can add links in your config file</a></li> | ||
<li><a href="#">Another social link</a></li> | ||
</ul> | ||
</div><!-- /.social --> | ||
</section><!-- /#extras --> | ||
|
||
<footer id="contentinfo" class="body"> | ||
<address id="about" class="vcard body"> | ||
Proudly powered by <a href="https://getpelican.com/">Pelican</a>, which takes great advantage of <a href="https://www.python.org/">Python</a>. | ||
</address><!-- /#about --> | ||
|
||
<p>The theme is by <a href="https://www.smashingmagazine.com/2009/08/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p> | ||
</footer><!-- /#contentinfo --> | ||
|
||
</body> | ||
</html> |
Oops, something went wrong.