码迷,mamicode.com
首页 > 其他好文 > 详细

cocos 自定义粒子系统plist

时间:2014-12-11 13:46:25      阅读:252      评论:0      收藏:0      [点我收藏+]

标签:des   style   blog   io   ar   color   os   sp   on   

    auto particleSystem = ParticleSystemQuad::create("Desktop.plist");
    particleSystem->setPosition(Point(visibleSize.width/2, visibleSize.height/2));
    this->addChild(particleSystem);

 

 

<?xml version="1.0" encoding="utf-8"?>
<plist version="1.0"><dict><key>angle</key>
<real>360.000000</real>
<key>angleVariance</key>
<real>360.000000</real>
<key>duration</key>
<real>0.010000</real>
<key>startParticleSize</key>
<real>34.110001</real>
<key>startParticleSizeVariance</key>
<real>38.320000</real>
<key>finishParticleSize</key>
<real>13.590000</real>
<key>finishParticleSizeVariance</key>
<real>0.000000</real>
<key>gravityx</key>
<real>1.150000</real>
<key>gravityy</key>
<real>1.580000</real>
<key>maxParticles</key>
<real>809.000000</real>
<key>maxRadius</key>
<real>0.000000</real>
<key>maxRadiusVariance</key>
<real>0.000000</real>
<key>minRadius</key>
<real>0.000000</real>
<key>particleLifespan</key>
<real>0.000000</real>
<key>particleLifespanVariance</key>
<real>1.120000</real>
<key>rotatePerSecond</key>
<real>0.000000</real>
<key>rotatePerSecondVariance</key>
<real>0.000000</real>
<key>rotationEnd</key>
<real>0.000000</real>
<key>rotationEndVariance</key>
<real>0.000000</real>
<key>rotationStart</key>
<real>0.000000</real>
<key>rotationStartVariance</key>
<real>0.000000</real>
<key>sourcePositionVariancex</key>
<real>0.000000</real>
<key>sourcePositionVariancey</key>
<real>0.000000</real>
<key>sourcePositionx</key>
<real>152.000000</real>
<key>sourcePositiony</key>
<real>211.000000</real>
<key>speed</key>
<real>149.000000</real>
<key>speedVariance</key>
<real>312.000000</real>
<key>startColorAlpha</key>
<real>1.000000</real>
<key>startColorBlue</key>
<real>0.356863</real>
<key>startColorGreen</key>
<real>0.556863</real>
<key>startColorRed</key>
<real>0.886275</real>
<key>startColorVarianceAlpha</key>
<real>0.498039</real>
<key>startColorVarianceBlue</key>
<real>0.200000</real>
<key>startColorVarianceGreen</key>
<real>0.200000</real>
<key>startColorVarianceRed</key>
<real>0.200000</real>
<key>finishColorAlpha</key>
<real>0.839216</real>
<key>finishColorBlue</key>
<real>0.423529</real>
<key>finishColorGreen</key>
<real>0.258824</real>
<key>finishColorRed</key>
<real>0.211765</real>
<key>finishColorVarianceAlpha</key>
<real>0.349020</real>
<key>finishColorVarianceBlue</key>
<real>0.168627</real>
<key>finishColorVarianceGreen</key>
<real>0.501961</real>
<key>finishColorVarianceRed</key>
<real>0.392157</real>
<key>tangentialAccelVariance</key>
<real>0.000000</real>
<key>tangentialAcceleration</key>
<real>0.000000</real>
<key>radialAccelVariance</key>
<real>0.000000</real>
<key>radialAcceleration</key>
<real>0.000000</real>
<key>blendFuncSource</key>
<integer>770</integer>
<key>blendFuncDestination</key>
<integer>1</integer>
<key>emitterType</key>
<real>0</real>
<key>textureFileName</key>
<string>Desktop.png</string>
</dict></plist>

 

cocos 自定义粒子系统plist

标签:des   style   blog   io   ar   color   os   sp   on   

原文地址:http://www.cnblogs.com/yufenghou/p/4157333.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!