Mac OS X: Where should I store save games for a game delivered as a bundle?

后端 未结 3 1952
隐瞒了意图╮
隐瞒了意图╮ 2021-01-07 03:06

I\'m porting a windows game to Mac OS X. I was wondering where I should store game data such as saved games, user profiles, etc and how I can retrieve that path programmatic

3条回答
  •  梦谈多话
    2021-01-07 03:44

    I know you've already accepted an answer, but let me file a complaint about the previous answers: ~/Library/Application Support is not one of the places non-technical users will look for data files. You might want to at least consider putting them in a new folder in the Documents directory; i.e., ~/Documents/MyGame.

提交回复
热议问题