Tagcoding

My server setup

M

As part of the Battleship series, I will cover a bit about CI/CD and TDD. For that part, I will need to go over Drone CI and how I have it set up. However, before getting there, I wanted to cover my current server setup. It might prove useful for other web developers wanting an easy way to self-host their websites, portfolios and CI/CD pipelines. Some considerations first. I have a full bare...

Battleships – Intro

B

As it happens, I’m looking for a job again. Things are not great in the developer market at the time of writing. There are fewer and fewer positions for less money than a few years ago and mostly none of them are in PHP. So I have to finally make the transition away from PHP as I have been planning for a few years now. I do have some experience with C# and the larger .NET ecosystem but a...

Camera space scaling

C

During the development of my new game currently called “Space Pew” I’ve come across a somewhat interesting problem. I wanted to have the ships the player will control take a certain percentage of the screen. Essentially, when the longest axis of the ship was aligned with the smallest size of the screen, usually height, the first should be between 20% and 80% of the latter.By...

Bézier curves and splines

B

I’m not going to go over the mathemathics of what a Bézier curve is, there’s plenty of resources explaining that online including a lengthgy Wikipedia page that can be found here. Main thing you need to know is that there’s multiple types of Bézier curves, differentiated by the equations that give them. For our needs we will use the Cubic Bézier curve, connecting them end to...