Implementing particles in cocos2d-x

Cocos2d-x v3
  • SagnikXV
    Likes 0

    Problem Description

    Can you please tell me how to implment particles in cocos2dx v3? I have created particles through an online service and have a JSON and PLIST file. How do I add it in the game and set its position, animation, etc?

     

  • Sonar Systems admin
    Likes 0

    Check out this Particle Editor http://www.cocos2d-x.org/hub/108 

  • SagnikXV
    Likes 0

    Yes I know about the editor.  I have used an editor to create a particle. Question is, what is the c++ code to include the particle in the game.

  • Sonar Systems admin
    Likes 0

    Take a look at these Cocos2d-x tests using Particles https://github.com/cocos2d/cocos2d-x/tree/v3/tests/cpp-tests/Classes/ParticleTest 

Login to reply