Share to EffectHub.com

You can earn money or coins from your share:)

Tips: you can use Sparticle for uploading away3D effects.

Tips: you can download Sparticle for uploading effects.

Tips: The ActionScript editor is supporting Away3D, Starling, Dragonbones and Flex frameworks.

Tips: paste the web page URL then click button:)

cocos粒子



cocos里,发射一次的粒子,怎么控制粒子的播放(触发)

2133 views    7 answers


0


666

A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: helpers/time_helper.php

Line Number: 22

2023-04-28     0 Comments


0


test

A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: helpers/time_helper.php

Line Number: 22

2023-04-24     0 Comments


0


粒子需要playonload为true,然后定时调用粒子对象的播放方法

A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: helpers/time_helper.php

Line Number: 22

2022-11-17     0 Comments


0


properties: {

 

        //定义一个粒子

        // particele: {

        //     default: null,

        //     type: cc.Node,

        // },

        lizi1: {

            default: null,

            type: cc.ParticleSystem

        },

    },

on_bt_onclick2: function() { //爆破按钮

        

        var lizi_boom = this.lizi1.getComponent(cc.ParticleSystem);

        lizi_boom.resetSystem();

    },




A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: helpers/time_helper.php

Line Number: 22

2020-11-18     0 Comments


0


粒子需要playonload为true,保存为预制资源使用
var particle = cc.instantiate(self.ParticlePre);
self.parentNode.addChild(particle);

A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: helpers/time_helper.php

Line Number: 22

2020-11-03     0 Comments


1


 var particleSystem = cc.instantiate(this.ps);//this.ps粒子的预制资源

        particleSystem.setPosition(cc.random0To1()*1280 - 1280/2,0,0)

        this.node.addChild(particleSystem,100);


A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: helpers/time_helper.php

Line Number: 22

2019-08-26     0 Comments


0


 var particleSystem = cc.instantiate(this.ps);//this.ps粒子的预制资源

        particleSystem.setPosition(cc.random0To1()*1280 - 1280/2,0,0)

        this.node.addChild(particleSystem,100);


A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: helpers/time_helper.php

Line Number: 22

2019-08-26     0 Comments


2


const {ccclass, property} = cc._decorator;

@ccclass
export default class MyButton extends cc.Component {


@property(cc.ParticleSystem)
particleSystem:cc.ParticleSystem = null;


onClick(){
this.particleSystem.resetSystem();
}

}


A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: helpers/time_helper.php

Line Number: 22

2019-08-26     0 Comments

185909969

A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: helpers/time_helper.php

Line Number: 22

2019-01-21

Public Question, everyone could view answers and download attachments.

Finish this task then you can earn 10

>>Back to Task List


Want to work on this task?

Post My Answer


Sponsor


You may interest with



Share

Join Effecthub.com


Or Login with Your Email Address:

Or Sign Up with Your Email Address:
This field must contain a valid email
Password should be at least 1 character

A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: views/footer.php

Line Number: 6

A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: controllers/task.php

Line Number: 19

A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: controllers/task.php

Line Number: 84