Ever wanted to create a game like Harvest Moon in Unity? Check out Part 34 of our guide here, where we fix a few bugs and implement a new storage system for our game. You can also find Part 33 of our guide here, where we created our weather system.
Posts categorised under:
Web
Creating a Farming RPG (like Harvest Moon) in Unity — Part 33: Minecraft Inventory System
This article is a part of the series:
Creating a Farming RPG (like Harvest Moon) in Unity
Ever wanted to create a game like Harvest Moon in Unity? Check out Part 33 of our guide here, where we fix a bug with chicken hatching, and add new features to our inventory system. You can also find Part 32 of our guide here, where we created our weather system.

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
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
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
Unable to access phpMyAdmin on XAMPP (in Windows)
XAMPP is a great tool for web developers because it packages a couple of applications used for web hosting into one program, and it allows websites to be tested locally on a computer. Unfortunately, because it links multiple applications together, it is pretty error-prone.
One of the errors that might happen is that you might not be able to access XAMPP’s phpMyAdmin, which provides users with an interface to modify the local SQL database. In this article, we go through the various reasons why this might occur, as well as how you can fix them.
Continue reading
How to fix the Patreon API only returning the 20 oldest Patrons
Recently, we’ve been hooking the Patreon API to our blog, so that we can set up a page for our Patrons properly. Along the way, we ran into a snag that has not been properly-documented online. If you’ve found this article, I hope this helps save you some time.
Continue reading
How I fixed the Facebook Sharing Debugger not crawling my site
Recently, while putting together the site for our annual Kong Game challenge, I ran into a problem when trying to set up the page metadata and Open Graph tags. Specifically, the Facebook Sharing Debugger was failing to retrieve any metadata on my page!
Continue reading
XAMPP can’t start on macOS — cannot calculate MAC address
If you are running XAMPP on macOS, you may run into a variety of problems that may prevent you from starting the program. One of these problems is an error that says “cannot calculate MAC address” when you try to start the program.

If your error message says something else, you may want to check out the other articles on XAMPP for macOS:
Continue reading
How to set up a local web domain (i.e. VirtualHost) on WampServer
When working on a website, it is not uncommon for developers to locally host websites on their own computers first, as it is often a good idea to run and test your website before you publish it online, so that you avoid having your live website run into errors and bugs.
If you are a Windows user, one of the several local web hosting softwares you have available to you is WampServer, which normally runs on the localhost
URL when it is started up.
Fun fact: Wamp stands for Windows, Apache, MySQL and PHP. It is a play on the term LAMP (where L stands for Linux, and the rest of the letters mean the same as those in Wamp), as almost all web servers in the early days of the web ran on such a set-up. Today, LAMP stacks are still widely used to host many websites.
While running on localhost
gives us the benefit of using root-relative URL paths, it still has a distinct drawback — it is a hassle to run multiple websites off the localhost
URL, as it will still cause the aforementioned root-relative URL paths to break.
Fortunately for us, it is possible to set up what I call “local domains” on WampServer, so that you can use URLs outside of localhost
to access your websites on WampServer.