help with imagecollision pls

Blitz3D Forums/Blitz3D Beginners Area/help with imagecollision pls

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.

Because you have a typo in your code, probably from copying and pasting existing code. You have:
Global bat2.bat=New bat
bat2\frame=0
bat2\x=40
bat2\y=60
bat2\gfx=gfx_bat
bat2\lft =0
bat2\up =0
bat2\alive=1
bat1\id =2
bat1\xmax =40
bat1\ymax =220
bat1\xmin =40
bat1\ymin=60


when it should be:

Global bat2.bat=New bat
bat2\frame=0
bat2\x=40
bat2\y=60
bat2\gfx=gfx_bat
bat2\lft =0
bat2\up =0
bat2\alive=1
bat2\id =2
bat2\xmax =40
bat2\ymax =220
bat2\xmin =40
bat2\ymin=60


It's a common mistake. :)