【问题标题】:Does Apple allow to download OpenGL shaders in iOS game at runtime? [closed]Apple 是否允许在运行时在 iOS 游戏中下载 OpenGL 着色器? [关闭]
【发布时间】:2012-03-23 18:26:42
【问题描述】:

我计划实现 iOS 游戏,当用户购买特定的应用内购买时,会在运行时下载某些资产 - 纹理、着色器等。 众所周知,Apple 禁止在运行时下载和发出 iOS 应用程序代码:

3.3.2 An Application may not download or install executable code. Interpreted code may only
be used in an Application if all scripts, code and interpreters are packaged in the    Application and
not downloaded. The only exception to the foregoing is scripts and code downloaded and run by
Apple's built-in WebKit framework.

此限制是否还包括 Open GL 着色器,即能否在运行时下载着色器代码?

【问题讨论】:

  • 只有在用户购买了 InAppPurchases 之一后,您才能始终使用“免费”版本的应用程序交付所有内容并解锁某些功能。
  • 亚历克斯是对的。而且以这种方式实现一切都更容易。
  • +1 给亚历克斯。想一想这种情况:用户购买了内容,但下载失败(例如某些技术原因)。我敢肯定他会做的第一件事——打开 Appstore 并降级你的游戏 :)
  • 贴图应该没问题,那只是一张位图……但是为什么要下载着色器而不是在代码中实现它们并发布它们呢?我无法想象你会在一天之内实现新的着色器......
  • 我投票决定将此问题作为离题结束,因为它是关于许可或法律问题,而不是编程或软件开发。 See here 了解详情,help center 了解更多信息。

标签: iphone ios licensing restrictions


【解决方案1】:

Alex 和 co 是正确的。协议第 2.4 节规定,您不得使用 In-App Purchase API 向应用程序“添加任何额外的可执行代码”——仅允许数据。他们明确声明该功能必须嵌入应用程序并通过购买解锁。

我明白为什么需要将着色器作为新内容的一部分添加;或许您应该直接联系 Apple 来确定裁决?

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-09-07
    • 2021-12-01
    • 1970-01-01
    • 2014-08-13
    • 1970-01-01
    相关资源
    最近更新 更多