maplet into bltiz3d

Blitz3D Forums/Blitz3D Beginners Area/maplet into bltiz3d

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.

Ok the file name is correct and the demo version of quill3d
I down loaded can load it so whay cant I get the following code to work in blitz3d


Graphics3D 800,600

SetBuffer BackBuffer()

camera=CreateCamera()
CameraViewport camera,0,0,800,600

light=CreateLight()

castle=LoadMesh( "castle.3bd" )
RotateEntity castle,0,90,0

While Not KeyHit(1)

If KeyDown(200) Then
MoveEntity camera,0,0,1
EndIf

If KeyDown(208) Then
MoveEntity camera,0,0,-1
EndIf

If KeyDown(203) Then
TurnEntity camera,0,1.0,0
EndIf

If KeyDown(205) Then
TurnEntity camera,0,-1.0,0
EndIf

UpdateWorld
RenderWorld

Text 335,500,"Camera Movement"

Flip

Wend




thanks