forked from YadavAkhileshh/Alien-Invasion-Defense
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFAQs.html
307 lines (278 loc) · 12.7 KB
/
FAQs.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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="FAQs.css">
<title>Alien Invasion Defense - FAQ</title>
<link rel="icon" href="favicon.png" type="image/x-icon">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css">
<style>
/* Custom Scrollbar */
html::-webkit-scrollbar {
width: 12px;
}
html::-webkit-scrollbar-track {
background: #0e1126;
}
html::-webkit-scrollbar-thumb {
background: linear-gradient(45deg, #0ff0fc, #f72585);
border-radius: 10px;
}
html::-webkit-scrollbar-thumb:hover {
background: linear-gradient(45deg, #f72585, #7209b7);
}
/* Mozilla Firefox scrollbar */
html {
scrollbar-color: #0ff0fc #0e1126;
scrollbar-width: 20px;
}
/* Scroll Up Button Styles */
#scrollUpBtn {
display: none;
position: fixed;
bottom: 20px;
left: 20px;
background-color: #007BFF;
color: #fff;
padding: 15px 20px;
border: none;
border-radius: 30px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
font-size: 18px;
transition: all 0.3s ease;
cursor: pointer;
z-index: 1000;
}
/* Hover Effect */
#scrollUpBtn:hover {
background-color: #0056b3;
transform: scale(1.05);
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}
</style>
</head>
<body>
<div class="home-nav">
<a href="/"><i class="fa-solid fa-arrow-left-long"></i> Return to Home</a>
<style>
.home-nav a{
text-decoration: none;
height: 50px;
width: 220px;
color: white;
font-size: 1.25rem;
position: absolute;
z-index: 999;
top: 10px;
left: 40px;
background-color: rgba(255,255,255,0.2);
display: flex;
justify-content: center;
align-items: center;
border-radius: 30px;
transition: all 0.4s ease;
}
.home-nav a:hover{
transform: scale(1.02);
background-color:#fff;
color: black;
}
</style>
</div>
<header>
<h1>Alien Invasion Defense - FAQ</h1>
</header>
<main>
<!-- Expanded Gameplay Mechanics FAQ Section -->
<section class="faq-section">
<h2 onclick="toggleAnswer(this)">
1. What is Alien Invasion Defense?
<span class="arrow">▼</span>
</h2>
<p>Alien Invasion Defense is a high-stakes, strategy-based action game where players defend Earth from relentless waves of alien invaders. Armed with advanced weaponry, you must eliminate enemies, collect power-ups, and advance through increasingly difficult levels.</p>
</section>
<section class="faq-section">
<h2 onclick="toggleAnswer(this)">
2. How do I play Alien Invasion Defense?
<span class="arrow">▼</span>
</h2>
<p>To succeed, mastering the game's controls and understanding the strategic elements is essential:</p>
<ul>
<li><strong>Movement</strong>: Use the arrow keys or WASD to navigate your character around the screen, dodging alien attacks and positioning for optimal shooting.</li>
<li><strong>Shooting</strong>: Use the spacebar or left mouse button to fire. Timed shots and accuracy will conserve ammo and increase efficiency.</li>
<li><strong>Power-Ups</strong>: Gather various power-ups that drop randomly from aliens. Power-ups can enhance firepower, temporarily grant invincibility, or replenish health.</li>
</ul>
</section>
<!-- Detailed Scoring System -->
<section class="faq-section">
<h2 onclick="toggleAnswer(this)">
3. How does scoring work?
<span class="arrow">▼</span>
</h2>
<p>Scoring is crucial to progressing and climbing the leaderboard. Here’s a breakdown of how it works:</p>
<ul>
<li><strong>Standard Aliens</strong>: Basic aliens provide a small number of points.</li>
<li><strong>Elite Aliens</strong>: More difficult to defeat, these enemies grant higher points.</li>
<li><strong>Boss Aliens</strong>: At the end of certain levels, boss aliens appear. Defeating them significantly boosts your score and may drop rare power-ups.</li>
</ul>
<p>Note that avoiding hits and defeating aliens without taking damage will increase your score multiplier.</p>
</section>
<!-- Expanded Troubleshooting Section with Solutions -->
<section class="faq-section">
<h2 onclick="toggleAnswer(this)">
4. Troubleshooting: Common Issues and Solutions
<span class="arrow">▼</span>
</h2>
<p>Encountering issues while playing? Here are some common solutions:</p>
<ul>
<li><strong>The Start button doesn’t work</strong>: Try refreshing the page or clearing your browser cache. For mobile users, switching to a desktop may also resolve the issue.</li>
<li><strong>Game lag or freeze</strong>: Close other applications and tabs to free up memory. Reducing screen resolution can also improve performance.</li>
<li><strong>Sound issues</strong>: Check your device’s sound settings and ensure the volume is up. If playing on a mobile device, try plugging in headphones.</li>
<li><strong>Screen appears blank after loading</strong>: Verify that your browser is updated. Try disabling browser extensions temporarily as they may interfere with the game.</li>
</ul>
</section>
<!-- Advanced Gameplay Tips Section -->
<section class="faq-section">
<h2 onclick="toggleAnswer(this)">
5. Advanced Tips for Scoring and Survival
<span class="arrow">▼</span>
</h2>
<p>To climb the leaderboard and survive longer, follow these strategies:</p>
<ul>
<li><strong>Master Dodging</strong>: Constant movement is key. Learn to predict enemy movement patterns and position yourself to avoid alien attacks.</li>
<li><strong>Prioritize Power-Ups</strong>: Not all power-ups are equal. Focus on health-restoring or shield power-ups to prolong survival.</li>
<li><strong>Target Stronger Aliens First</strong>: Elite aliens pose a greater threat but offer high rewards. Take them out early to clear space and score big.</li>
<li><strong>Efficient Ammo Use</strong>: Conserve shots for the moments when you’re lined up to hit multiple enemies. This saves ammo and maximizes damage output.</li>
</ul>
</section>
<!-- Device Compatibility FAQ Section -->
<section class="faq-section">
<h2 onclick="toggleAnswer(this)">
6. What devices and browsers are supported?
<span class="arrow">▼</span>
</h2>
<ul>
<li><strong>Browsers</strong>: Latest versions of Chrome, Firefox, Edge, or Safari.</li>
<li><strong>Devices</strong>: Desktops, laptops, and most tablets with a modern web browser are supported. Performance may vary on mobile devices.</li>
</ul>
</section>
<section class="faq-section">
<h2 onclick="toggleAnswer(this)">
7. How can I report bugs or issues?
<span class="arrow">▼</span>
</h2>
<p>If you encounter a bug or an issue not covered here, reach out to our support team. Please provide:</p>
<ul>
<li>Your device type (desktop, tablet, etc.)</li>
<li>Your browser and version number</li>
<li>A detailed description of the issue</li>
<li>Any screenshots or recordings, if possible</li>
</ul>
</section>
<!-- Customer Care Helpline Section -->
<section class="faq-section">
<h2 onclick="toggleAnswer(this)">
8. Customer Care Helpline
<span class="arrow">▼</span>
</h2>
<p>If you need assistance with the game, call our Customer Care Helpline at <strong>1-800-ALIEN-GAME</strong>. Our team is available 9 AM to 6 PM (EST) for any questions or technical support.</p>
</section>
<!-- Community Forums Button -->
<section class="faq-section">
<h2 onclick="toggleAnswer(this)">
9. Join the Community Forums
<span class="arrow">▼</span>
</h2>
<p>Connect with other players, share tips, and discuss strategies on our <a href="./community.html" target="_blank" class="forum-button">Community Forums</a>.</p>
</section>
</main>
<footer class="bg-body-tertiary text-center">
<!-- Grid container -->
<div class="container p-4">
<!-- Section: Social media -->
<section class="mb-4">
<!-- Facebook -->
<a data-mdb-ripple-init class="btn btn-outline btn-floating m-1" href="#!"style="margin:15px" role="button"
><i class="fab fa-facebook-f"></i
></a>
<!-- Twitter -->
<a data-mdb-ripple-init class="btn btn-outline btn-floating m-1" href="#!"style="margin:15px" role="button"
><i class="fab fa-twitter"></i
></a>
<!-- Google -->
<a data-mdb-ripple-init class="btn btn-outline btn-floating m-1" href="#!"style="margin:15px" role="button"
><i class="fab fa-google"></i
></a>
<!-- Instagram -->
<a data-mdb-ripple-init class="btn btn-outline btn-floating m-1" href="#!"style="margin:15px" role="button"
><i class="fab fa-instagram"></i
></a>
<!-- Linkedin -->
<a data-mdb-ripple-init class="btn btn-outline btn-floating m-1" href="#!"style="margin:15px" role="button"
><i class="fab fa-linkedin-in"></i
></a>
<!-- Github -->
<a data-mdb-ripple-init class="btn btn-outline btn-floating m-1" href="#!"style="margin:15px" role="button"
><i class="fab fa-github"></i
></a>
</section>
<section class="mx-4 mb-4">
<p>
Welcome to Alien Invasion Defense, a fast-paced space shooting game! Defend your base from waves of alien invaders and become the ultimate space defender. 🌌 With simple controls, sleek graphics, and exciting gameplay, get ready for an epic battle. Use your weapons to destroy alien ships, survive multiple waves, and protect your base with 3 lives. 👾
</p>
</section>
</div>
<!-- Copyright -->
<div class="text-center p-3" style="background-color: rgba(0, 0, 0, 0.05);">
© 2024 Alien-Invasion-Defense. All rights reserved.
</div>
<!-- Copyright -->
</footer>
<button id="scrollUpBtn" onclick="scrollToTop()">
Scroll Up
</button>
<script src="FAQs.js"></script>
<script>
window.embeddedChatbotConfig = {
chatbotId: "W_g3OYohwvFoV5lha0KUf",
domain: "www.chatbase.co"
};
window.onload = function() {
// Show the scroll-up button when the user scrolls down
window.onscroll = function() {
const scrollUpBtn = document.getElementById('scrollUpBtn');
if (document.body.scrollTop > 100 || document.documentElement.scrollTop > 100) {
scrollUpBtn.style.display = "block";
} else {
scrollUpBtn.style.display = "none";
}
};
};
function scrollToTop() {
window.scrollTo({
top: 0,
behavior: "smooth"
});
}
function toggleAnswer(header) {
const answer = header.nextElementSibling;
const arrow = header.querySelector('.arrow');
if (answer.style.display === "block") {
answer.style.display = "none";
arrow.innerHTML = "▼";
} else {
answer.style.display = "block";
arrow.innerHTML = "▲";
}
}
</script>
<script
src="https://www.chatbase.co/embed.min.js"
chatbotId="W_g3OYohwvFoV5lha0KUf"
domain="www.chatbase.co"
defer>
</script>
</body>
</html>