Working on The Witness, Part 1 (2012)
Mapping the walkable surfaces on the island of The Witness as a step toward bulletproofing the player movement code.
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 2,047 posts.
Mapping the walkable surfaces on the island of The Witness as a step toward bulletproofing the player movement code.
A young writer crosses paths with the designer of Zork, sparking a surprisingly experimental game where you experience reality from six unique perspectives.
Tutorials and articles of Inigo Quilez on computer graphics, fractals, math, art, demoscene, shaders and more.
GPT-4 will change the world.
Introduction Hi, I’m Glenn Fiedler and welcome to Game Physics. In the previous article we discussed how to integrate the equations of motion using a numerical integrator. Integration sounds complicated, but it’s just a way to advance the your physics simulation forward by some small amount of time called “delta time”…
In this position, I know about a bunch of mines on all the remaining fronts, but I can't quite determine where they are. There are a few mines that might be in one of two positions (red or blue), a cluster of mines that might be in one of two arrangements (green), and a more complex situation in the top left which I…
Once upon a time, there were many music composition software packages, mostly written in Common LISP. To name a few I know, Common Music, Symbolic Composer (not related to the Symbolics Lisp Machine). Common Music is still available in source code but I doubt if anyone is still able to setup that. Symbolic Composer…
From reconfiguring the system to reconfiguring the user.
This comes from a question posed to me and others in 2019 by Stefan Langerman, a computational geometer who also happens to be a diamond dealer. The classic ...
This is an example of an image vectorization algorithm. It shows the bilinear interpolation, polynomial approximation, differential analysis, and iterative algorithms working together to solve a practical problem
Suppose we want to draw a batch of images, where each image is made up of randomly positioned and colored triangles, that are blending. It will look like this:
Some friends of mine play the board game Settlers Of Catan . In this game, each player rolls two ordinary dice on their turn, and the number which comes up determines what resources people get for the turn. When a seven is rolled, something special happens: no resources are generated, and instead a robber moves on the…
Endbot is a complete audio-visual demo that fits in exactly 256 bytes . It runs under DOS (via DosBox-X) and renders in real-time: a robot sprite with progressive bullet damage, a growing explosion, a scrolling checkerboard landscape, and a MIDI soundtrack - all from a single tiny .com file.
A post about lockstep, rollback, and what it takes to prepare your game for future netcode integration. Continue reading →
We traditionally divide consoles into “generations”—the earliest devices like the Magnavox Odyssey are the first generation, the Atari 2600 is second, the NES third, the SNES and Genesi…
2025 update v2: I made a tool that fixes distortions introduced by Intel GPA, and that tool made few sections of this blog obsolete. As such, they’ve been deleted. Old version is still available here.2025 update. This blog post now also exists as a youtube video. Yes, the video is 1 hour 20, so about twice as long as…
The following article is a historical look at the era that spawned first raytracers for home computers, a predecessor to Blender among them. Writing it was possible thanks to the fact, that, for the first time, the program and source code of said predecessor are publicly available.
An interactive deep dive into building halftone shaders in GLSL, covering everything from classic dot patterns and CMYK color separation to Moiré interference, gooey effects, and animated displacement.
Has any successful piece of software ever deserved its success less than the benighted, unloved exercise in minimalism that was MS-DOS? The program that started its life as a stopgap under the name of “The Quick and Dirty Operating System” at a tiny, long-forgotten hardware maker called Seattle Computer Products…
The capabilities of game-playing AIs have grown rapidly over the last few years. This trend has culminated in the defeat of top human players in the complex real-time strategy (RTS) games of DoTA 2…
Most people have two eyes, allowing for a stereoscopic view of reality.[citation needed]. Nevertheless, video games are generally designed to run on monitors...
I love Doom. Or, well, I love Doom 2, which is the game we actually had when I was nostalgia years old. I love the aesthetic — pixely in a 3D(ish) environment, and consistent in a way that meshes together really well. The classic levels are abstract (occasionally too abstract), but still detailed enough to feel like…
This week's post will cover a command line tool that helps you play the video game Stardew Valley .
TL;DR: Don’t base your FPS calculations on a specific number of frames. Instead, maintain a rolling window of frames that happened during the last second. Use precise timers. Read on for more details.