Fullscreen issue, application rejected on BFG

Archives Forums/MacOS X Discussion/Fullscreen issue, application rejected on BFG

Ravl(Posted 2012) [#1]
My game has been rejected on BFG QA because of the following issue:

This issue is a bit more tricky as it is hardware specific and has only been seen to occur on OS 10.5 and 10.6.

- the cursor is blinking.

- The second part of this is that the entire screen is faded – but only when running in full-screen mode. Once changed to windowed mode, the game displays normally.


So, I made a very simple application (I just render 3 images) in order to test on their machines. here it is the code:


Local desktopVideoX:Int
Local desktopVideoY:Int

'images
Local image1:TImage
Local image2:TImage
Local image3:TImage

SetGraphicsDriver GLMax2DDriver()
desktopVideoX = DesktopWidth()
desktopVideoY = DesktopHeight()

Graphics desktopVideoX, desktopVideoY, 1

image1 = LoadImage("images\back.jpg", 0)
image2 = LoadImage("images\1.png", 0)
image3 = LoadImage("images\logo.png", 0)

While Not KeyHit(KEY_ESCAPE)
	Cls
	
		DrawImage (image1, 0, 0)
		DrawImage (image2, 120, 120)
		DrawImage (image3, 0, 0)
	
	Flip
Wend

EndGraphics
End



I just copy-paste the 'game' code. DesktopWidth() and DesktopHeight() are 2 functions I found here on forums. they are used to see what resolution is setted on that Mac.

The issues are still present. ONLY in fullscreen the cursor is blinking and they said all the images are faded. Any of you have these issues? I am sure many of you released games on BFG-MacOS. Can anyone help me?

Here are their affected systems/machines:

Mac Mini:
OS: 10.6.8
Resolution: 1920x1080
Video RAM: 256 MB
Video Card: Nvidia GeForce 320M

iMac (this particular iMac has both 10.5 and 10.6 installed on two partitions):
OS: 10.5.8 and 10.6.8
Resolution: 1680 x 1050
Video RAM: 128 MB
Video Card: ATI Radeon HD 2400

Second iMac (this model is newer with a better video card):
OS: 10.6.8
Resolution: 1920 x 1080
Video RAM: 256 MB
Video Card: ATI Radeon HD 4670


skidracer(Posted 2012) [#2]
Why are you setting the bit depth of your graphics display to 1?


jkrankie(Posted 2012) [#3]
Yeah, you'll likely want either 0 or 32 there.

Cheers
Charlie


Ravl(Posted 2012) [#4]
yes. me very stupid :))

I thought = window mode and 1 = fullscreen.

Thanks


AdamStrange(Posted 2012) [#5]
in lion/mountain lion there is also the new fullscreen mode which switches a window to the new fullscreen mode.

This is shown by a small double headed arrow icon in the top right of the title bar.

this is also executed sometimes from the menu or when ctrl+cmd+f is pressed!