Because raycasters are so fast and simple, you can try lots of ideas quickly. You could make a dungeon crawler, first-person shooter, or a grand-theft-auto style sandbox. Hell, the constant-time makes me want to build an oldschool MMORPG with a massive, procedurally generated world. Here are a few challenges to get you started:
Immersion. This example is begging for full-screen mouse-lock with a rainy background and thunderclaps synchronized to the lightning.
An indoors level. Replace the skybox with a symmetric gradient or, if you're feeling plucky, try rendering floor and ceiling tiles (think of it this way: they're just the spaces between the walls you're already drawing!)
Lighting objects. We already have a fairly robust lighting model. Why not place lights in the world and compute wall lighting based on them? Lights are 80% of atmosphere.
Good touch events. I've hacked in a couple of basic touch controls so folks on phones and tablets can try out the demo, but there's huge room for improvement.
Camera effects. For example, zooming, blurring, drunk mode, etc. With a raycaster this are surprisingly simple. Start by modifying camera.fov in the console.
A first-person engine in 265 lines
Commodore’s C64 had a famously decisive, if drab set of 16 colors to choose from, a note of artistic intent amid the unthinking mathematical extremities of other 8-bit color palettes. But did you know there were secret colors? Aaron Bell writes up a discovery that blew his mind many years ago and which, 26 years […]
In celebration of Zelda: Breath of the Wild, Allen Pan built a wonderful home automation system where the interface is an ocarina as seen in The Legend of Zelda: Ocarina of Time. (Thanks, Lux!)
The Offworld Collection, presenting the very best features and essays from Offworld, is finally available to buy directly from Campo Santo for $40. I had the pleasure of designing and illustrating this splendid 250-page hardcover volume, but it’s the excellent writing, edited by Leigh Alexander and Laura Hudson, that makes it an essential buy. You […]
Maybe it’s entirely because of podcast ads, but drag-and-drop tools like Squarespace have gotten immensely popular in recent years. While it’s definitely a great tool for any non-coders who want to get a small website up and running quickly, managing content with a primarily visual interface can become a pain once you have more than […]
When you can’t wait for the world’s longest meeting to end, the mindless leg bouncing makes your boredom obvious and just annoys everybody else. Everyone knows the TPS reports need the damn cover sheet, but some sadistic colleague keeps forgetting, probably on purpose just to eat into your lunch hour. Enough is enough!While serving a […]
What could be more fun than a slingshot that shoots tiny airplanes? A slingshot that shoots tiny glowing airplanes of course! These toy planes are outfitted with ultra-bright LEDs, so you can fly all night without losing them in the trees.Whether you are a regular-sized child, or an overgrown adult one, these light-up flyers offer […]