Getting started with Studio&JS

  • Abdou23
    Likes 0

    Problem Description

    Hello, I’m coming from Objective-C/Swift/SpriteKit ecosystem, I made few games with SpriteKit and my first completed project is in the Appstore review right now(Wish me luck blush ). Some time ago before I decided to go with SpriteKit I noticed that cocos2d was probably the most popular 2d SDK for mobile platforms, but I avoided it due to the usage of c++& command tools.

    Recently I discovered that I can code games in cocos2d-x using JS or Lua, with a visual&code editor, I got very excited and started researching more, in the main page of the website it says that Cocos includes: "Cocos Studio, Cocos IDE, and Cocos Shop" but after downloading I did not find the IDE, there was no way to open files and start coding, I researched a little more and found out that the IDE has been discontinued!!

    1- What text editor or IDE should I use with cocos2d-x if I want to develop with either Lua or JS(haven't decided yet) that has Intellisense support(auto-complete)
    2- Are there any plans of releasing an official IDE?
    3- Are command tools mandatory in order to debug, build and test my projects ?

    4- Is there any difference in performance between c++/JS/Lua? (nothing fancy, or logic heavy, just simple mobile games)

    4- Are there light/Camera nodes in cocos2d-x?

    Thank you.

    PS: I'm targeting mobile devices, not web.

  • Sonar Systems admin
    Likes 0

    Hello and welcome to the Cocos eco system :D

    1: I would recommend Eclipse or Android Studio

    2: There will be an official Cocos IDE as Cocos Code IDE is being integrated into Cocos Studio

    3: I would learn the basic commands for the Cocos Console which we have created a video series on :D http://www.sonarlearning.co.uk/coursepage.php?topic=game&course=cocos-console 

    4: Honestly the performance is pretty much on par and something that shouldn’t be an issue

    5: (you said 4 for the last on but I think you meant 5) is this question related to 3D development?


    This reply has been verified.
  • Abdou23
    Likes 0

    Thank you for your answer :)

    1: I would recommend Eclipse or Android Studio

    I’m on Mac.

    5:  is this question related to 3D development?

    No, 2D, I’m talking about Light/Camera nodes similar to the ones in SpriteKit or Unity. 


  • Sonar Systems admin
    Likes 0

    On Mac you can use Eclipse and Android Studio.

     

    Check this link out for more information regarding the camera http://discuss.cocos2d-x.org/t/how-does-cccamera-work/322 


    This reply has been verified.
  • Abdou23
    Likes 0

    2: There will be an official Cocos IDE as Cocos Code IDE is being integrated into Cocos Studio

    Any idea when? 

    Check this link out for more information regarding the camera.

    No link :)

     

    Much appreciated.  

  • Sonar Systems admin
    Likes 0

    There is no ETA ATM.

     

     

    LOL, here is the link plus the original post has been updated. http://discuss.cocos2d-x.org/t/how-does-cccamera-work/322 

  • Abdou23
    Likes 0

    Sorry to bother you even more, but you really the only one on the web who was remotely interested in helping me, One last question:

    Does Eclipse or Android studio have built-in packages for cocos? I mean auto-complete and syntax highlighting.  As I’m not familiar with the framework, having to keep going back and forth between the editor and the docs to see what function does what, and what arguments it takes is going to be massive pain. 

  • Sonar Systems admin
    Likes 0

    For C++ it does but JavaScript I honestly can’t remember.

     

    Feel free to post any question you have and we will lend a hand.

Login to reply