Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Entity concept SmokeParticles Source

Source code for the example explained in Entity Based Game Design.

It is part of the StackTheBox Demo.

 { "SmokeParticle" : { "angleVariance" : 60, "blendFuncDestination" : 771, "blendFuncSource" : 770, "duration" : 5, "emitterType" : 0, "finishColor" : "#1a1a1a", "finishColorAlpha" : 0, "finishColorVariance" : "#000000", "finishColorVarianceAlpha" : 0, "finishParticleSize" : 30, "finishParticleSizeVariance" : 10, "gravity" : "0.0, 30.0", "maxParticles" : 20, "maxRadius" : 100, "maxRadiusVariance" : 0, "minRadius" : 0, "minRadiusVariance" : 0, "particleLifespan" : 2, "particleLifespanVariance" : 1, "positionType" : 1, "radialAccelVariance" : 10, "radialAcceleration" : -30, "rotatePerSecond" : 0, "rotatePerSecondVariance" : 0, "rotation" : 90, "rotationEnd" : 0, "rotationEndVariance" : 0, "rotationStart" : 0, "rotationStartVariance" : 0, "sourcePositionVariance" : "5.0, 5.0", "speed" : 10, "speedVariance" : 0, "startColor" : "#bfbfbf", "startColorAlpha" : 0.8, "startColorVariance" : "#000000", "startColorVarianceAlpha" : 0, "startParticleSize" : 7, "startParticleSizeVariance" : 3, "tangentialAccelVariance" : 0, "tangentialAcceleration" : 0, "textureFileName" : "particleSmoke.png", "visible" : true, "x" : 0, "y" : 0 }}