summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--DominoSimulator.html147
-rw-r--r--DominoSimulator.unity3dbin0 -> 1455075 bytes
2 files changed, 147 insertions, 0 deletions
diff --git a/DominoSimulator.html b/DominoSimulator.html
new file mode 100644
index 0000000..a32c25d
--- /dev/null
+++ b/DominoSimulator.html
@@ -0,0 +1,147 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="https://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>Unity Web Player | Domino Simulator</title>
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
+ <link rel="stylesheet" href="css/style.css">
+ <script type='text/javascript' src='https://ssl-webplayer.unity3d.com/download_webplayer-3.x/3.0/uo/jquery.min.js'></script>
+ <script type="text/javascript">
+ <!--
+ var unityObjectUrl = "http://webplayer.unity3d.com/download_webplayer-3.x/3.0/uo/UnityObject2.js";
+ if (document.location.protocol == 'https:')
+ unityObjectUrl = unityObjectUrl.replace("http://", "https://ssl-");
+ document.write('<script type="text\/javascript" src="' + unityObjectUrl + '"><\/script>');
+ -->
+ </script>
+ <script type="text/javascript">
+ <!--
+ var config = {
+ width: 960,
+ height: 600,
+ params: { enableDebugging:"0" }
+
+ };
+ var u = new UnityObject2(config);
+
+ jQuery(function() {
+
+ var $missingScreen = jQuery("#unityPlayer").find(".missing");
+ var $brokenScreen = jQuery("#unityPlayer").find(".broken");
+ $missingScreen.hide();
+ $brokenScreen.hide();
+
+ u.observeProgress(function (progress) {
+ switch(progress.pluginStatus) {
+ case "broken":
+ $brokenScreen.find("a").click(function (e) {
+ e.stopPropagation();
+ e.preventDefault();
+ u.installPlugin();
+ return false;
+ });
+ $brokenScreen.show();
+ break;
+ case "missing":
+ $missingScreen.find("a").click(function (e) {
+ e.stopPropagation();
+ e.preventDefault();
+ u.installPlugin();
+ return false;
+ });
+ $missingScreen.show();
+ break;
+ case "installed":
+ $missingScreen.remove();
+ break;
+ case "first":
+ break;
+ }
+ });
+ u.initPlugin(jQuery("#unityPlayer")[0], "DominoSimulator.unity3d");
+ });
+ -->
+ </script>
+ <style type="text/css">
+ <!--
+ body {
+ font-family: Helvetica, Verdana, Arial, sans-serif;
+ background-color: white;
+ color: black;
+ text-align: center;
+ }
+ a:link, a:visited {
+ color: #000;
+ }
+ a:active, a:hover {
+ color: #666;
+ }
+ p.header {
+ font-size: small;
+ }
+ p.header span {
+ font-weight: bold;
+ }
+ p.footer {
+ font-size: x-small;
+ }
+ div.content {
+ margin: auto;
+ width: 960px;
+ }
+ div.broken,
+ div.missing {
+ margin: auto;
+ position: relative;
+ top: 50%;
+ width: 193px;
+ }
+ div.broken a,
+ div.missing a {
+ height: 63px;
+ position: relative;
+ top: -31px;
+ }
+ div.broken img,
+ div.missing img {
+ border-width: 0px;
+ }
+ div.broken {
+ display: none;
+ }
+ div#unityPlayer {
+ cursor: default;
+ height: 600px;
+ width: 960px;
+ }
+ -->
+ </style>
+ </head>
+ <body>
+ <h2>Domino Simulator</h2>
+ <div id="header_links_div"></div>
+ <script src="js/header_links.js"></script>
+ <hr>
+ <p>Click to place dominos. Use the arrow keys to move, and WASD to rotate.
+ When you are done, press Enter, then click to shoot a cube at the dominos.
+ Domino Simulator requires the Unity Web Player, so it won't work on Google Chrome.</p>
+ <p>You can find the source code and an offline version where you can save your progress on the itch.io page:</p>
+ <iframe frameborder="0" src="https://itch.io/embed/77009?linkback=true" width="552" height="167"></iframe><br>
+ <p class="header"><span>Unity Web Player | </span>Domino Simulator</p>
+ <div class="content">
+ <div id="unityPlayer">
+ <div class="missing">
+ <a href="https://unity3d.com/webplayer/" title="Unity Web Player. Install now!">
+ <img alt="Unity Web Player. Install now!" src="http://webplayer.unity3d.com/installation/getunity.png" width="193" height="63" />
+ </a>
+ </div>
+ <div class="broken">
+ <a href="https://unity3d.com/webplayer/" title="Unity Web Player. Install now! Restart your browser after install.">
+ <img alt="Unity Web Player. Install now! Restart your browser after install." src="https://webplayer.unity3d.com/installation/getunityrestart.png" width="193" height="63" />
+ </a>
+ </div>
+ </div>
+ </div>
+ <p class="footer">&laquo; created with <a href="https://unity3d.com/unity/" title="Go to unity3d.com">Unity</a> &raquo;</p>
+ </body>
+</html>
diff --git a/DominoSimulator.unity3d b/DominoSimulator.unity3d
new file mode 100644
index 0000000..5d28f66
--- /dev/null
+++ b/DominoSimulator.unity3d
Binary files differ