dongbat / ArtemisJs

A javascript port of Artemis Entity System Framework
MIT License
6 stars 2 forks source link

Which version of cocosd is used by the example? #2

Closed darkoverlordofdata closed 9 years ago

darkoverlordofdata commented 9 years ago

Hi I've tried the example with different versions of cocos, and all get different errors - all the errors are missing files in the cocos folders, but in each case, they are different files, so it seems to be version dependent, so which version dd you develop the example wiith?

I've been playing with dartemis, and really like it. But dart doesn't run in cocoonjs, so I'm hoping artemisjs will.

Thanks, Bruice

darkoverlordofdata commented 9 years ago

Ok, I figured it out. After re-reading the readme, I found this: "To run it, you will need the Cocos2d-html5 version. You can download the newest version here. The newest version at the moment is v2.2.1."

What I found was that v2.2.1 is the ONLY version that the demo runs on. I started out using the latest, and that won't work, folder structures change after 2.2.1. And the dependency on CCVisibleRect means that versions prior to 2.2.1 won't work either.

Here is what did work: copy both the cocos2d and CocosDenshion folders from 2.2.1 to the Artemisjs folder.

Looks good - I'll give it a spin,
I realize the issues are only with the demo and cocos ever changing framework - the main reason I don't use it :)

Thanks again..