F
Flagolet
Guest
Hi there. Newby in coding here
I would like to know some ways to code an enemy shot so the enemy bullet acts this way : My player is in a linear motion, and when the enemy shoots, the bullets of the enemy will have a certain direction and a certain speed so the bullets will colide with the player if the player keeps going in the same direction at the same speed.
Sorry if it's confusing, I don't speak a pretty good english.
For those who played "Enter The Gungeon", I'm talking about how to mimic the bullet-veterans shots. (these shots aims the future location of the player)
Thanks for those who will take the time to respond, and cheers ;-)
I would like to know some ways to code an enemy shot so the enemy bullet acts this way : My player is in a linear motion, and when the enemy shoots, the bullets of the enemy will have a certain direction and a certain speed so the bullets will colide with the player if the player keeps going in the same direction at the same speed.
Sorry if it's confusing, I don't speak a pretty good english.
For those who played "Enter The Gungeon", I'm talking about how to mimic the bullet-veterans shots. (these shots aims the future location of the player)
Thanks for those who will take the time to respond, and cheers ;-)