Open in app

Sign In

Write

Sign In

Hernando Nieto Jaramillo
Hernando Nieto Jaramillo

24 Followers

Home

About

Jul 14, 2022

Why to Normalize movement in game dev

After some time in game dev, I found that using Normalize() or normalized was really necessary, but I didn’t understand why. Here a brief explanation. Requirements: You need to know what is: Vector Magnitude Pythagoras theorem Movement in game dev Let’s analyze a 2D movement When the player presses the up button, the object moves…

Gamedev

2 min read

Why to Normalize movement in game dev
Why to Normalize movement in game dev
Gamedev

2 min read


Sep 29, 2021

Organizing your UI for better performance in Unity

Unity suggests to have static Canvas and active (dynamic) Canvas It is due to canvas dirty, it is, when you update the canvas, Unity needs to re draw each UI element If you separate them, you can have static images and text to avoid re drawing them Also it is very important to check Raycast only if the image will be a target For deactivating Canvas, it is better to disable the Canvas component instead of disabling the entire gameobject, it seems to be more efficient

1 min read

Organizing your UI for better performance in Unity
Organizing your UI for better performance in Unity

1 min read


Sep 29, 2021

Basics of Optimization in Unity

Let’s say we put a cube in the scene and attach material which color will be modified in Update()

Unity

3 min read

Basics of Optimization in Unity
Basics of Optimization in Unity
Unity

3 min read


Sep 29, 2021

Optimizing Coroutines

In a game, we can have a GC (Garbage Collection) like this: It’s not so much, but it is better to improve its performance After diving into the EnemyDamage code, we may find this coroutine:

Unity

2 min read

Unity

2 min read


Sep 29, 2021

Using the Unity Profiler

To open the Profiler, you can use Ctrl+7 or While in Play mode:

Unity

2 min read

Using the Unity Profiler
Using the Unity Profiler
Unity

2 min read


Sep 29, 2021

Creating an AWS Manager in Unity

After creating the Asset bundle, it’s time to upload it to AWS S3 Uploading files to AWS S3 Log in into your AWS console and go to S3 Create a new bucket, I’ll call it asset-bundles-ar If you want, you can copy the bucket config from a previous one

Unity

2 min read

Creating an AWS Manager in Unity
Creating an AWS Manager in Unity
Unity

2 min read


Sep 28, 2021

Asset Bundles for Unity

In Unity Manual, Asset Bundle is defined as an archive file that contains platform-specific non-code Assets (such as Models, Textures, Prefabs, Audio clips, and even entire Scenes) that Unity can load at run time. …

Unity

2 min read

Asset Bundles for Unity
Asset Bundles for Unity
Unity

2 min read


Sep 27, 2021

Setup Vuforia with Unity

The Unity version I will use is the 2021.1.22 Register on Vuforia developer webpage Download the Vuforia Unity package here Drag and drop the package into our project. If it asks for updating the package, click on Update Click RMB on hierarchy to create an AR Camera and remove the…

Unity

3 min read

Setup Vuforia with Unity
Setup Vuforia with Unity
Unity

3 min read


Sep 27, 2021

Scriptable Objects in Unity

This is a description of Scriptable objects from Unity Manual — ScriptableObject A ScriptableObject is a data container that you can use to save large amounts of data, independent of class instances. One of the main use cases for ScriptableObjects is to reduce your Project’s memory usage by avoiding copies…

Unity

4 min read

Scriptable Objects in Unity
Scriptable Objects in Unity
Unity

4 min read


Sep 25, 2021

Understanding callbacks

After some years of coding, I found myself watching code with callbacks, and although I practiced several times and watched several videos, I couldn’t understand it well. Today I’ll write this blog in the hope of being useful for others First, we need to see a common example Piece of…

Unity

4 min read

Understanding callbacks
Understanding callbacks
Unity

4 min read

Hernando Nieto Jaramillo

Hernando Nieto Jaramillo

24 Followers

Unity developer

Following
  • Thomas Mauro

    Thomas Mauro

  • Dylan Rider Crow

    Dylan Rider Crow

  • Mohamed Hijazi

    Mohamed Hijazi

  • Erik Andersen

    Erik Andersen

  • Ágoston Romhányi

    Ágoston Romhányi

See all (39)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech