Creating a Metroidvania (like Hollow Knight) — Part 8: Wall Jump, Unlocking Abilities & Spells, Mask & Soul Vessel Shards and Inventory

This article is a part of the series:
Creating a Metroidvania (like Hollow Knight) in Unity

8 June 2024: This article has been updated to correct some errors and missing information.
Here's the list of changes and bugfixes for Part 8 of the Metroidvania Series.

Welcome to Part 8 of our Metroidvania tutorial series, where we’ll take you on a journey through the development process of creating your own Metroidvania game, just like the widely popular Hollow Knight, in Unity!

To view this content, you must be a member of Terresqualls Patreon at $5 or more
Already a qualifying Patreon member? Refresh to access this content.
Comparing the performance of String, StringBuilder, StringBuffer

Try it yourself: Compare the performance of Java’s String vs. StringBuilder vs. StringBuffer

If you are dynamically generating strings in your Java program, one of the best things you can do for your program is to build your string using a StringBuilder or StringBuffer, as opposed to using a regular old String.

The reason for this? In Java, strings are immutable, and every time you concatenate a string that the program hasn’t seen before, a new string object is created and stored in the heap. This means the whole process involves a lot of reading from and writing to the memory. The StringBuilder and StringBuffer in Java are objects that are designed to do string concatenation in a more efficient manner, but how much more?

We’ve got a simple Java program here that you can run from your browser so you can see it for yourself.

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

Creating a Rogue-like Shoot ‘Em Up (like Vampire Survivors) — Part 12: Weapon Evolution

This article is a part of the series:
Creating a Rogue-like Shoot 'Em Up (like Vampire Survivors) in Unity

Ever wanted to create a rogue-like shoot ’em up game like Vampire Survivors? In Part 12 of our guide, we will go through how to create a weapon evolution system, similar to the one seen in Vampire Survivors. You can also find Part 11 of our guide here, where we touched up on certain aspects of our project such as identifying and fixing bugs, along with aesthetic changes

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

To view this content, you must be a member of Terresqualls Patreon at $10 or more
Already a qualifying Patreon member? Refresh to access this content.

Creating a Metroidvania (like Hollow Knight) — Part 7: Death, Respawn, Updating Map and Save system

This article is a part of the series:
Creating a Metroidvania (like Hollow Knight) in Unity

5 June 2024: Anonymes FRACTAL has helped us identify some bugs in this part of the series. You can find more details on the bugs (and how to fix them) here.

Welcome to Part 7 of our Metroidvania tutorial series, where we’ll be taking you on a journey through the development process of creating your own Metroidvania game, just like the widely popular Hollow Knight, in Unity!

To view this content, you must be a member of Terresqualls Patreon at $5 or more
Already a qualifying Patreon member? Refresh to access this content.
How to rewrite author permalinks in WordPress

How to rewrite the author permalink URL structure in WordPress

Recently, one of our clients building their website on WordPress with us had a requirement — they wanted to have a URL base structure for their author pages that was different from the WordPress default. Instead of the default /author/[username] structure, they wanted to use /authors/[username] instead. Although there are plugins for this, we decided to implement it into the theme we were developing for the client to make the functionality as lightweight as possible.

Turns out, the implementation was pretty simple, as WordPress has built-in hooks for this. To update the author page URLs, we need to do 2 things:

Continue reading

Creating a Metroidvania (like Hollow Knight) — Part 6: Enemies, Spikes, and an Advanced Camera

This article is a part of the series:
Creating a Metroidvania (like Hollow Knight) in Unity

26 April 2024: This article has been updated to correct some errors and missing information.
Here’s the list of changes and bugfixes for Part 6 of the Metroidvania Series.

Welcome to Part 6 of our Metroidvania tutorial series, where we’ll be taking you on a journey through the development process of creating your own Metroidvania game, just like the widely popular Hollow Knight, in Unity!

To view this content, you must be a member of Terresqualls Patreon at $5 or more
Already a qualifying Patreon member? Refresh to access this content.
Creating a Rogue-like (like Vampire Survivors) - Part 11

Creating a Rogue-like Shoot ‘Em Up (like Vampire Survivors) — Part 11: Code and Aesthetic Touch-ups

This article is a part of the series:
Creating a Rogue-like Shoot 'Em Up (like Vampire Survivors) in Unity

Ever wanted to create a rogue-like shoot ’em up game like Vampire Survivors? In Part 11 of our guide, we will be touching up on certain aspects of our project such as identifying and fixing bugs, along with aesthetic changes. You can also find Part 10 of our guide here, where we went through how to create additional features for our game manager by continuing where we left off. We also covered some important additions to UI elements.

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

To view this content, you must be a member of Terresqualls Patreon at $10 or more
Already a qualifying Patreon member? Refresh to access this content.

Creating a Metroidvania (like Hollow Knight) — Part 5: Level Design and Lighting

This article is a part of the series:
Creating a Metroidvania (like Hollow Knight) in Unity

26 April 2024: This article has been updated to correct some errors and missing information.
Thanks to Allan Valin for pointing these out to us!
Here’s the list of changes and bugfixes for Part 5 of the Metroidvania Series.

Welcome to Part 5 of our Metroidvania tutorial series, where we’ll be taking you on a journey through the development process of creating your own Metroidvania game, just like the widely popular Hollow Knight, in Unity!

Continue reading
How to convert double dash to em dash in WordPress Gutenberg

How I made double dashes automatically convert to em dashes in WordPress Gutenberg Editor

Over the weekend, I was tackling a client request requesting for us to help modify their WordPress backend so that when writing posts, the Gutenberg Editor will automatically convert consecutive double dashes -- to an em dash character.

It was a particularly difficult task for me, despite having coding in WordPress for many years, simply because the Gutenberg editor was relatively new, and there is very little documentation regarding it.

Continue reading
How to override Astra Pro templates in a child theme

How to override Astra Pro templates in a child theme

At the recommendation of a fellow web developer, I’ve been using the Astra theme in WordPress to develop Terresquall’s client websites for years now, and it’s been by and large a positive experience. Astra is a very versatile theme that can be used to build many different kinds of website, and their paid Astra Pro plugin adds even more customisation options, allowing for even more rapid customisation options.

If you are building your site upon the addition features that Astra Pro provides using a child theme, however, customising Astra Pro templates can be a bit difficult to do, because there isn’t much documentation about this.

Continue reading