-
Notifications
You must be signed in to change notification settings - Fork 0
/
Run kidstronaut.html
45 lines (41 loc) · 1.45 KB
/
Run kidstronaut.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial scale=1.0">
<title>Run kidstronaut!</title>
<link rel="icon" type="image/x-icon" href="https://beartorear.github.io/Kidstronaut/assets/dog-head-logo-black-and-white-emblem-vector-47829005.png" />
</head>
<body>
<audio type="audio/mpeg" autoplay loop>
<source src="https://beartorear.github.io/Kidstronaut/assets/Spacey_Whale__night_Oct_14_2023_128_PM.mp3" />
</audio>
<!--<img class="pause" src="file:///home/ayanshh/Music/my%20drawings./my%20files%20if%20i%20want/mario-game/assets/Pause or Paused.png" onclick="window.open('file:///home/ayanshh/Music/my%20drawings./my%20files%20if%20i%20want/mario-game/Game%20Pause%20webpage.html', '_self')">-->
<canvas id="canvas1">
</canvas>
<img id="playerImage" src="https://beartorear.github.io/Kidstronaut/assets/player.png" width="1000px">
<img id="backgroundImage" src="https://beartorear.github.io/Kidstronaut/assets/background-single.png" width="100%">
<img id="enemyImage" src="https://beartorear.github.io/Kidstronaut/assets/enemy_1.png" width="750px">
<style>
body {
background: black;
}
#canvas1 {
background: black;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
#playerImage, #backgroundImage, #enemyImage {
display: none;
}
.pause {
z-index: 1;
position: absolute;
left: 85%;
/*border: 5px solid black;*/
}
</style>
<script src="https://beartorear.github.io/Kidstronaut/index.js"></script>
</body>
</html>