Quantcast
Channel: Questions in topic: "left"
Viewing all articles
Browse latest Browse all 135

Enemy moving left towards player.

$
0
0
I'm very new to Unity and coding, so I appreciate your patience. I'm creating a 2D sidescroller where the character is always stationary on the left side of the screen. You have to use gesture attacks to prevent spawning enemies from getting to your character. I've set up a spawner just outside of the screen towards the right and am hoping to figure out how to get the enemies that spawn there to simply move left towards the stationary protagonist. If they reach the protagonist, it's game over. Can anyone help guide me? I've tried many different techniques but keep getting errors. I appreciate your help!

Viewing all articles
Browse latest Browse all 135

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>