Open in app

Sign In

Write

Sign In

Kyle W. Powers
Kyle W. Powers

125 Followers

Home

About

Sep 17, 2021

Enemy Setup — Spider Ranged Attack

In this article, we will create the attack of the Spider. The Spider will fire a ranged acid ball in the direction of the Player when the Player comes within range. The Acid Effect script is attached to the projectile fired by the Spider. It contains a few variables to…

Unity3d

4 min read

Enemy Setup — Spider Ranged Attack
Enemy Setup — Spider Ranged Attack
Unity3d

4 min read


Sep 17, 2021

Enemy Set Up — Attacking

In this article, we will set up the enemies to attack the Player. The enemies will attack the Player when attacked, and they will be able to damage the Player. The enemies are set up similar to the Player in the previous article. They have a Hitbox that is activated…

Unity3d

3 min read

Enemy Set Up — Attacking
Enemy Set Up — Attacking
Unity3d

3 min read


Sep 15, 2021

Player Setup — Damage Interface

In this article, we will add the IDamageable interface to the Player from the previous article. This will allow us to damage the Player with a Trigger-able Collider and play a death animation when out of health. In the Animator for the Player, we make any state transition to the…

Unity3d

3 min read

Player Setup — Damage Interface
Player Setup — Damage Interface
Unity3d

3 min read


Sep 14, 2021

Enemy Set Up — Damage Using an Interface

This article will show how to use an interface to allow the Player to damage and destroy an Enemy. An interface is a script that requires that methods and properties outlined in the interface be implemented when inherited by a class. To have the Enemy show that it has been…

Unity3d

3 min read

Enemy Set Up — Damage Using an Interface
Enemy Set Up — Damage Using an Interface
Unity3d

3 min read


Aug 31, 2021

Abstract Class vs. Interface — C#

This article will cover some of the main differences between an abstract class and an interface in C#. Abstract classes and interfaces are both used to create abstraction. Abstraction in C# is the process of defining the essential details to call operations (i.e., methods) without including the implementation details. Abstract Class vs. Interface These…

Csharp

3 min read

Abstract Class vs. Interface — C#
Abstract Class vs. Interface — C#
Csharp

3 min read


Aug 31, 2021

2D Character Setup in Unity — Attack Hitbox

This article will show how to create a simple Hitbox for the Player’s attack. The Hitbox will be activated and deactivated in the attack animation. It will also use the physics layers, so it does not trigger from the Player. The Hitbox has a Box Collider 2D and Rigidbody 2D…

Unity3d

3 min read

2D Character Setup in Unity —  Attack Hitbox
2D Character Setup in Unity —  Attack Hitbox
Unity3d

3 min read


Aug 27, 2021

Enemy Set Up — Movement

This article will show how to set up an Enemy base class that the other enemies will inherit. One advantage of using inheritance is that it prevents you from writing the same or similar code multiple times in different scripts. All three enemies are inheriting from the same script for…

Unity3d

3 min read

Enemy  Set Up — Movement
Enemy  Set Up — Movement
Unity3d

3 min read


Aug 25, 2021

2D Character Setup in Unity — Attack Animation

This article will show how to set up a sword swing for a 2D character when the Player presses the left mouse button. We will also add an animation for a sword arc effect to make the sword swing more visible. Animator Controller for the Player is set up to…

Unity3d

3 min read

2D Character Setup in Unity — Attack Animation
2D Character Setup in Unity — Attack Animation
Unity3d

3 min read


Aug 23, 2021

2D Character Setup in Unity — Movement

This article will show how to create and set up a 2D character in Unity. The 2D character will be able to move around the screen and jump. The Player script needs a few variables to control the movement of the character. The speed the Player will move at horizontally…

Unity Game Development

3 min read

2D Character Setup in Unity — Movement
2D Character Setup in Unity — Movement
Unity Game Development

3 min read


Aug 4, 2021

Tilemaps and Composite Colliders

This short article will show how to give the Tilemap colliders for the tiles and then use Composite Collider to combine all the individual tile colliders. To give all of the tiles on Tilemap colliders, select the Tilemap and add the Tilemap Collider 2D component. Now all the tiles have…

Unity3d

1 min read

Tilemaps and Composite Colliders
Tilemaps and Composite Colliders
Unity3d

1 min read

Kyle W. Powers

Kyle W. Powers

125 Followers

Unity Developer, Software Engineer, Game Developer

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech