ios - How can I make the particles in my SKEmitterNode opaque? -


i've experimented lot settings in particle emitter editor, none of them seem allow me make particles opaque. i've tried editing in actual code:

if let explosion = skemitternode(filenamed: "toothexplosion") {             explosion.particlecolor = skcolor.whitecolor()             explosion.particlecolorblendfactor = 1.0;             explosion.particlecolorsequence = nil;             explosion.position = contactpoint             addchild(explosion)         } 

did change particle texture?

try put (in sks file, toothexplosion.sks) solid circle, spark not opaque:

enter image description here


Comments

Popular posts from this blog

java - Could not retrieve pre-bound Hibernate session - Could not obtain transaction-synchronized Session for current thread -

java - ConcurrentModificationException upon committing transaction with Hibernate -

java - Not entering the success part of http response in angularjs using spring mvc -