From Prototype to Work of Art

George Asiedu
Oct 22, 2022

We now have the basic gameplay for the game sorted. now would be a good time to replace some of the components with actual game art instead of boxes.

we started with a cube game object which we had the player script attached to it. Ill swap out the cup for a 2D ship from GamedevHQ library

it will carry the same behaviour with the player script attached to it. We will also have to add 2D components to our gameobjects to get the collisions working again.

this and a “Rigidbody 2D” component will be added to our enemy prefab to make sure our code is working properly. Editing the collider will be necessary on both gameobjects.

updating our enemy script to recognise that we are using sprites/2D elements.