Home | Rules and Guide | Sign In/Create Account | Write a Post | Reddit | #LD48 | #ludumdare on irc.afternet.org (Info)

Ludum Dare 30 — August 22nd-25th 2014 — Theme: Connected Worlds
  • Judging Ends: in 13 days, 10 hours, 51 minutes, 18 seconds
  • [ Real World Gatherings | Ludum Deals | Warmup Weekend (Games) | MiniLD #53 | Wallpaper (1) (2) (3) | Mailing List ]

    [ Play+Rate | Edit | View All Games | My Game ]


    Anyone here experienced with Cocos2D JS

    Posted by (twitter: @jacklehamster)
    February 11th, 2014 12:19 pm

    I’m in the process of slowly moving out of my comfort zone, and try to learn to make games without Flash.¬†Flash has had its moments, but the port to mobile is getting really clunky and impractical.

    So, the obvious choice would be Unity, as it seems to grow in popularity and has the advantage of being cross platform. But I was also considering another option: Cocos2D JS

    I’ve read some tutorials, and it seems like a nice concept: I make a game in JavaScript, make it work within the browser, then port it nicely to iOS and Android. But there some issues with it I could think of:
    #1. Well… it’s not clear but… is this developed by Zynga? ;-P
    #2. The IDE of choice seems to be cocosbuilder.com, and at the top of the page it says Cocos Builder is no longer maintained. (then it redirects me to SpriteBuider.com). Does it look like a red flag?
    #3. Isn’t JavaScript slow?

    The reason I’m not completely sold on Unity, is because I’m mostly a 2D game developer, and I would prefer something a little more lightweight. Unity seems to be for the kind of devs who like to incorporate APIs, engines. I’m the kind of dev who’d rather implement basic collision detection than use a physics engine in my game.

    Anyway, just looking for other dev’s thoughts about it. Thanks

    Tags: ,

    5 Responses to “Anyone here experienced with Cocos2D JS”

    1. cudabear says:

      I’ve never heard of Cocos2D JS, but anything that lets you develop for multiple platforms at once is a good idea.

      I personally love JavaScript for game development. I use it almost exclusively. However, because it’s a scripting language, it’s speed is determined by what is executing it. In chrome, it’s faster than native Java execution. In IE7, it’s 10x slower than native Java. You’ll have to run some tests to see if you can get the performance you require out of Cocos2D.

      I do all my JavaScript development in a regular text editor, to be honest. Granted, it has a few quirks to make development easier (it’s called Sublime Text 2 if you’re interested). There’s not really a good JavaScript IDE because of the nature of the language, so it’s best to get used to editing it without an IDE to hold your hand.

      • The IDEs for javascript do suck, but turns out getting used to work without an IDE is beneficial to grow as an agile developer. For both HTML5 and PHP, I use the web as my editor and it makes everything so … light.

    2. rafeu says:

      Like cudabear, I never heard about Cocos2D JS, but I can tell you what I think about Unity. It’s a great program for making games. It can work with C#, JavaScript and Python and now, 2d programming is supported natively and really easy to do. If you want more info about it, there is a link : http://unity3d.com/unity

      Oh! And also it’s free and you are sure to be able to sell your game :)

    3. KayZ says:

      I don’t know whether you have heard of https://www.dartlang.org/ but that could be another alternative to JavaScript for you (with decent IDE support).

      And if you are coming from Flash, this could be interesting: http://www.stagexl.org/
      But I don’t know about porting to a mobile app, maybe if you use http://rikulo.org/

    Leave a Reply

    You must be logged in to post a comment.


    All posts, images, and comments are owned by their creators.

    [cache: storing page]