forked from jtocool7/poke-jump-part-1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (53 loc) · 1.85 KB
/
index.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Poke-Jump</title>
<style>
*{
font-family:calibri;
}
canvas{
border:1px solid #000;
display:block;
margin: 0 auto;
z-index:1
}
.hide{
display:none;
}
center{
position:absolute;
left: 400px;
top:10px
}
</style>
</head>
<body>
<div>
code<b>Myster</b>
</div>
<canvas id="can" width="480px" height="700px"></canvas>
<center>
<p class="hide" id="la">
Welcome to Poke - Jump <br>
Press play to start
</p>
<p class="hide" id="mi">
Game Over<br>
Press the replay button
</p>
</center>
<button onclick="move({keyCode: 38})" type="button" name="button">Jump (Mobile)</button>
<img class="hide" id="noise" src="https://t5.rbxcdn.com/743137af7c7c21034faaf3e088495794" alt="pokemon sprite">
<img class="hide" id="nani" src="https://i.pinimg.com/originals/b2/b0/84/b2b084ad6061dfe2122302266ea8af58.jpg" alt="background">
<img class="hide" id="start" src="https://cplfoundation.org/wp-content/uploads/2019/07/Play-button-450x450.png" alt="start sprite">
<img id="re" class="hide" src="https://img.icons8.com/carbon-copy/2x/repeat.png" alt="restart sprite">
<img id="hi" class="hide" src="https://t3.rbxcdn.com/6dfd7c68e21644c7b3224be3bd0e1a33" alt="pikachu jumping sprite">
<img id="noice" class="hide" src="https://cdn.lowgif.com/medium/4220baabc77ff5c6-.gif" alt="pikachu sad sprite/pikachu loose sprite">
<img class="hide" id="nah" src="https://raw.githubusercontent.com/CodeExplainedRepo/FlappyBird-JavaScript/master/images/pipeSouth.png" alt="pipe">
<img id="yah" class="hide" src="https://www.mariowiki.com/images/thumb/f/f4/MK7-Spiny-Shell.png/160px-MK7-Spiny-Shell.png" alt="blue shell">
<script src="master.js"></script>
</body>
</html>