Enemy Launch At Player
I have an enemy in my game that will simply launch itself at the player like a missile. The problem is, I'm not sure how to make it shoot itself at the player without acting like a homing missile. It should go in a strait line until it goes off screen. I also don't want it to point at the actor because of the side-scroller view of the game (the enemy will be upside down in certain directions). Can someone help me?
Comments
Can you summarize what it is you're looking to achieve in a few words? Like, I need a bullet to travel from the right side to off screen left side, x axis.
Put a rule on the enemy to accelerate or move or change velocity or something like that to the players X,Y position. This will make the enemy "shoot" at the player.
@DrGlickert I'll try this, but I read that it doesn't work.
im no sous chef, but im guessing if its a top down or platformer kind of game, cant you just put it so that when the player is so close, play jump animation, then accelerate in X direction for x seconds?
@DrGlickert As expected, that didn't work. The enemy follows the player around.
theres 900 million other characters i could have talked about like the guys who run at you then slide, or whatever. but its the same idea, they walk then propel twords you