For...Next help

Blitz3D Forums/Blitz3D Programming/For...Next help

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

hey all, i am having some trouble with a small game i am trying to make. it consists of one space ship(player) which starts at the bottom middle of the screen. it is controlled with the arrow keys. you shoot with space. the enemies pretty much fly around until they get near the player. then the start shooting at and following you. here is my problem. when i have one enemy, everything is fine. but when i put a for next loop around th CreateEnemy() command, the player's bullets start moving super fast. can someone help me solve this issue?

ps u might have to change the Graphics 1280,1024,0,2 to a lower resolution.

Here is the source code
Source


thnx