Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Scripting languages on iOS games

First of all, there are other topics covering this subject but they were posted before Apple made the latest changes in its licenses this year.

I'm quite confused with Apple's iOS developer agreement license. Does it completely forbid scripting languages on game programming? Even if I don't compile it at runtime and provide all the code within the game package?

I have a game engine written in C++ which provides a scripting layer based on AngelScript used to ease the game logic programming. Is it true that I can't ever publish a game made with it as long as I use AngelScript for game event scripting?

Many game developers put an abstraction layer over their C++ library/engine/framework to ease game development, which doesn't change the fact the the games were actually written in C/C++.

like image 704
user642252 Avatar asked Jul 17 '11 04:07

user642252


2 Answers

You can use a scripting language as long as it doesn't download any code. It's not the scripting language apple has a problem with Angry birds for instance uses (lots) of Lua code. Angry Birds Level files

If though you try downloading code and executing it then Apple will reject your app. Although even this is a gray area. For instance 'when does something become code?'. As an example you can download a new level pack for your game if then level's are defined in XML files. But say for instance you use your own custom file format rather then XML for greater functionality. At what point does your code stop simply define parts of the game and become code?

Like many regulations there are gray areas even with things apple forbids (downloading code), however you shouldn't have a problem using a scripting language.

like image 171
Kyle Howells Avatar answered Sep 19 '22 10:09

Kyle Howells


With Unity out and about on iOS, I have a hard time believing that Apple will enforce this, if they can...

like image 23
Michael Dorgan Avatar answered Sep 20 '22 10:09

Michael Dorgan