Prototype to Production — Adding Art Assets!

Jack Leavey
2 min readMay 27, 2022
The addition of art assets makes a staggering difference in quality.

Now that the core prototype is complete, it is time to add some visuals for the project. Using FileBase I procured a variety of space assets to utilize for this project!

Once the assets are in the project folder, it is time to rebuild the pieces using the new art. I will show you how to rebuild the player, but the enemy and laser prefabs will need to have the same treatment done to them.

First off, I select my player art piece and drag it into the Hierarchy.

I attach the player script to it, and I retag it as Player.

Don’t forget your tags!

Next, I add a collider2D to the Player. As this model is a sprite, it is vital that the collider is 2D!

Make sure the collider lines up with the correct visuals. No one likes bad hitboxes!

A box collider works fine for our ship, the collider doesn’t have to be perfectly matched the the model.

That’s all for the player, but do the laser and enemy too or nothing will work!

NOTE: on the Enemy Script:

OnCollisionEnter(Collider other)

must be changed to

OnCollisionEnter2D(Collider2D other)

as well as the other changes.

--

--

Jack Leavey

I am a software engineer with years of experience branching into game development, specifically in Unity. Follow along for guides on creating game mechanics!