A
A
ainu2012-05-12 16:32:51
Cross-platform
ainu, 2012-05-12 16:32:51

Cocos2D - how cross-platform?

The Cocos2D engine is positioned as cross-platform. However, iOS development manuals use Objective C, while Windows and Linux, for example, use python.
As far as I know, Cocos2D-iphone is a port to Objective-C, while the original one is to python.
This raises the question:
If I install Cocos2D on Windows / Linux, make some application, can I transfer it later from under Xcode to an iOS application by simply copying the code, or will I have to rewrite everything in Objective C, respecting the class names and their calls but changing the syntax in accordance with the new programming language?
Am I confusing it with Cocos2D-x?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
No_Time, 2012-05-12
@ainu

Will have to rewrite. And in practice, this, unfortunately, is not a trivial task - there was an experience of obj c in Java ... Well, not ice, frankly.

N
northicewind, 2012-05-12
@northicewind

Use cocos2D-x to rewrite less

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question