-
efaresLikes 0Problem Description
I am using a Mac and I am planning on building in JavaScript. I created 3 new projects with cocos2d-x-3.7 framework in 3 different ways:
1) one way using cocos console (terminal) followed http://www.sonarlearning.co.uk/coursepage.php?topic=game&course=cocos-console
2) second way using Cocos IDE v2.0 followed http://www.sonarlearning.co.uk/coursepage.php?topic=game&course=cocos-code-ide-v2
3) third way using Cocos 2.3.1 by downloading Cocos and clicking on New Project button.All 3 projects generated different files/folders in them. Does anyone know what the best practice is? Which method should I work off of? Should I do everything in Cocos IDE? Should I use the Cocos console/terminal?
I am interested in developing, testing and debugging on my device then eventually will want to release/publish to the app store and Google play store.
-
Sonar Systems adminLikes 1
Cocos Code IDE doesn’t support C++ so if you want to use C++ then use the other 2 methods also when integrating external frameworks such as AdMob then the first or third method will work best.
This reply has been verified.
-
efaresLikes 1
Thanks for the reply.
I plan on using JavaScript not C++, I should have specified that. So it looks like creating a project from the IDE is never the best way.
I do want to use external frameworks eventually, along with JavaScript, so I guess I’ll go with the first method and use Cocos Console to create, compile, run and release my mobile game.Thanks Sonar!
This reply has been verified.
-
Sonar Systems adminLikes 0
It’s the best way.
This reply has been verified.
-
efaresLikes 0
I’m just curious, why is creating + running a project with Cocos Console better than with Cocos IDE v2.0?
-
Sonar Systems adminLikes 1
Cocos IDE doesn’t really allow alot of external frameworks to be added and used like ad networks which are very important. They work very well with Eclipse and Xcode though. The reason for this is due to many frameworks are designed to link not only into your game but the Eclipse/Xcode project itself.
Hope this helps.
This reply has been verified.
-
efaresLikes 0
Sweet, that does help clear things up :)
So I can develop and code in Sublime Text and test/debug with Cocos Console then, right? Are there any advantages to using Eclipse/Xcode or doesn’t matter, it’s just personal preference?
Thanks!
-
Sonar Systems adminLikes 1
More just personal preference.
This reply has been verified.
Login to reply