The Prototype — Evolved!

Kenneth Skodje
2 min readMar 26, 2021

--

Better than a simple cube, right?

With the prototyping is done, it was time to make it look nice.

With the 3D and 2D physics systems not playing together, at all, I’ve swapped out the cubes and capsule lasers for sprites. This change also meant I had to make some alterations to the scripts and components, switching from 3D to 2D variants.

Keeping in mind that I had to re-do the settings for them as well, to avoid having the enemies zoom past the player faster and faster, and allow them to register the hits.

Danger Danger!

Next, I made sure the enemies can do more than just ram into the player. By giving them lasers of their own they now pose a bigger threat to the player 😁

The enemies use the same cooldown system I made for the player. The wonders of programming and reusability of code! I made two variants, a single laser one, and a dual laser version.

But we can’t have the enemy have cooler lasers than the player!
I placed three lasers, made a parent gameobject for them, and turned that into a new prefab. Voila! The triple-shot was born.
This laser is something the player will be able to get by collecting a powerup.

Short and sweet, hope to see you again.

--

--

No responses yet