Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Any people using Mac OS X willing to help with my game?

Discussion in 'General Discussion' started by Hardynist, Feb 28, 2015.

  1. Hardynist

    Hardynist

    Joined:
    Sep 27, 2012
    Posts:
    16
    I want to publish my game on Desura, but first I have to decide what platforms will be supported. I have tested it on Windows and Linux, but I don't have access to any Mac computer. It would be great, if somebody with Mac could try to run the game and confirm whether it works or not.

    I have no idea how the files/folders should be structured, so I just zipped everything Unity's builder made for me. I'm not sure if zipping everything is enough to publish on Desura, though. For example, it seems odd to me that the file which is used to launch the game got placed in MacOS folder while on Windows it's placed in main directory. Here's the link: https://drive.google.com/file/d/0B27v8MtZiMoqRVdvWnBwYkpjWms/view?usp=sharing

    To start the game, you should click one of the portraits (see the image below) and then click 'Tutorial'. When tutorial started we may assume the game is working, so there's no more testing needed. I am only curious if shadows work on Mac. They work on Windows, but no shadows on Linux (I use Unity free).



    The other important thing for me is to know whether game's window is resizable or if it's possible to go full screen. The game should be played only under fixed resolution of 800x600 right now, so I unchecked 'Resizable Window' doing that build. However, game's window seems always resizable on linux. I reported it as a bug, but I am curious if you can prevent going full screen on Mac. The image below shows the game running under Windows:

     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,398
    OS X uses app bundles, which display the folder as if it was a file. This way the user doesn't need to deal with separate executables and folders; it all appears as just one thing.

    Screen Shot 2015-02-28 at 1.07.17 PM.png

    Anyway, it seems to run fine (although it needs to be called something other than "game" ;) ), and there are shadows.

    It's possible to go full-screen. I don't think it's possible to prevent this, maybe aside from checking every frame whether it's full-screen and then switching it back. However I would very strongly recommend not hard-coding for any particular resolution or aspect ratio in the first place. Someone using a 5K iMac is not going to like playing in a tiny postage-stamp sized window.

    --Eric
     
    Hardynist likes this.
  3. orb

    orb

    Joined:
    Nov 24, 2010
    Posts:
    3,033
    It doesn't even run for me right out of the archive, because the permissions are wrong on the actual binary. This is on Yosemite.

    It's probably best to do the exporting on a Mac to ensure the permissions are alright. I've had many issues with archives originating on Windows, so I avoid that. The best would probably to have a Mac partner just for the builds and basic compatibility testing.

    Making it work in all 16:9 and 16:10 resolutions is highly recommended ;)
     
  4. r618

    r618

    Joined:
    Jan 19, 2009
    Posts:
    1,270
    no, it runs, you just don't know how to run it
    binaries downloaded form the net and not signed by active distribution certificate can be run by right clicking and selecting open
    or adjust gatekeeper settings to permit running them by default (not recommended)
     
  5. orb

    orb

    Joined:
    Nov 24, 2010
    Posts:
    3,033
    I know how to run them ;)

    It reported an error in the logs, which I looked up in Console:
    After a chmod 755 it ran fine.

    I'm a developer. My GateKeeper is set to off :)
     
  6. r618

    r618

    Joined:
    Jan 19, 2009
    Posts:
    1,270
    that's strange then, i downloaded and run it without chmoding anything
    btw don't leave your gatekeeper completely off ( if necessary it's possible to drop permissions, run an app and set them back - the OS remembers the binary run like this and next time it allows to run it )
     
  7. r618

    r618

    Joined:
    Jan 19, 2009
    Posts:
    1,270
    oh and btw - the graphics and artwork are from an old/er RTS which name I forgot
    but they are identical (maybe it went free/oss with permission to reuse artwork, but i doubt it)
     
  8. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,398
    No permissions error here (Mavericks); it's already set to 755 after unzipping.

    --Eric
     
  9. orb

    orb

    Joined:
    Nov 24, 2010
    Posts:
    3,033
    I think it depends on the tool set to unpack, which varies from user to user (some want RAR, 7zip etc. support). Which is why it's recommended to package on a Mac as a DMG for self-distribution.

    Also, I know what I'm doing with regard to GateKeeper ;)
     
  10. r618

    r618

    Joined:
    Jan 19, 2009
    Posts:
    1,270
    i don't know how different un/packers handle permissions, but i had never problem running downloaded zipped app bundle unpacked using default os x compress/archiver
     
  11. r618

    r618

    Joined:
    Jan 19, 2009
    Posts:
    1,270