I have a CCParticleSystemQuad and it generated many particles with setLifeVaule(40).
Now, in the runtime, I want to change the life value of the existing particles in fewer value such as 0.1.
But setLife() function does not affect existing particles.how can i change the life Time of them?
How change the life time of existing particles in CCParticleSystemQuad?
101 Views Asked by mostafa88 At
0
There are 0 best solutions below
Related Questions in C++
- How to immediately apply DISPLAYCONFIG_SCALING display scaling mode with SetDisplayConfig and DISPLAYCONFIG_PATH_TARGET_INFO
- Why can't I use templates members in its specialization?
- How to fix "Access violation executing location" when using GLFW and GLAD
- Dynamic array of structures in C++/ cannot fill a dynamic array of doubles in structure from dynamic array of structures
- How do I apply the interface concept with the base-class in design?
- File refuses to compile std::erase() even if using -std=g++23
- How can I do a successful map when the number of elements to be mapped is not consistent in Thrust C++
- Can std::bit_cast be applied to an empty object?
- Unexpected inter-thread happens-before relationships from relaxed memory ordering
- How i can move element of dynamic vector in argument of function push_back for dynamic vector
- Brick Breaker Ball Bounce
- Thread-safe lock-free min where both operands can change c++
- Watchdog Timer Reset on ESP32 using Webservers
- How to solve compiler error: no matching function for call to 'dmhFS::dmhFS()' in my case?
- Conda CMAKE CXX Compiler error while compiling Pytorch
Related Questions in COCOS2D-X
- i have integrated firebase crashlytics in my ios project it providing me Objc crashes but i want Cpp crash to catch
- Can We Apply AutoPolygon or PolygonSprite to Spine Animations in Cocos2d-x 3.17?
- android studio build failed because of AAPT2
- Setting alpha in Custom Shader not working in cocos2dx
- SocketIO failed to handshake, dont know why
- Android studio error No variants found for 'app' in cocos 2d-x project
- How to make Keyboard button to continuously call callback function when hold-pressed Cocos2d-x
- How to Check for Constant KeyPress in Cocos2d-X? (C++)
- Cocos2dx OpenGl Shader two textures problem
- Cocos2dx Crash - Version 3.17.2
- Android Game Crash On Unity Ads
- Issue with compiling a cocos2d-x 3.17.2 JS/web project
- Using Json.cpp in Cocos2dx v4
- Cocos 2dx 4.x. Enable C++17 in Android Studio
- How can i change the entire speed (timing) of a android game made with cocos2dx?
Related Questions in CCPARTICLESYSTEM
- Particle Effect [Does CCParticleSystemQuad change its position wrt to its parent]
- particleSystem perform different download from App Store
- CCParticleSystemQuad crashing with error "Abnormal error in particle quad"
- Adding more Child to main CCLayer causes other child not function properly
- How change the life time of existing particles in CCParticleSystemQuad?
- cocos2d-x game slows down while showing effect of CCParticleExplosion
- CCParticleSystem doesn't display in my iPad scene
- OpenGL error 0x0500 in -[CCParticleSystemQuad draw] 455
- CCParticleSystemQuad isRunning/particleCount behaviour
- Crash after playing 10-15 levels
- CCParticleSystem says its running, isn't visible
- How can I create an empty ParticleSystem and add child particlesystemquad on it like CCNode
- CCParticleExplosion working on Simulator but not on iPhone 4S
- CCParticleSystem removal best practices
- CCParticleSystemQuad removed prematurely - ios
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?