Creating a Rogue-like (like Vampire Survivors) in Unity — Part 17: Fixing Pickup Collection

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

Update 18 February 2024: Added a new section to fix a bug with the health bar not updating after picking up a health potion.

If you've been following our series for some time, one thing that you will be aware of is that our pickup system is a little janky, because sometimes our items will miss the player if he is moving too fast, or moving at an odd angle (thanks to g Dni for pointing this out).

View post on imgur.com

To view this content, you must be a member of Terresquall's Patreon at $5 or more
Already a qualifying Patreon member? Refresh to access this content.

Creating an Underwater Survival Game like Subnautica Part 5 — Crafting System

This article is a part of the series:
Creating an Underwater Survival Game (like Subnautica) in Unity

Video authored, edited and subtitled by Sarah Kagda.

Hello everyone, and welcome to this installment of the Underwater Survival tutorial series! Here, I'll guide you in creating a Crafting System similar to Subnautica, as well as how to create recipes that you can use for the Crafting System.

To view this content, you must be a member of Terresquall's Patreon at $5 or more
Already a qualifying Patreon member? Refresh to access this content.
What is a kinematic rigidbody?

What is a kinematic rigid body and how are they used in Unity?

If you’ve ever used a Rigidbody component in Unity, you may have seen a couple of settings on the component which may be a little difficult to understand the meaning of. On this site, we have covered what some of these settings mean and what they do, such as:

Continue reading
Creating a Metroidvania in Unity — Part 5

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 I dealt with merge conflicts in Plastic SCM on Unity

How I dealt with merge conflicts in Plastic SCM on Unity

When using Unity to develop games, many people may choose to use Plastic SCM to collaborate with their team. However, with multiple people working on the same project, a merge conflict may sometimes occur.

Unity Plastic SCM file merge conflicts, image of files in the repository that conflict with changes made
Conflicting files may cause progress to be lost if handled incorrectly.
Continue reading
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
XAMPP Apache not starting on macOS

XAMPP Apache not starting on macOS

XAMPP is a great tool for web developers who need to host websites locally on their own computer. Unfortunately, because it uses ports and services that are commonly used by other applications, conflicts can happen, causing certain applications on XAMPP to be unable to run.

In this article, we will we exploring what you can do if XAMPP’s Apache service does not run on a macOS platform.

We also have a guide if XAMPP Apache isn’t starting on your Windows device.

Continue reading
glowing shader article splash

Writing a Unity Shader script for a glowing material — A deeper look

Subtle background animations always help to set the mood of the game. It might only be something simple as a slowly pulsing glow, but it adds to the ambience of the digital city that Terminus is set in.

This article takes a deeper look into some parts of my animated shader tutorial on Youtube, where I went through the creation of a shader used in one of my team’s recent projects.

  1. SubShader tags
    1. Queue
    2. RenderType
  2. Vertex and fragment
  3. Time
  4. Emission formula
Continue reading