RSSAmplifier

Blog

Writing | Steven Lambert

stevenklambert.comRSS feed ↗15 posts

Latest posts

The Encroaching Darkness Postmortem

How I came up with, designed, and executed on the idea to create a flip and write style game for the 2024 Js13kgames.

Getting the Prettier API to Format Code in the Same Way as the CLI

Trying to get the Prettier API to format code in the same way as the CLI was proving difficult. I finally figured out the required steps in order to get it to work.

Bash Output Verbose Logs While Still Capturing Output

A technique for outputing verbose logs from a function without adding them to the captured output.

How My Team Conducts a Technical Interview

In response to a tweet, I discuss the process my team uses for our technical interviews.

A Comprehensive Guide to Building and Packaging an Electron App

Building and Packaging an Electron App wasn't as straight forward as I had hoped. This guide aims to help you navigate the complexities of doing so and avoid pitfalls along the way.

Calculating the Position of a Game Object Relative to the Camera in Phaser 3

For when you want to know the position of a game object relative to the top-left corner of the canvas.

Reducing Axe-core File Size: Trie Stored as Nested Arrays

How I was able to save more than 17 kB gzipped from a single file.

Custom 404 Page Without a Server

How to create a custom 404 page without needing a server.

Ravaged Space Postmortem

How I came up with, designed, and executed on the idea to create an incremental survival game for the Australian Bushfire Charity Jam.

Improving Axe-core Color Contrast Performance

A postmortem of how axe-cores color-contrast performance was greatly improved by replacing native APIs.

Detecting Ligature Icons With JavaScript

A deep dive into detecting when a string of text has been replaced with a ligature icon.

Unit Testing a Vue.js Functional Component that Returns Multiple Root Nodes

Unit testing a functional component with a render function that returns multiple root nodes is a bit tricky and isn't well documented. Lets explore how to do it.

Tiled AutoMap Auto-Generate Walls

The Tiled AutoMap feature is a fantastic feature, but a recent change broke all Tiled AutoMap examples and tutorials made prior to 2018. Using the `StrictEmpty` flag will make the examples work again.

Using Fetch to Read JSON with Text Fallback

When using fetch, it can be helpful to be able to read data that could be either JSON or text and parse it as such. But how can we do so?

Button vs Checkbox for a Toggle Control

When it comes to coding a toggle control, there is an important difference between using a button or a checkbox.