I am making a short game but i need to make a menu and an options for controls, im good at making movement and controls but a menu seems too hard. I don't know if this helps, but here is my game so far:
Graphics3D 800,600
SetBuffer=BackBuffer()
camera = CreateCamera()
light = CreateLight()
Sphere = CreateSphere(32)
PositionEntity sphere,0,0,5
ScaleEntity sphere,0.5,0.5,0.5
EntityColor sphere,233,33,183
cone = CreateCone(32)
PositionEntity cone,0,0,5
ScaleEntity cone,0.5,0.5,0.5
EntityColor cone,255,0,0
While Not KeyDown(1)
If KeyDown(200) Then TranslateEntity sphere,0,0.1,0
If KeyDown(205) Then TranslateEntity sphere,0.1,0,0
If KeyDown(203) Then TranslateEntity sphere,-0.1,0,0
If KeyDown(208) Then TranslateEntity sphere,0,-0.1,0
If KeyDown(22) Then TranslateEntity cone,0,0.1,0
If KeyDown(37) Then TranslateEntity cone,0.1,0,0
If KeyDown(35) Then TranslateEntity cone,-0.1,0,0
If KeyDown(36) Then TranslateEntity cone,0,-0.1,0
UpdateWorld
RenderWorld
Flip
Wend
End
|