Блин пишет Expecting end-of-file.
Вот код:
Graphics3D*800,600,16,2
SetBuffer*BackBuffer()
player*=*CreateSphere()
cam*=*CreateCamera(player)
enemy*=*CreateCube()
PositionEntity*enemy,0,0,20
stepsound*=*LoadSound("exp.wav")
While*Not*KeyHit(1)
If*KeyHit(200)*Then
MoveEntity*player,0,0,0.1
If*EntityY#(player)*>*40*Then
EntityY#(player)*=*40
Else*If*EntityX#(player)*>*40*Then
EntityX#(player)*=*40
Else
PlaySound(stepsound)
EndIf
EndIf
If*KeyHit(208)*Then
MoveEntity*player,0,0,-0.1
If*EntityY#(player)*<*0*Then
EntityY#(player)*=*0
Else*If*EntityX#(player)*<*0*Then
EntityX#(player)*=*0
Else
PlaySound(stepsound)
EndIf
EndIf
If*KeyDown(203)*Then*TurnEntity*player,0,1,0
If*KeyDown(205)*Then*TurnEntity*player,0,-1,0
RenderWorld()
UpdateWorld()
Flip
Wend
End