Commit graph

46 commits

Author SHA1 Message Date
Richard Nixon
fa91d71873 Update README with implemented features 2026-01-24 21:52:34 +00:00
Richard Nixon
262a35bc80 Add background music 2026-01-24 21:51:05 +00:00
Richard Nixon
d49bed1541 Add major game features and improvements
- Add interval management system to fix memory leaks and cleanup bugs
- Implement win condition (survive 3 minutes) with victory screen
- Add pause functionality (ESC/P key) with pause overlay menu
- Add progressive difficulty (enemy speed/spawn rate increase over time)
- Implement enemy variety: Normal, Fast (green), and Tank (larger, 2 HP)
- Add boss fights every 60 seconds with health bar
- Add power-ups: Extra Life, Triple Shot, Shield (10-15s spawn interval)
- Implement Hardcore Mode (1 life, faster enemies, no power-ups)
- Add high score system with localStorage persistence
- Add background music support with volume control
- Add visual feedback (player hit flash, enemy death animation, shield glow)
- Add mobile touch controls (auto-detected on touch devices)
- Improve collision detection using getBoundingClientRect
- Add responsive styles for mobile devices
2026-01-24 21:44:47 +00:00
Richard Nixon
19276b11fe Update README with planned improvements and better documentation 2026-01-24 21:31:04 +00:00
Richard Nixon
8af3d6b170
Rename Screenshot 2025-04-24 at 23.28.22.png to 2DGameShooterPureJS.png 2025-04-24 23:29:33 +01:00
Richard Nixon
cf399a1bf2
Add files via upload 2025-04-24 23:28:56 +01:00
Richard Nixon
2edc383bde
Merge pull request #22 from jmarcos06/main
temporary fix of loud shooting volume, player collision now start at …
2025-03-20 12:05:18 +00:00
Joao Marcos
b6b5636018
index.html
fix repeated "game end" div
2025-03-19 13:08:12 +01:00
Richard Nixon
34c0585e81
Merge pull request #23 from tschope/main
new arrows image
2025-03-12 17:32:10 +00:00
Joao Marcos
4ce7eab399
Merge branch 'main' into main 2025-03-12 16:51:45 +01:00
Rodrigo Tschope
8d7a1f992e new arrows image 2025-03-12 15:38:35 +00:00
jmarcos06
c1ad444169 temporary fix of loud shooting volume, player collision now start at the beginning of the game, ran prettier format 2025-03-12 16:26:45 +01:00
Richard Nixon
ca1692b53b
Merge pull request #21 from tschope/main
Volume and be hit sound
2025-03-12 14:50:08 +00:00
Rodrigo Tschope
8ca056da1b volume and new sound 2025-03-12 14:44:41 +00:00
Rodrigo Tschope
c719b6605d gitignore 2025-03-12 14:43:10 +00:00
Richard Nixon
a9c06addde update readme 2025-03-12 14:02:04 +00:00
Richard Nixon
7c2a8afd00 created a checkCollisionEnemy() to fix player collision check when the player do not move. close #20 2025-03-12 13:33:10 +00:00
Richard Nixon
5dcbfd4bb2 homepage background 2025-03-08 08:45:52 +00:00
Richard Nixon
21ddd7451f
Update README.md 2025-03-07 23:30:29 +00:00
Richard Nixon
02750aa659
Update README.md 2025-03-07 23:28:21 +00:00
Richard Nixon
e187959267
Update README.md 2025-03-07 23:28:01 +00:00
Richard Nixon
c4b7f696f2
Merge pull request #18 from richardnixondev/extras
close #16
2025-03-07 23:25:08 +00:00
Richard Nixon
4fa09eb281 fix path images 2025-03-07 23:22:31 +00:00
Richard Nixon
6527c87227 add some gifs and sounds 2025-03-07 18:35:27 +00:00
Richard Nixon
197c97e681 fix index page commmads and descritive list of data structure on README.md 2025-03-07 17:12:35 +00:00
Richard Nixon
441d2f2774 reduce size gameArea 2025-03-04 20:34:10 +00:00
Richard Nixon
cf1319958c fix bug enemy remains after restart the game close #17 2025-03-04 20:07:01 +00:00
Richard Nixon
368de056bd fix button restart close #15, improve gameover screen close #close14, Project file paths close #4 2025-03-04 19:11:59 +00:00
Richard Nixon
ee1bd77ce2 removing stats.style.display = 'block';, looks not need 2025-03-01 20:30:10 +00:00
Richard Nixon
95c9738105 now we have a logic for lose and game over screen is showing close #11 and close #3 2025-03-01 16:35:51 +00:00
Richard Nixon
7432211e5f fixing collision bullets x enemys close #12, gameScreen now counting score and time close #10 close #1 2025-03-01 14:46:19 +00:00
Richard Nixon
6dd1cb3a36 adjust elements size of stats, score. and add timer 2025-03-01 14:43:10 +00:00
Richard Nixon
2e1cb44227 add css parameters on gameArea to fix screen moving bug close #13 2025-03-01 12:00:21 +00:00
Richard Nixon
bea789d38c rename functions now called introPage() and startGame() 2025-03-01 11:59:08 +00:00
Richard Nixon
cfd016da06 first deploy close #8, add player, bullets, enemys and enemys random spawn 2025-02-27 19:21:40 +00:00
Richard Nixon
352cc59384
Create static.yml 2025-02-27 18:20:49 +00:00
Richard Nixon
886929a795 Add states logic, Css and html refactoring and small changes 2025-02-25 21:09:31 +00:00
Richard Nixon
9563e586db Add v1.0 of game intro (start game screen) close #9 2025-02-24 07:31:28 +00:00
Richard Nixon
c2719fefa0 add img folder 2025-02-24 07:28:41 +00:00
Richard Nixon
7eb8bdf679 add .gitignore 2025-02-24 07:28:00 +00:00
Richard Nixon
f629b05d2b add mvp on readme.md 2025-02-23 19:29:06 +00:00
Richard Nixon
095a689d42 add mvp on readme 2025-02-23 19:28:30 +00:00
Richard Nixon
dc52be4cd6 add style to game-screen div 2025-02-22 16:26:09 +00:00
Richard Nixon
f705893a1b Added first project scaffold. index.html, script.js. 2025-02-22 16:25:09 +00:00
Richard Nixon
405b28508d Add Readme.md based on provided template. 2025-02-22 16:22:27 +00:00
Richard Nixon
f9407aaa00
Initial commit 2025-02-22 14:06:01 +00:00