Hi, I'm new to blitz, I'm current;y working on my 3rd blitz game and I am trying to make it one of my finest. My problem is when I hit the spacebar the bullet appears for about half a second I think it has somethinf to do with this line
If KeyHit(57) And hpistol = 1 And pistol\ammo > 0
b.bullet = New bullet
b\x = pistol\x
b\y = pistol\y
pistol\ammo = pistol\ammo - 1
b\x = b\x + 1
DrawImage(ibullet,b\x,b\y)
If pistol\ammo <= 0
pistol\ammo = 0
EndIf
EndIf
Can some one help me?
If KeyHit(57) And hpistol = 1 And pistol\ammo > 0
b.bullet = New bullet
b\x = pistol\x
b\y = pistol\y
pistol\ammo = pistol\ammo - 1
b\x = b\x + 1
DrawImage(ibullet,b\x,b\y)
If pistol\ammo <= 0
pistol\ammo = 0
EndIf
EndIf
Can some one help me?