I'm working on a Fighters 1945 remake this week. I've racked my brain on why this code doesn't work. (The whole code is probably about 10 pages so I'm not showing it unless absolutely nessessary.) This is only a collision test between missiles (gun\ ___ ) and the enemy ships (evil\ ___ ).
The problem is there is not collision detection. (Obviously because it should end the program.)
Thanks in advance
If evil <> Null And gun <> Null For evil.enemy1 = Each enemy1 If ImagesCollide(gun\file,gun\x,gun\y,0,evil\file,evil\x,evil\y,evil\frame) End End If Next End If
The problem is there is not collision detection. (Obviously because it should end the program.)
Thanks in advance