Tryin Ryan
Member
Hi, I'm trying to make a 3D doom-like game in GMS 1.4.
So far, I can make enemies shoot a projectile at the player's X and Y co-ordinates fine, but I cannot figure out how to make the enemy shoot at the player's Z co-ordinate. For example, if the player is higher than the enemy, the enemy will shoot up toward the player.
I've tried testing several ideas, and I've tried looking through the forums for a solution, but I've had no luck.
So far, I can make enemies shoot a projectile at the player's X and Y co-ordinates fine, but I cannot figure out how to make the enemy shoot at the player's Z co-ordinate. For example, if the player is higher than the enemy, the enemy will shoot up toward the player.
I've tried testing several ideas, and I've tried looking through the forums for a solution, but I've had no luck.