Projects > cpp > Issues > Feature #4372

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

Allow extending of ParticleSystem from JSB

Feature #4372 [Closed]
smshuja 2014-03-13 06:11 . Updated about 2 years ago

Right now it is not possible to extend ParticleSystem from JSB.

example

var ParticleSystem = cc.ParticleSystem.extend({
    ctor: function() {
        this._super();
        cc.associateWithNative( this, cc.ParticleSystem );
        this.initWithFile(particleFile);
    },
    doSomething: function() {
        cc.log('doSomething');
    }
}
walzer@cocos2d-x.org 2014-10-08 03:00

Redmine issue system is closed, we are using github issue system instead.

This issue was moved to https://github.com/cocos2d/cocos2d-x/issues/8359

Atom PDF

Status:Closed
Start date:2014-03-13
Priority:Low
Due date:
Assignee:-
% Done:

0%

Category:js
Target version:-

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.