Let’s go over how to set up simple first-person controls

First, setup the environment and add a capsule for the player:


Let’s go over how to publish a game on Play Store.

First, open Player Settings and add a company name, game name and version number. You can here also add an icon for the APK:


Let’s go over how to add Unity ads to the platformer project.

First, open the Services window and enable ads. Enable test mode to be able to test in the inspector:


Let’s go over how to add mobile controls in Unity.

I will amend the Player script first shown in this article.

First, open Package Manager and install Input System:


Let’s go over how to add a simple shop system.

This article will continue to build on the UI and Inventory system from this article.

First, create the shop interface:


Let’s got over how to implement a simple loot system.

In this article I will continue to add functionality to the Enemy script from this article.

First, create two scripts called InventoryManager and UIManager attach both to an empty game object in the scene:


Let’s go over how to set up an enemy that can fire projectiles based on an event triggered by the animation.

This article continues to build on the enemy behaviour from this article.

First, create the projectile by dragging in the first frame of the projectile animation. Set the order layer to ensure it is visible and add a box collider:


Interfaces are great when it comes to adding shared functionally to unrelated objects. For example, both enemies and boxes can be damaged. Another example is NPCs and buttons which both can be interacted with but they have nothing else in common. Let’s go over how to add damage to enemies using an Interface:

I will use the hit box I set up in this article and continue to build on the enemy class from this article.

Create the script for the interface and call it IDamageable:


Let’s go over how to set up patrolling enemies for 2D platformer.

I have previously explained how to set up animation for 2D graphics in these two articles: one and two.

Create an empty game object and drag in the first sprite from the idle animation as a child of the game object. Reset the position on the sprite and make sure that the sprite is on the correct order layer:


Let’s go over how to set up a 2D hitbox for the sword animation.

First, select the player and add a sprite as a child object. Select a suitable sprite and add a box collider to it:

Niklas Bergstrand

Indie Game Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store