Created
February 3, 2019 17:17
-
-
Save Davisonpro/33ffc9db36592873e7489ed49b22f313 to your computer and use it in GitHub Desktop.
The background of the game
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>The Monster and the Rabbit</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" type="text/css" media="screen" href="main.css" /> | |
</head> | |
<body> | |
<div id="world" /> | |
<div id="gameoverInstructions"> | |
Game Over | |
</div> | |
<div id="dist"> | |
<div class="label">distance</div> | |
<div id="distValue">000</div> | |
</div> | |
<div id="instructions">Click to jump<span class="lightInstructions"> — Grab the carrots / avoid the hedgehogs</span></div> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r80/three.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.19.0/TweenMax.min.js"></script> | |
<script src="main.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment