use [ code ] and [ /code]
But your collision check doesn't make sense to me.
You must mean
Function updatebullets() For b.bullet = Each bullet MoveEntity b\image, 0, 0, .5 ;move the bullet EntityParent b\image, 0 ;Delete bullet If EntityCollided(level,bullet_col) Then FreeEntity b\image Delete b End If Next End Function
But your collision check doesn't make sense to me.
You must mean
Function updatebullets() For b.bullet = Each bullet MoveEntity b\image, 0, 0, .5 ;move the bullet EntityParent b\image, 0 ;Delete bullet If EntityCollided(b\image,level) Then FreeEntity b\image Delete b End If Next End Function