Day 13 Enemies != move side to side

Austin Bryant
1 min readDec 12, 2020

So today was a short day due to scheduling conflict. I only had a 1/2 day.

I tried to get further down on my list and will probably pickup this weekend so I will update this post later on.

I did manage to get, at the very least, my min/max display for ammo done.

I did get stuck, for the rest of my time today, on creating a way to get the enemy to move differently.

I thought to myself to have the enemy zig-zag on the way down the screen and do this either left or right, randomly. I managed to get them to move with an IEnumerator loop.

However, I’m stuck with this problem. The enemy just moves sporadically from side to side and not in a clean smooth motion.

Thanks to a fellow intern, I found out the loop is going too fast and not waiting long enough before the enemy moves in the other direction.

This weekend I’ll put in the hours to get this method to work.

Update : Saturday Dec 12

I only got a couple of hours in today. I have the enemy object moving a bit more smoothly, but not how I wanted. I will work on caps later to create a range for the enemy to move.

--

--