Tagcoding

My server setup

M

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-metal machine I’m renting from OVH as it is the most efficient solution for my use case as I also host some game servers for my group from time to time.If all you’d need...

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...