variable type mismatch????

BlitzPlus Forums/BlitzPlus Beginners Area/variable type mismatch????

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.

You always draw the last bullet created. Go through each of them in a for each loop instead.
For b.bullet = Each bullet
DrawImage bullet, b\x, b\y
Next 

Also you don't need this
If bulleton

Maybe you should change
bullet.bullet = New bullet
bullet\x = player\x - 10
bullet\y = player\y - 10

to
b.bullet = New bullet
b\x = player\x - 10
b\y = player\y - 10

As it could confuse the compiler