Firing

Blitz3D Forums/Blitz3D Beginners Area/Firing

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.

Here's the "test area":

Graphics3D 640,480,16,1

Type bullet
Field b,time,bull
End Type

Global time=100
cam=CreateCamera()
PositionEntity cam,0,1,1
CameraClsColor cam,0,200,255

gun=CreateCube()
PositionEntity gun,5,-1,10
ScaleEntity gun,0.5,0.5,2.5
TurnEntity gun,0,90,0
EntityColor gun,20,20,20

ground=CreateCube()
ScaleEntity ground,30,0.5,30
PositionEntity ground,0,-2,10

b=CreateCylinder()
ScaleEntity b,0.1,0.1,0.1
TurnEntity b,90,90,0
HideEntity b

l=CreateLight()
TurnEntity l,45,45,0

While Not KeyHit(1)

UpdateWorld
RenderWorld
Flip
Wend

End



edit:Help!