Objective: create a following camera by using Cinemachine.
We have used Cinemachine virtual camera to make some cutscene. This time we will use it to replace the game camera to follow Player.
In this article, we will set a Cinemachine camera as main camera and adjust the rotating issue of Player.
Create a virtual camera into scene. If you have no Cinemachine drop down menu from the top, you may install it from Package Manager.
Objective: bundle the whole platform with ledge checker system into a prefab.
If we want to keep using the ledge grabbing system in game, create a prefab would be necessary. However, to copy the system without any bug require some adjustment.
In this article, we will create a perfect functional ledge grabbing system prefab.
The most important thing to prevent bug is fix the static Vector3 data. So far we use a specific Vector3 value as snapping position and standing position.
To fix this issue, we can create 2 empty gameobject to storage the position.
Objective: create the function of climb up from ledge with gameobject reposition.
After we successfully grabbing on the ledge, the next part we need to finish is to climb up that platform.
In this article, we will make Player climb up that platform to complete this action.
When you download the climb up animation and import it to Player, you might notice that animation model and Player gameobject has pulled apart when the animation got played.
Objective: create ledge grabbing animation.
Ledge grabbing is a key action to performance the perfect timing of player control.
In this article, we would create a ledge grabbing animation transition.
The progress of ledge grabbing could be in 3 parts:
First, we need a hanging animation to do this part.
Select a proper hanging animation from Mixamo and import it to Player. Then we can enable it with a new bool parameter in Animator to hold the animation. …
Objective: assign different animation to movements.
In this article we will add animations to Player. Animation would bring the Player comes to live.
However, create a new animation is not easy. Luckily, we can use Mixamo to import lots of awesome animations to characters. And also, we will create the animation switching condition in animator component to create a smooth action in game.
Objective: quick guide of importing assets from Filebase of GameDevHQ.
Filebase is a assets database provides by GameDevHQ. There are tons of assets that you could import to your Unity project. If you are taking courses on GameDevHQ, the assets can help you to build an outstanding game with beautiful objects.
To use Filebase, you need to make sure get the access to the community of GameDevHQ. Inside the community tab, there should have a Filebase section on the left.
Objective: quick guide of upgrading Unity project to URP.
The Universal Render Pipeline of Unity is a package that could improve the rendering textures. You can easily access this package in Unity.
In this article we will go through the process of upgrading project to URP.
If you open a game project that require URP yet have not installed in your Unity, you might found the model in project would look like this.
Objective: pushing objects in Unity.
Solving puzzles is a big goal in platformer game, and pushing objects is one of the action option to it.
In this article, we will create the function of pushing the object.
The pushing in our game would use the same function of wall jumping, by using OnControllerColliderHit().
First thing we need to do is creating a new tab and use it to the cube we are going to push.
Objective: create wall jumping function.
Wall jump, a stylish skill that you need to be talented to do it well in the first time of playing platformer game. It is also a movement type that requires some understanding to create.
In this article, we will create the wall jump ability to Player.
To start wall jumping, we need to figure out what should make our Player jumping on the wall.
The basic of wall jumping is when Player touched the wall and jumped, it should move towards the opposite of the wall. …
Objective: create a functional elevator with calling panel.
Today’s article, we will create an elevator with calling panel.
Elevator in games would be more like a rest stop to me. It usually about level switching, or a saving point.
To create an elevator, it will contain 2 parts:
The first thing to do on panel is to create a script and attach to it. Inside the script, we will get the reference of panel button.
A passionate gamer whose goal is to work in video game development.