-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
101 lines (96 loc) · 3.29 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!-- type html:5 to generate boiler -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE-edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Point & Shooter - Focus Game</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div data-tauri-drag-region class="titlebar">
<div class="titlebar-button" id="titlebar-minimize">
<img
src="https://api.iconify.design/mdi:window-minimize.svg"
alt="minimize"
/>
</div>
<div class="titlebar-button" id="titlebar-maximize">
<img
src="https://api.iconify.design/mdi:window-maximize.svg"
alt="maximize"
/>
</div>
<div class="titlebar-button" id="titlebar-close">
<img src="https://api.iconify.design/mdi:close.svg" alt="close" />
</div>
</div>
<header>
<nav>
<div class="burger-icon" id="burger-icon">☰</div>
<ul id="nav-menu">
<li><a href="/index.html">Restart</a></li>
<!-- <li><a href="/contact.html">Contact</a></li> -->
</ul>
</nav>
</header>
<!-- Styles from global -->
<div class="sidebar" id="sidebar">
<div class="sidebar-content">
<h1>Point & Shoot Focus Game</h1>
<!-- <h2>NOTICE: THIS LESSON DOES NOT WORK WHEN DEPLOYED</h2> -->
<p>Increase Your Brain Activity with Awareness and Focus Games</p>
<p>Eliminate all the enemies before they cross the sky!</p>
<hr/>
<q
>Audio by
<a href="https://portfolio.artechfuz3d.xyz"
>Me</a
></q
>
<br/>
<q
>Art courtesy of
<a href="https://bevouliin.com/category/free_game_asset/"
>Bevouliin</a
></q
>
<hr/>
</div>
<div class="download-buttons">
<a href="path-to-windows-download" class="button" download>Win</a>
<a href="path-to-mac-download" class="button" download>Mac</a>
<a href="path-to-linux-download" class="button" download>Linux</a>
</div>
<footer>
<p class="sidefoot">© 2024 ArtechFuz3D. All rights reserved.</p>
</footer>
</div>
<div class="edible-content" id="main-content">
<div class="hamburger-icon" id="hamburger">☰</div>
</div>
<script>
document.addEventListener("DOMContentLoaded", function () {
const hamburger = document.getElementById("burger-icon");
const navMenu = document.getElementById("nav-menu");
hamburger.addEventListener("click", function () {
navMenu.classList.toggle("active");
});
});
</script>
<script>
document
.getElementById("hamburger")
.addEventListener("click", function () {
var sidebar = document.getElementById("sidebar");
var mainContent = document.getElementById("main-content");
sidebar.classList.toggle("open");
mainContent.classList.toggle("open");
});
</script>
<canvas id="collisionCanvas" ></canvas>
<canvas id="canvas1"></canvas>
<script type="module" src="script.js" ></script>
</body>
</html>