Created
November 29, 2023 22:59
-
-
Save emmykolic/1e0467ee8e5954c5b1e08762097e934b to your computer and use it in GitHub Desktop.
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" type="text/css" href="css/fontawesome/css/all.min.css"> | |
<link rel="stylesheet" href="css/style.css"> | |
<title>3D Car Drive!</title> | |
</head> | |
<body onload="done()"> | |
<div id="scoreDiv"> | |
<span id="score">0</span> | |
<img src="https://image.ibb.co/jRAp0y/coin.png" id="cn"> | |
</div> | |
<div class="gameHome" id="startPage"> | |
<div id="gameTitle">3D Car Drive!</div> | |
<button onclick="ld()" id="playBtn"> | |
<span style="font-size:18px">Loading Assets<br>Please Wait...<br>This may take a few seconds for first time</span> | |
</button><br> | |
<div id="ldc"><div id="loading"></div></div> | |
<p>Rotate your phone & tilt left/right or tap left/right side of screen to move the car<br>Use left/right arrow key on your PC</p> | |
</div> | |
<div id="mainContainer" style="background:#0f0" > | |
<img id="city" src="https://image.ibb.co/jCGU0y/cty.jpg"> | |
<canvas id="myCanvas" style="/*background:#9de732*/" ></canvas> | |
</div> | |
<img class="aImg" id="t1" src="https://image.ibb.co/dZi5Ly/t1.png"> | |
<img class="aImg" id="t2" src="https://image.ibb.co/jajjDJ/t2.png"> | |
<img class="aImg" id="t3" src="https://image.ibb.co/it4jDJ/t5.png"> | |
<img class="aImg" id="t4" src="https://image.ibb.co/ksy0nd/t4.png"> | |
<img class="aImg" id="c1" src="https://image.ibb.co/f4v7YJ/c2.png"> | |
<script src="js/script.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment