For every action, there is an equal and opposite reaction — Third Newton’s Law
In the previous article, I reviewed Rigidbodies in Unity. If you haven’t read it, please go ahead and check that first. Rigidbodies are necessary for collisions or triggers to work.
Today, it’s all about colliders, and the two types of collision! Put on your seatbelt because we’re rushing through a highway full of colliders!
Ah, Physics! We meet again…
You have probably seen one of those videos where players play with Ragdolls, props, or any kind of physical object, mostly having fun with certain situations within the game using physics. If you are starting out, learning about the Physics engine is one of the easiest first things you can do!
In this article, I’m going to show you how to use those physical objects for any kind of purpose (except Ragdolls, which they are another different broad topic).
Wow, the previous blog article touched on too many things at once. I need to focus on one topic and keep it simple (stupid). Let’s backtrack.
If you’ve read the “Beginning” article, you’ve seen how fast I developed the project, but you didn’t get to see most of the steps and choices I made that got me to that point.
That being said, I am stepping back to the early prototype phase, and the next articles will be focused on every implementation I made to this project until we reach the same progress point as the first article. After all…
You are playing a multiplayer game, you are winning and you have a nice kill streak. Suddenly, a player pops out of existence behind you, and ends that streak. You curse at the badly positioned respawn positions and the manager handling it.
As all games, they all count with a functionality to spawn or despawn certain elements in levels. Unity has two built-in methods that will let you do this in any script.
With a given GameObject or Component as a reference, Instantiate will clone that and conserve its properties and values.
This method counts with an amount of overloads…
This is quite funny. The first project I did to learn how to code was also a 2D Space Shooter. It brings me fun memories of me struggling to use Unity and C#.
Today, I am starting a new Unity project, following the 2D Course from the GameDevHQ Unity Program.
Don’t you just hate getting stuck writing code? Seems pretty easy at first, just keep coding and iterating to get results. But, by the time you finally get your code working, you realize you’ve spent too much time on one thing.
That’s a beginner’s error.
Pseudo Code helps deconstruct functionality in your mind or a document (say a Game Designer hands you a document with a list of features that needs to be implemented), and translate it into lines of code.
We are working as a team. You are the lead programmer, and I am the lead game designer. I…
You open up your wardrobe, and you see your clothes on hangers. Trousers, jackets, coats, suits… and each are all separated between different hangers.
A hanger is not that different from a variable.
Variables are data containers, which allow us to hold or change data, reference and use them in any software application. These variables can be of different types, all referenced with different names, so we can clearly understand what kind of variable are them and what functionality we want to give them.
The most common variable types are:
In this article, we’ll quickly look at some ways to move our objects in our scenes.
It’s time for you to get adjusted to the editor’s interface. You’ll spend many hours managing each editor window, looking through different tools, and searching for your personal assets, so you may as well fit the editor’s layout to your needs.
As far as I can remember, I was always amazed by videogames. “How could just one cartridge or CD hold all that fun content? How were they even made?” — I wondered one day. Since that day, it was clear that I always wanted to be a game developer.
Hello everyone! Today, I’m writing the steps on how to download the Unity Engine, a worldwide known free game engine, where you can start your own journey developing games. Unity has been used to create incredible games, and it’s even used for animation, films, and other software applications!
If you’re serious…
I am a recently graduated Game Designer with strong knowledge of the Unity Engine! You can check my game “Noise Hunters” on Steam!