collision detection...laggy game?

BlitzMax Modules Forums/MiniB3D/collision detection...laggy game?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

hi. i posted in the beginners forum but just realized that this post might be more relevant to the minib3d forum. i'm creating a space shooter game. here is a link to my code:

www.mytempdir.com/1300200
download password: bmax

if you hold down spacebar and move around a bit...every few seconds or so the game crashes for a split second. any ideas?

if anyone can help w/the freezing issue/can tell me a way to speed up the collision detection, thanks in advance! (i know absolutely zero about collisions and have never used blitz3d)