There seems to be a problem when compiling for fullscreen with monkey on OSX 10.6.8 I have cobbled together a test so people can see what I mean. From the code I get the bottom left of the window the rest is off the top and right of the screen.
'
' Test for monkey
'
'
#GLFW_WINDOW_WIDTH = 1024
#GLFW_WINDOW_HEIGHT = 768
#GLFW_WINDOW_TITLE = "Monkey Test"
#GLFW_WINDOW_FULLSCREEN = True 'change this line to false to see it perfect in windowed
#GLFW_WINDOW_RESIZABLE =False
#GLFW_USE_MINGW =True
Import mojo
Function Main()
New AppClass
End
Class AppClass Extends App
Method OnCreate()
SetUpdateRate( 60 )
End
Method OnUpdate()
If KeyDown( KEY_ESCAPE ) Error ""
End
Method OnRender()
Cls
DrawRect( 0, 0, DeviceWidth(), 10 )
DrawRect( 0, 0, 10, DeviceHeight() )
DrawRect( DeviceWidth()-10, 0, 10, DeviceHeight() )
DrawRect( 0, DeviceHeight() -10, DeviceWidth(), 10 )
End
End
|