ammo & music

Blitz3D Forums/Blitz3D Beginners Area/ammo & music

bullet=LoadSprite("shot1.bmp")
ScaleSprite bullet,26,26
EntityRadius bullet,13
HideEntity bullet
EntityType bullet,playerbullet 



and

Type playerbullet
Field x,y,z
Field entity,alpha#
End Type 



and

If KeyDown (57) Then
PlaySound laser
p1.playerbullet=New playerbullet
	p1\entity=CopyEntity(bullet,fighter)
	EntityParent p1\entity,0
	TurnEntity p1\entity,0,270,0
	MoveEntity p1\entity,150,-60,0
	p1\alpha=1
EndIf 


is how i got the bullets to exist, but iv only had b3d 4 a few weeks so i dont no how to make them move (il stik 2 that 4 now)