Jump to content

Spriter Cocos2d-html5


edupedu

Recommended Posts

Hi to all!

I have ported the CCSpriteX of dr_watson from C++ to Javascript in order to use it with Cocos2d-html5.

Cocos2d-html5 is a port of Cocos2d-iPhone and Cocos2d-X to the web. You can find more at http://www.cocos2d-x.org/.

I uploaded the project at GitHub:

https://github.com/eduardbosch/Spriter_Cocos2d-html5

This is only a quick port of dr_watson. It is a simple parser and there are still lots of things to do, but it's an start point :) .

The parser works good with Cocos2d-html5 v2.1.1 and Spriter va4.1.

Look at a basic example here: http://users.salleurl.edu/~tm19139/spriter_cocos2d-html5/examples/basic_example/

spriter_cocos2d-html5.png

I hope you can use this in your projects and keep the parser up to date to fit new features of Spriter!

Take a look at the original C++ version:

http://www.brashmonkey.com/forum/viewtopic.php?f=3&t=870
http://jameshui.com/?p=156

P.S.: I would like to thank dr_watson for starting the parser for Cocos2d-X.

Link to comment
Share on other sites

  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...