Prototype to Production — Adding Art Assets!
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.
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!
That’s all for the player, but do the laser and enemy too or nothing will work!
NOTE: on the Enemy Script:
must be changed to
as well as the other changes.