Cocos2d vs corona
BramHoddssd
Member Posts: 414
Make a list of the advantages for cocos2d and corona. Decide which is better. Then also vote ur answer on the poll.
Comments
Cocos2D:
Pros:
*Integrated within Xcode
Cons:
*Have to write TOO MANY lines of code to load a basic image.
Corona:
Pros:
* CROSS-PLATFORM (BIGGEST advantage; Your able to publish on iDevices, Androids, etc)
* FEW lines of code to do stuff. For example, to load an image as a background, this is what you write:
"local background = display.newImage("background.png")"
You can also create physics in 5 lines.
Hope this helps.
FOR UNCENSORED DISCUSSION OF USING ALTERNATE SDKs IN CONJUNCTION WITH GS...visit
www.GSProForum.com
NO PRO MEMBERSHIP REQUIRED >>> ITS NOT A GENDAI FORUM BOARD!!!
ITS INDEPENDENT >>> LIKE US!!!
e.g.:
player = [CCSprite spriteWithFile:@alien.png];
That´s all. Then you add the image to the node (e.g. a layer) and position it. That would be three lines of code in total. Not too much Playing sounds or background music is just as simple as it is in Corona - one line of code each...
pros
Android support
Simple SDK
Facebook
Fairly easy to understand
Cons
No particle engine
No map editor
Young
Cocos2d
Pros
More mature API
Particle fx
Scene transitions
Specifically designed for games
Free OpenSource
Cons
Obj-c and c are more complex syntax than lua
No native Facebook support
No android
Physics is not obj-c wrapper, it's raw c++
JCFord - Damm why did this have to happen, GS should not have put us in this position!
Thanks in advance!!
Those of you who have actually used Corona, could you comment if there is a lag or any other reason to restate twice an hour?
Mobile development is the future and these are exciting times to get involved. I've submitted my second app just a little earlier and can't wait to get started on the next one.
I really would love to export for Android or the web and facebook!
Ciao for now