Graphics3D 640,480
SetBuffer BackBuffer()
cam=createcamera()
box=createcube()
moveentity cam,0,0,-300
light=CreateLight()
RotateEntity light,90,0,0
; Load texture
t1=loadtexture ("model\stage1\a.tga",2)
;load mesh
m1=loadanimmesh("model\stage1\1.b3d",box) :animate m1,1,1 ;<------- not animate
m2=loadmesh("model\stage1\1.b3d",box)
;moveentity m1,0,0,10:rotateentity m1,0,180,0
;moveentity m2,0,0,10:rotateentity m2,0,180,0
entitytexture m1,t1
entitytexture m2,t1
While Not KeyHit(1); Or out_check=True
UpdateWorld
RenderWorld
Flip
Wend
End
------------------------------
some one help me?
SetBuffer BackBuffer()
cam=createcamera()
box=createcube()
moveentity cam,0,0,-300
light=CreateLight()
RotateEntity light,90,0,0
; Load texture
t1=loadtexture ("model\stage1\a.tga",2)
;load mesh
m1=loadanimmesh("model\stage1\1.b3d",box) :animate m1,1,1 ;<------- not animate
m2=loadmesh("model\stage1\1.b3d",box)
;moveentity m1,0,0,10:rotateentity m1,0,180,0
;moveentity m2,0,0,10:rotateentity m2,0,180,0
entitytexture m1,t1
entitytexture m2,t1
While Not KeyHit(1); Or out_check=True
UpdateWorld
RenderWorld
Flip
Wend
End
------------------------------
some one help me?