01-06-2004, 07:32 AM
I'm making enemies in my game have primitive AI, so that they follow you.
But for some reason (and I've debugged and debugged and debugged) they never move.
There are very many important aspects of my code that relate to the actual moveEnemies subroutine, so I've posted my code here:
http://www.thegeekery.org/MAIN.zip
The problem is in the moveEnemies procedure, I believe. For some reason, it isn't moving my the enemies.
Although this could just be a stupid error on my part, but you can never tell. :wink:
But for some reason (and I've debugged and debugged and debugged) they never move.
There are very many important aspects of my code that relate to the actual moveEnemies subroutine, so I've posted my code here:
http://www.thegeekery.org/MAIN.zip
The problem is in the moveEnemies procedure, I believe. For some reason, it isn't moving my the enemies.
Although this could just be a stupid error on my part, but you can never tell. :wink: