Source code here: https://github.com/binji/raw-wasm/blob/master/maze/maze.wat … Some fun things: * Maze is generated using Kruskal's algorithm * Two 32x32 textures, RLE compressed to 256 bytes * Raycast is done brute-force (all walls)! * Uses two-stage palette lookup for brightness
-
-
Prikaži ovu nit
-
Got it down to less than 2400 bytes with some nasty tricks
https://github.com/binji/raw-wasm/commits/master/maze …Prikaži ovu nit -
-
-
Novi razgovor -
-
-
Can we get a Windows 98 screensaver edition
-
Haha, that was actually what I was working on first! It actually uses the same maze algorithm (see .
@foone's awesome thread here: https://twitter.com/Foone/status/1018649977608798208 …)
- Još 3 druga odgovora
Novi razgovor -
-
-
161 lol it's a little difficult to control on mobile. I really want to learn how to build this type of game.
-
Thanks! Yeah the controls are a little wonky on mobile, I mostly put them in at the end. I was able to play OK with a claw grip though
.
I bet there are a bunch of tutorials for stuff like this, try searching for "wolfenstein javascript"! - Još 3 druga odgovora
Novi razgovor -
-
-
This is just... wow. I don't even know what to say. A quick devlog would be super. Thanks for sharing the repo.
-
Thanks! I'll see if I can write something up soon.
Kraj razgovora
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.


