livecode

Live coding sessions, mistakes included.

Let's Make a Lazy String Parser in C#
Let's Make a Lazy String Parser in C#
· ☕ 3 min read
Let’s create a quick string parsing script that can read a long string and return a delimited set of results (we’ll be finding words).

What Happens When You Snap Vertices To A Grid?
What Happens When You Snap Vertices To A Grid?
· ☕ 3 min read
In this video I get to play with madness. We’ll be exploring what happens if you try to “pixelate” a 3D mesh using a vertex shader.

Pseudo-Random Colors with Hashed Strings
Pseudo-Random Colors with Hashed Strings
· ☕ 2 min read
In this video we’re going to explore a way I approach reproducible pseudo-random number generation that uses calculated hashes to select a random item or property for an object.

Learning to Deserialize YAML in C# with YamlDotNET
Learning to Deserialize YAML in C# with YamlDotNET
· ☕ 2 min read
YAML (Yet Another Markup Language) provides a way to store structured data in files. It can be used in similar ways to other JSON or XML files and is commonly used with Kubernetes and Docker Compose.

Building worldofzero.com - Improved Video Descriptions
Building worldofzero.com - Improved Video Descriptions
· ☕ 2 min read
I’ve recently been doing a lot of work on my website worldofzero.com in order to help launch the new version and improve the usability and accessibility of the site.

Exploring Top-Level Programs in C# 9
Exploring Top-Level Programs in C# 9
· ☕ 2 min read
Top-Level Programs is a new feature being introduced in C# 9.0 that significantly simplifies certain C# programs and allows you to remove almost all of the boilerplate code from them.

I'm Learning Moq - A .NET Mocking Framework for Unit Tests
I'm Learning Moq - A .NET Mocking Framework for Unit Tests
· ☕ 2 min read
Mocking describes a feature in programming that allows you to replace the functionality of an object with a blank version of itself or provide your own functionality in its place.

An Abstraction of our Character Controller
An Abstraction of our Character Controller
· ☕ 2 min read
Lets take a look at building an abstraction over a character controller in our 2D platforming game. The goal of this refactoring and abstraction pattern is to improve the testability and modularity of the character controller.

Exploring a Trochoidal Wave Shader
Exploring a Trochoidal Wave Shader
· ☕ 1 min read
Let’s try to craft some trochoidal waves - a type of fluid simulation that is both fairly simple and also looks pretty good for creating basic waves in an ocean or other fluid.

Building Coyote Time in a 2D Platformer
Building Coyote Time in a 2D Platformer
· ☕ 2 min read
Coyote Time is an idea in platformers that allows the player to jump for a few frames after they have left the platform they are on.

Generating Gates - Sand Table - Part 2
Generating Gates - Sand Table - Part 2
· ☕ 1 min read
Continuing our development of the Sand Table prototype project we’re going to add gates. We’ll build two components for this.