Graphics3D 640,480,32,3
SetBuffer BackBuffer()
Global player
Function create_player(EX%,EY%,EZ%)
player=CreateCamera()
PositionEntity player,EX,EY,EZ
End Function
Function update_player()
V#=5
u#=70;
MoveMouse GraphicsWidth()*0.5,GraphicsHeight()*0.5
If KeyDown(200) MoveEntity player,0,0,6
If KeyDown(208) MoveEntity player,0,0,-6
End Function
create_player (1,6,1)
light=CreateLight()
PositionEntity light,0,180,0
pln=CreatePlane()
tex=LoadTexture("texturies/plate.jpg")
EntityTexture pln,tex
Repeat
update_player()
UpdateWorld
RenderWorld
Flip
Until KeyHit(1)
End
Не двигается игрок (((