Scripting languages ​​on iOS games

First of all, there are other topics dedicated to this topic, but they were published before Apple made the latest changes to its licenses this year.

I am completely confused by the Apple iOS developer license. Is it completely forbidden to write scripts on game programming? Even if I don’t compile it at runtime and don’t provide all the code in the game package?

I have a game engine written in C ++ that provides an AngelScript-based scripting layer that is used to make programming the game logic easier. Is it true that I can never publish a game made with it if I use AngelScript for game event scripts?

Many game developers have added an abstraction layer on top of their C ++ / engine / framework library to facilitate game development, which does not change the fact that the games were written in C / C ++.

+6
source share
2 answers

You can use a scripting language if it does not load any code. This is not an apple with a scripting language, the problem with Angry birds, for example, is using ( lots ) of Lua code. Angry birds level files

If you try to download the code and execute it, Apple will reject your application. Although this is a gray area. For example, "when does something become code?" As an example, you can download a new level package for your game, if then the level is defined in XML files. But let's say, for example, you are using your own file format, not XML, for more functionality. At what point does your code stop just to identify parts of the game and become a code?

As with many regulatory documents, there are gray areas, even with things forbidding Apple (downloading code), however you should not have problems using the scripting language.

+4
source

With Unity and about iOS, I hardly believe that Apple will apply this if they can ...

+2
source

Source: https://habr.com/ru/post/892919/


All Articles