C50BARZ commited on
Commit
51e5536
·
verified ·
1 Parent(s): ff3dd11

please fill much more of the screen add ability to go down pipes of another level

Browse files
Files changed (1) hide show
  1. index.html +26 -20
index.html CHANGED
@@ -17,61 +17,67 @@
17
 
18
  <!-- UI Overlay -->
19
  <div id="hud" class="fixed inset-0 pointer-events-none">
20
- <div class="flex justify-between items-start p-4 text-white font-mono select-none">
21
- <div class="bg-black/40 rounded px-3 py-2 backdrop-blur">
22
  <div class="text-sm opacity-80">SCORE</div>
23
- <div id="score" class="text-2xl font-bold">000000</div>
24
  </div>
25
  <div class="flex gap-4">
26
- <div class="bg-black/40 rounded px-3 py-2 backdrop-blur text-center">
27
  <div class="text-sm opacity-80">COINS</div>
28
- <div id="coins" class="text-2xl font-bold">0</div>
29
  </div>
30
- <div class="bg-black/40 rounded px-3 py-2 backdrop-blur text-center">
31
  <div class="text-sm opacity-80">LIVES</div>
32
- <div id="lives" class="text-2xl font-bold">3</div>
 
 
 
 
33
  </div>
34
  </div>
35
  </div>
36
 
37
  <!-- Center Messages -->
38
  <div id="message" class="absolute inset-0 flex items-center justify-center pointer-events-none">
39
- <div id="messageBox" class="hidden bg-black/70 text-white px-8 py-6 rounded-xl text-center backdrop-blur">
40
- <div id="messageTitle" class="text-4xl font-extrabold mb-2">PAUSED</div>
41
- <div id="messageText" class="text-lg opacity-90">Press P to Resume</div>
42
  </div>
43
  </div>
44
 
45
  <!-- Help -->
46
- <div class="absolute bottom-3 right-3 text-white/80 text-sm bg-black/40 rounded px-3 py-2 backdrop-blur">
47
  <div class="flex items-center gap-2">
48
  <i data-feather="info"></i>
49
- Controls: Left/Right or A/D to move • Jump: W/Up/Space • Fire: F • Pause: P • Mute: M • Reset: R
50
  </div>
51
  </div>
52
  </div>
53
 
54
  <!-- Touch Controls -->
55
  <div id="touchControls" class="fixed inset-0 pointer-events-none">
56
- <div class="absolute left-4 bottom-6 flex gap-3 pointer-events-auto">
57
- <button id="btnLeft" class="bg-blue-600/80 active:bg-blue-700/80 text-white rounded-full p-4 shadow-lg">
58
  <i data-feather="arrow-left"></i>
59
  </button>
60
- <button id="btnRight" class="bg-blue-600/80 active:bg-blue-700/80 text-white rounded-full p-4 shadow-lg">
61
  <i data-feather="arrow-right"></i>
62
  </button>
63
  </div>
64
- <div class="absolute right-4 bottom-6 flex gap-3 pointer-events-auto">
65
- <button id="btnJump" class="bg-emerald-600/80 active:bg-emerald-700/80 text-white rounded-full p-4 shadow-lg">
 
 
 
66
  <i data-feather="arrow-up"></i>
67
  </button>
68
- <button id="btnFire" class="bg-orange-600/80 active:bg-orange-700/80 text-white rounded-full p-4 shadow-lg">
69
  <i data-feather="zap"></i>
70
  </button>
71
  </div>
72
  </div>
73
-
74
- <script src="script.js"></script>
75
  <script>feather.replace();</script>
76
  <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
77
  </body>
 
17
 
18
  <!-- UI Overlay -->
19
  <div id="hud" class="fixed inset-0 pointer-events-none">
20
+ <div class="flex justify-between items-start p-6 text-white font-mono select-none">
21
+ <div class="bg-black/50 rounded-lg px-4 py-3 backdrop-blur border border-white/10">
22
  <div class="text-sm opacity-80">SCORE</div>
23
+ <div id="score" class="text-3xl font-bold">000000</div>
24
  </div>
25
  <div class="flex gap-4">
26
+ <div class="bg-black/50 rounded-lg px-4 py-3 backdrop-blur text-center border border-white/10">
27
  <div class="text-sm opacity-80">COINS</div>
28
+ <div id="coins" class="text-3xl font-bold">0</div>
29
  </div>
30
+ <div class="bg-black/50 rounded-lg px-4 py-3 backdrop-blur text-center border border-white/10">
31
  <div class="text-sm opacity-80">LIVES</div>
32
+ <div id="lives" class="text-3xl font-bold">3</div>
33
+ </div>
34
+ <div id="levelIndicator" class="bg-black/50 rounded-lg px-4 py-3 backdrop-blur text-center border border-white/10">
35
+ <div class="text-sm opacity-80">LEVEL</div>
36
+ <div id="level" class="text-3xl font-bold">1</div>
37
  </div>
38
  </div>
39
  </div>
40
 
41
  <!-- Center Messages -->
42
  <div id="message" class="absolute inset-0 flex items-center justify-center pointer-events-none">
43
+ <div id="messageBox" class="hidden bg-black/80 text-white px-10 py-8 rounded-2xl text-center backdrop-blur border border-white/20">
44
+ <div id="messageTitle" class="text-5xl font-extrabold mb-3">PAUSED</div>
45
+ <div id="messageText" class="text-xl opacity-90">Press P to Resume</div>
46
  </div>
47
  </div>
48
 
49
  <!-- Help -->
50
+ <div class="absolute bottom-4 right-4 text-white/90 text-sm bg-black/50 rounded-lg px-4 py-3 backdrop-blur border border-white/10">
51
  <div class="flex items-center gap-2">
52
  <i data-feather="info"></i>
53
+ Controls: Left/Right or A/D to move • Jump: W/Up/Space • Down/S: Enter Pipes • Fire: F • Pause: P • Mute: M • Reset: R
54
  </div>
55
  </div>
56
  </div>
57
 
58
  <!-- Touch Controls -->
59
  <div id="touchControls" class="fixed inset-0 pointer-events-none">
60
+ <div class="absolute left-6 bottom-8 flex gap-4 pointer-events-auto">
61
+ <button id="btnLeft" class="bg-blue-600/90 active:bg-blue-700/90 text-white rounded-full p-5 shadow-xl backdrop-blur">
62
  <i data-feather="arrow-left"></i>
63
  </button>
64
+ <button id="btnRight" class="bg-blue-600/90 active:bg-blue-700/90 text-white rounded-full p-5 shadow-xl backdrop-blur">
65
  <i data-feather="arrow-right"></i>
66
  </button>
67
  </div>
68
+ <div class="absolute right-6 bottom-8 flex gap-4 pointer-events-auto">
69
+ <button id="btnDown" class="bg-purple-600/90 active:bg-purple-700/90 text-white rounded-full p-5 shadow-xl backdrop-blur">
70
+ <i data-feather="arrow-down"></i>
71
+ </button>
72
+ <button id="btnJump" class="bg-emerald-600/90 active:bg-emerald-700/90 text-white rounded-full p-5 shadow-xl backdrop-blur">
73
  <i data-feather="arrow-up"></i>
74
  </button>
75
+ <button id="btnFire" class="bg-orange-600/90 active:bg-orange-700/90 text-white rounded-full p-5 shadow-xl backdrop-blur">
76
  <i data-feather="zap"></i>
77
  </button>
78
  </div>
79
  </div>
80
+ <script src="script.js"></script>
 
81
  <script>feather.replace();</script>
82
  <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
83
  </body>