Skip to main content
Participant
November 8, 2017
Question

Mac build: odd black window appears along with the game

  • November 8, 2017
  • 1 reply
  • 217 views

We are able to get our game packaged successfully to Mac and it's working perfectly as it should, but with one big caveat: there's a big popup window that appears on top of it.

See here:

https://drive.google.com/open?id=1cvkVFBFWNF1EF4210N6osD3Id4w66KxH

https://drive.google.com/open?id=1vcdJavL2n_Axyxi2KjXol9-vzofpPj5c

Notes:

- the window can be moved and minimized

- if I close the window, the game closes too

We have successfully packaged our game to Android, PC and iOS. Only this time we see such problems on Mac

Notes about the packaging process:

- the resulting file is in .app extension

- done on a MacMini, if that's relevant

- the adt call:

adt -package -keystore bat/game.p12 -tsa http://sha256timestamp.ws.symantec.com/sha256/timestamp -storetype pkcs12 -target bundle "game" application.xml bin/game.swf bin/data icons

- using AIR 24

- the app xml:

<initialWindow>

<title>game</title>

<content>bin/game.swf</content>

<systemChrome>standard</systemChrome>

<transparent>false</transparent>

<visible>true</visible>

<minimizable>true</minimizable>

<maximizable>true</maximizable>

<resizable>true</resizable>

<renderMode>direct</renderMode>

<depthAndStencil>true</depthAndStencil> <!-- required for 3D -->

</initialWindow>

Does anyone else has this problem packaging to Macs?

This topic has been closed for replies.

1 reply

Participant
November 8, 2017

Got this one!
Apparently I just needed to change this to NONE to make the window go away
<systemChrome>standard</systemChrome>

Now I have another problem.. How do I get rid of the Mac's Menu Bar? My game is supposed to be displayed fullscreen and now some part of it (about 30 pixels high I guess) is blocked by OSX menu bar