Getting Stuck in new game
Hey everyone does anyone know if there's a way to get an enemy to shoot at the direction that the player is at, at the time of the shot?
Also is their a way to set up a high score system? I'm guessing this would have something to do with tables?
Also is their a way to set up a high score system? I'm guessing this would have something to do with tables?
Answers
Direction= vectortoangle(game.playerX-self.positionX, game.playerY-self.positionY)