Copypasta HTTP security headers
Image icon by vectorjuice from FreePik

Copypasta HTTP security headers for your Apache website

While I was doing SEO for this blog in the past few couple of days, I’ve come across a set of HTTP security headers I’ve never heard of before. These are a set of HTTP headers that you can deploy on your website(s) to tell browsers how to interact with your site in a variety of situations, and they can help to prevent things like cross-site request forgery or iFrame injection XSS attacks from happening on your site, as well as improve your website(s) SEO score (apparently).

Needless to say, I immediately sought to implement them. If you’re looking for some settings that you can copy and paste right into your own web server, read on further.

Continue reading
How I fixed a Unity project that got stuck loading forever when opening a C# script

How I fixed a Unity project that got stuck loading forever when opening a C# script

Recently, while working on one of my projects in Unity, I opened one of my C# scripts, and… my Unity Editor decided to get itself stuck on the loading screen for a really long time. This led me to search online for a fix, and it took me quite some time.

Unity Editor infinite loading bar
The dreaded infinite loading bar.

If you’re experiencing the same issue, this article is for you. Hopefully, you won’t take as much time as I did to fix this error.

Continue reading
Creating a Rogue-like (like Vampire Survivors) - Part 4

Creating a Rogue-like Shoot ‘Em Up (like Vampire Survivors) — Part 4: Weapon and Enemy Stats

Ever wanted to create a rogue-like shoot ’em up game like Vampire Survivors? In Part 4 of our guide, we will go through how to create stats for our weapons and enemies, including how to damage enemies with weapons. You can also find Part 3 of our guide here, where we went through how to create our first weapons and basic enemy AI.

A link to a package containing the project files up to Part 4 of this tutorial series can also be found at the end of this article.

Continue reading
Creating a Rogue-like (like Vampire Survivors) - Part 3

Creating a Rogue-like Shoot ‘Em Up (like Vampire Survivors) — Part 3: Weapons and Enemy AI

Ever wanted to create a rogue-like shoot ’em up game like Vampire Survivors? In Part 3 of our guide, we will go through how to create our first weapons and basic enemy AI. You can also find Part 2 of our guide here, where we went through how to create infinite map generation.

A link to a package containing the project files up to Part 3 of this tutorial series can also be found at the end of this article.

Continue reading
Creating an Underwater Survival Game in Unity - Part 2

Creating an Underwater Survival Game (like Subnautica) Part 2 — Terrain and Day-Night Cycle

Ever wanted to create a game like Subnautica in Unity? Check out Part 1 of our guide here, where we go through how to set up a player controller and some player stats.

A link to a package containing the project files of this tutorial series can also be found at the end of this article, exclusive to Patreon subscribers only.

Author’s Note: If you’ve watched and followed Part 1 of the video tutorial, you’ll realise there is a small error in the code. Make sure you change moveY() to moveZ() to make sure your code is working. You can watch the 1st minute of the video tutorial below for clarification on this.

Continue reading