Another code problem

BlitzPlus Forums/BlitzPlus Beginners Area/Another code problem

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.

hmm, I am not a big type user too , cuz i am old school and use dim command instead.

I looked at your code and I changed it to this then it didn't generate an error

If KeyDown(LEFTKEY)
For player.player = Each player
player\x=player\x-player\speed
Next
EndIf
If KeyDown(RIGHTKEY) Then
For player.player = Each player
player\x=player\x+player\speed
Next
If KeyDown(SPACE) Then
For shot.Projectile = Each Projectile
shot\y=shot\y+100
Next
EndIf
EndIf

hope this helps c ya:)