Member-only story

Boss Fight Implementation Part I: Basic Setup in Unity2D

Jared Amlin
6 min readOct 11, 2021

Now that I have some art assets for my new boss Anglerfish, my objective for this article is to bring the boss into the Unity-verse and get it battle ready.

After setting the Texture Type on the new PNG assets to be Sprite (2D and UI), I drag the Anglerfish body and jaw assets into the scene view.

Both sprites are automatically centered to the screen, so I need to change the position of the jaw asset, and assign it’s Sorting Layer to be 1, so it appears on top of the body.

That looks much better already!

I want to rotate the jaw asset to open, so for this to look correct, I need to change the pivot point on the sprite. By default, sprites will rotate from their center position. The Sprite Editor can be downloaded from the Unity’s Package Manager, and then the pivot point

--

--

Jared Amlin
Jared Amlin

Written by Jared Amlin

I am an artist and musician, that is currently diving headfirst into game development with C# and Unity3D.

No responses yet