【问题标题】:Game menu in iOSiOS中的游戏菜单
【发布时间】:2013-01-25 00:58:23
【问题描述】:

如果我的游戏视图是 GLKViewController,那么创建游戏菜单的最佳方式是什么?

如果我使用 XCode (iOS >= 5) 中可用的 OpenGL 游戏模板创建一个测试应用程序,我可以添加一个导航控制器,创建一个 UIViewController 作为游戏菜单并添加一个按钮 New Game 例如转到我的 GLKViewController,如果您按照这些步骤操作,运行应用程序,单击 New Game 按钮,看到两个旋转的立方体并单击 Back,您将看到相同的屏幕,需要再次单击返回才能返回 Game Menu。在此过程中记录以下错误:

2013-01-24 22:35:18.781 test1[640:907] nested push animation can result in corrupted navigation bar
2013-01-24 22:35:19.221 test1[640:907] Finishing up a navigation transition in an unexpected state. Navigation Bar subview tree might get corrupted.
2013-01-24 22:35:19.226 test1[640:907] Unbalanced calls to begin/end appearance transitions for <TestViewController: 0x1d836880>.
2013-01-24 22:35:33.689 test1[640:907] nested push animation can result in corrupted navigation bar
2013-01-24 22:35:34.079 test1[640:907] Finishing up a navigation transition in an unexpected state. Navigation Bar subview tree might get corrupted.
2013-01-24 22:35:34.083 test1[640:907] Unbalanced calls to begin/end appearance transitions for <TestViewController:

【问题讨论】:

    标签: ios opengl-es


    【解决方案1】:

    在 ios 中创建游戏菜单的一些参考。

    1.Open Source Pop-Out Pie Style Menu iOS Control With A Nice Animation Effect 2.Pie Menus on iOS

    这里有一个很棒的菜单列表,请查看这个网站:

    iOS Open Source Facebook/Path liked Sidebar Menu implementation

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-12-16
      • 1970-01-01
      • 2016-04-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多