Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <!-- // programName: BenghaziGame-kirupa.html here: http://pastebin.com/BfBE7NUW
- .js here: http://pastebin.com/xLcM9G4n
- Running online: http://liesandcowpies.com/quickjs/BenghaziGame.html -->
- <html>
- <head>
- <meta charset="utf-8" />
- <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0, width=device-width">
- <link rel="shortcut icon" type="image/png" href="icon16.png" />
- <script type='text/javascript' src="quick.js"></script>
- <style>
- #assets {
- height: 0px;
- overflow: hidden;
- visibility: hidden;
- width: 0px;
- }
- body {
- background-color: Black;
- margin: 0;
- overflow: hidden;
- padding: 0;
- }
- /* canvas {
- cursor: none;
- }
- */ table { color: #E1E1E1;
- background-color: #992D2D;
- height: 24px; width: 800px;
- border: none;
- }
- </style>
- </head>
- <body> <!-- html way: <body onresize="bodyResize()"> -->
- <div>
- <table align="center">
- <tr>
- <td width="10%"> totalScore </td> <td id="totalScore" width="5%"> </td>
- <td width="8%"></td>
- <td width="10%"> oops! </td> <td id="oopsScore" width="5%"> </td>
- <td width="8%"></td>
- <td width="10%"> goodHits </td> <td id="goodHits" width="5%"> </td>
- <td width="8%"></td>
- <td width="10%"> totalShots </td> <td id="totalShots" width="5%"> </td>
- </tr>
- </table>
- </div>
- <div id="canvasDiv" align="center">
- <canvas id="canvas" width="800" height="600"></canvas>
- </div>
- <div id="assets">
- <img id="bgCompound" src="sprites/bgCompound.png" width="320" height="191" />
- <img id="manufacturer" src="sprites/manufacturer.png" width="180" height="100" />
- <img id="restartBtn" src="sprites/RestartButton.png" width="100" height="25" />
- <img id="pauseBtn" src="sprites/PauseButton.png" width="100" height="25" />
- <img id="playBtn" src="sprites/PlayButton.png" width="100" height="25" />
- <img id="quitBtn" src="sprites/QuitButton.png" width="100" height="25" />
- <img id="truth01Sprite" src="sprites/truth01.png" width="64" height="64" />
- <img id="lies01Sprite" src="sprites/lies01.png" width="64" height="64" />
- <img id="truth02Sprite" src="sprites/truth02.png" width="64" height="64" />
- <img id="lies02Sprite" src="sprites/lies02.png" width="64" height="64" />
- <img id="truth03Sprite" src="sprites/truth03.png" width="64" height="64" />
- <img id="lies03Sprite" src="sprites/lies03.png" width="64" height="64" />
- <img id="truth04Sprite" src="sprites/truth04.png" width="64" height="64" />
- <img id="lies04Sprite" src="sprites/lies04.png" width="64" height="64" />
- <img id="sparkSprite" src="sprites/transSpark.png" width="28" height="28" />
- <img id="pointerSprite" src="sprites/handPointerT.png" width="31" height="36" />
- <img id="throwerSprite" src="sprites/thrower.png" width="64" height="64" />
- <img id="cowpieSprite" src="sprites/cowpie.png" width="32" height="32" />
- <audio id="closeDoor" src="sounds/CloseDoor.ogg"></audio>
- <audio id="obamaVideo" src="sounds/ObamaOnVideo.ogg"></audio>
- <audio id="sRiceVideo" src="sounds/sRiceVideo.ogg"></audio>
- <audio id="eHolderVideo" src="sounds/EricHolder.ogg"></audio>
- <audio id="battleFire" src="sounds/BattleFire.ogg"></audio>
- <audio id="oops" src="sounds/oops.ogg"></audio>
- <audio id="Hillary-WhatDiff" src="sounds/Splat-Hillary-WhatDiff.ogg"></audio>
- <audio id="cowMoo" src="sounds/CowMooSplat.ogg"></audio>
- <audio id="byebye" src="sounds/GoodByeFemale.ogg"></audio>
- <audio id="cymbals" src="sounds/Cymbals.ogg"></audio>
- <audio id="pling" src="sounds/Pling.ogg"></audio>
- <audio id="cheering" src="sounds/cheeringCrowdShort.ogg"></audio>
- </div>
- <!-- html way:
- <script type='text/javascript'> function bodyResize() {
- // alert('.html bodyResize from Html. ');
- location.reload(); }
- </script>
- ELSE
- .js way:
- <script type="text/javascript" >
- window.addEventListener("resize", function(){ location.reload(); } );
- </script>
- -->
- <script type='text/javascript' src="BenghaziGame-kirupa.js"></script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement