A little raycasting game in JS I made for school [mirror]
  • JavaScript 94.1%
  • CSS 3.4%
  • HTML 2.4%
Find a file
2025-06-21 14:53:39 +02:00
docs add screenshot 2025-06-16 01:46:26 +02:00
resources add gunshot and better ui 2025-06-16 01:04:30 +02:00
collisions.js working zombies with rendering and primitive ai (they follow you) 2025-06-15 22:09:28 +02:00
crosshair.js transparency, death... the game is now in a state where I could submit it 2025-06-16 00:19:18 +02:00
elevator.js elevators 2025-06-16 00:39:44 +02:00
enable_error_alerts.js feat: basic game structure, render buffer that I can write to and it will draw, rough page layout 2025-06-02 16:00:33 +02:00
game.js add gunshot and better ui 2025-06-16 01:04:30 +02:00
index.html make it embeddable by changing gunshot location from abspath to relpath and make it load the release map on startup by default 2025-06-21 14:53:39 +02:00
index.js make it embeddable by changing gunshot location from abspath to relpath and make it load the release map on startup by default 2025-06-21 14:53:39 +02:00
keyboard.js working collision detection, can walk on ground now and render everything in real time 2025-06-15 12:04:58 +02:00
LICENSE add readme and license 2025-06-16 01:38:23 +02:00
mouse.js transparency, death... the game is now in a state where I could submit it 2025-06-16 00:19:18 +02:00
raycast.js basic raycasting working and 30 FPS (seemingly max the browser will do) + world parsing (only triangles for now) + rendering thereof 2025-06-14 14:22:28 +02:00
README.md add screenshot 2025-06-16 01:46:26 +02:00
render.js transparency, death... the game is now in a state where I could submit it 2025-06-16 00:19:18 +02:00
serve.bat feat: basic game structure, render buffer that I can write to and it will draw, rough page layout 2025-06-02 16:00:33 +02:00
state.js add gunshot and better ui 2025-06-16 01:04:30 +02:00
style.css add gunshot and better ui 2025-06-16 01:04:30 +02:00
utils.js working zombies with rendering and primitive ai (they follow you) 2025-06-15 22:09:28 +02:00
world.js elevators 2025-06-16 00:39:44 +02:00
zombie.js transparency, death... the game is now in a state where I could submit it 2025-06-16 00:19:18 +02:00

ZombieBasher

A little game I made for school. It uses software raytracing (I think it qualifies as that?) and a primitive map definition format to let you walk around and shoot in a tiny virtual world. The codebase is very unorganized and pretty dirty.

Screenshot

License

MIT License