I’m starting a graphics based project, and decided to use SDL2 in Windows. This meant setting up a development environment. Here’s some notes on how I set up MSYS2, VS Code and LibSDL2.
It’s always worth clicking around on Twitter, and following replies to people’s tweets. You find all sorts of useful things. In this case I found a nice little web based game development environment called MicroStudio.
The basic idea So ever since I first saw it on my friend’s 386, I’ve really liked Doom. I think I’ve put more hours into playing and modifying Doom over the years than any other game - including Animal Crossing on my Switch.
Let’s draw a lit 3D scene without defining any 3D objects. Yeah no it confused me too. I always thought the point of shaders was to make 3D models look fancy.
Today I figured out how to draw a line, and then make it wiggle using some basic maths. (adsbygoogle = window.adsbygoogle || ).
Let’s spend this week learning about GLSL and making fancy images from code. The first one, a nice computationally intensive fractal. (adsbygoogle = window.
How to write GameBoy Advance (GBA) homebrew using modern tools and systems in 2020. Compilers, editors, debugging and more! This isn’t the definitive way of doing things, but it’s a way that seems to work for me.
How a Redcode “CPU” works The CPU is a machine, it follows a basic mechanism to the beat of an external clock. In the case of a Redcode simulator, every tick of the clock causes the CPU to go through what is called the Fetch-Decode-Execute (FDE) cycle.
Sometimes you have to type out almost identical lines of code, and it’s either time consuming or error prone. Here’s how to avoid it all by using some clever Excel techniques.
How to efficiently store and execute many small functions, without using a single if statement or switch construct. Opcodes Redcode contains 17 opcodes which perform standard operations such as copying data, maths and conditional jumps.