i'm making a shooter type game. what is a good way to make it so that an enemy sprite is "shooting" at you??? i know how to do the lives and the hit things and all that. i also have my weapons worked out. i'm worried about visiul and the actual "bullets"/"lasers" "moving" at me.
Offline
Hi! (click the link).
Offline
jon182 wrote:
thx but i meant how can i get an enemy to shoot at me. i already am shooting.
Well, keep checking it's distance to the player sprite, and if it's less than a certain number, put thos scripts that are in the player bullet sprite to the AI bullet sprite
Offline