B
B
BonBon Slick2020-01-01 22:02:48
Game development
BonBon Slick, 2020-01-01 22:02:48

Tools for creating animation and particle effects in cocos2d?

Manually prescribing is very time consuming.
Surely, tools are used that generate something like .plist or .json as in TexturePacker, where the Tamystamps and all the effects are already registered. After that, it remains to make an import, create an effect from a file. Like this

{ "SunExplosion" : { "angleVariance" : 298, "blendFuncDestination" : 1, "blendFuncSource" : 770, "duration" : 
1.0100000000000000089, "emitterType" : 0, "finishColor" : "#000000", "finishColorAlpha" : 0, "finishColorVariance" : 
"#000000", "finishColorVarianceAlpha" : 1, "finishParticleSize" : 0, "finishParticleSizeVariance" : 0, "gravity" : "0.0, 0.0", 
"maxParticles" : 709, "maxRadius" : 0, "maxRadiusVariance" : 0, "minRadius" : 0, "minRadiusVariance" : 0, "particleLifespan" : 
0.47000000000000002887, "particleLifespanVariance" : 1.3100000000000000533, "positionType" : 0, "radialAccelVariance" : 
0, "radialAcceleration" : 0, "rotatePerSecond" : 0, "rotatePerSecondVariance" : 0, "rotation" : 205, "rotationEnd" : 0, 
"rotationEndVariance" : 0, "rotationStart" : 0, "rotationStartVariance" : 0, "sourcePositionVariance" : "0.0, 0.0", "speed" : 169, 
"speedVariance" : 15, "startColor" : "#ff7f00", "startColorAlpha" : 0.5, "startColorVariance" : "#280000", 
"startColorVarianceAlpha" : 0.10000000000000000555, "startParticleSize" : 16, "startParticleSizeVariance" : 136, 
"tangentialAccelVariance" : 0, "tangentialAcceleration" : 0, "textureFileName" : "point.png", "visible" : true, "x" : 0, "y" : 0 } }

In 3D games, the effects of destruction seem to be described in the same way, everything is collected in one file, when the object is conditionally destroyed, we create an effect from a file in which the animation is already registered, the effect.
This is a particle effect, it takes a lot of time and many lines to write it manually.
What are open source or free tools for creating particle and animation effects?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question