Day 3: The Enemy

Today I was able to get my enemy in the game. I got the laser to destroy the enemy using OnTriggerEnter(). This is also used to damage the player when the enemy hits them.

The enemy will also go to the bottom and if not destroyed get moved back to a random spot along the x-axis and fall again.

I am delighted with my progress and I am having such a great time. I look forward to the time I spend working on this and can’t wait to get started each day.



Game Developer and Programmer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store