Cc.ScrolView undefined in cocos2d-js

I tried using ScrollView, a TableView from cocos2d-js extensions, and I noticed that it is not visible!

I also tried to create a class from this example, but I need to use it from a native class!

+4
source share
1 answer

To load extensions, you must add "extensions" in the "module" section of project.json. For instance:

{... "module": ["cocos2d", "extensions"]}

+5
source

All Articles