Questions tagged [particle-system]

The term particle system refers to a computer graphics technique that uses a large number of very small sprites.

The term particle system refers to a computer graphics technique that uses a large number of very small sprites.

Particle systems include fire, explosions, smoke, moving water (such as a waterfall), sparks, falling leaves, clouds, fog, snow, dust, meteor tails, stars and galaxies, or abstract visual effects like glowing trails, magic spells, etc.

For more details: Visit

560 questions
3
votes
1 answer

Scaling of the point sprites (Direc3D 9)

Tell me please what values should ​​I set for D3DRS_POINTSCALE_A, D3DRS_POINTSCALE_B, D3DRS_POINTSCALE_С to point sprites scaled just like other objects in the scene. The parameters A = 0 B = 0 and C = 1 (proposed by F. D. Luna) not suitable because…
Kofan
  • 31
  • 1
3
votes
1 answer

Are there any iOS Particle System Libraries

Does anyone know of any (opensource would be nice) Particle / Emitter libraries for iOS? I know of cocos iphone but couldn't find any others. If all else fails I'll get my hands dirty and learn OpenGL but any helper libraries would be handy :)
Finne
  • 150
  • 3
  • 8
3
votes
0 answers

Swift SpriteKit SKEmitter node color not correct when added to the scene

I made a particle system in the particle editor in Xcode and it came out like this. I set it up in my SpriteKit scene like this. emitter = SKEmitterNode(fileNamed: "Trail.sks")! emitter.particleColor = .red …
Repardeimaj
  • 401
  • 3
  • 15
3
votes
1 answer

Setting the texture of a particle using CCTextureCache

I am giving my first steps with cocos2d-iphone. I am using: CCSpriteFrameCache *frameCache = [CCSpriteFrameCache sharedSpriteFrameCache]; [frameCache addSpriteFramesWithFile:@"textures.plist"]; to use my zwoptex file. With that set, I am creating…
Macarse
  • 91,829
  • 44
  • 175
  • 230
3
votes
1 answer

ThreeJS FBO Particle Lighting and Shadows

Update: I decided to implement a simple lighting solution from this link, http://blog.edankwan.com/post/three-js-advanced-tips-shadow, suggested by ScieCode. It's the first part of the linked page. The result can be seen in the picture at the…
M1ke
  • 239
  • 2
  • 11
3
votes
1 answer

LibGDX ParticleEffectPool issue

I have a problem with ParticleEffectPool in libGDX - the first effect does not show, but why does it work after that? Here's the code for setting it up: destroyEffect = new ParticleEffect(); destroyEffect.load(Gdx.files.internal("destroy.txt"),…
Lim Thye Chean
  • 8,704
  • 9
  • 49
  • 88
3
votes
2 answers

How to set "startColor" of ParticleSystem in Unity 2017 in C#?

I am trying to change the "startColor" field of the ParticleSystem in Unity 2017. I try to write the code in 2 different ways in C#. The first way is: ParticleSystem.MainModule settings = GetComponent().main; settings.startColor =…
Job_September_2020
  • 858
  • 2
  • 10
  • 25
3
votes
1 answer

Particle system rendering behind another GameObject

First, I want you to understand my English. I manually change the camera's projection to orthographic using the source code. Please refer to the code below. using UnityEngine; using System.Collections; public class CameraOrthoController :…
정현우
  • 31
  • 1
  • 3
3
votes
1 answer

Threejs drag points

I have to generate a huge number of objects that I can drag individually. Also these objects are limited to a plane form (e.g. rect or circle). At first I worked with simple CircleGeometries, that are placed inside another geometrie (plane). Also…
HS_hendrix
  • 79
  • 1
  • 8
3
votes
0 answers

Confetti particle animation in Sprite Kit

Hello StackOverflow community, I am trying to achieve a confetti celebration animation for a game I am working on. Something like this (but simpler): I am trying to animate each particle with a skew animation to give the impression that each…
plawres
  • 313
  • 4
  • 19
3
votes
1 answer

How to get one of the particle system?

I have an enemy prefab(ZomBunny) in it their are two partial systems which are to be played when the enemy is hit and when the enemy die.The problem i am facing is ,i can only access only one of the particle system(HitParticle) when using the down…
Ved Sarkar
  • 251
  • 2
  • 8
  • 25
3
votes
1 answer

Radial Distribution Function using Python code

I am unsure where exactly to ask this question - I cant seem to find the proper platform where I feel I can properly ask this... it has been bugging me for so long and I cant seem to grasp the conceptual picture. I am new to Python, and so am…
user1697
  • 31
  • 1
  • 4
3
votes
0 answers

Libgdx player trails

I am making a top down 2D skiing game, and I want to add a trail for the player that follows him around. I've considered trying to use particles, however I realize that this would be hard to make and it might make gaps. Are there any other methods…
3
votes
1 answer

Solving Sparse Matrix Using Eigen

I am writing a constraint based particle system based on this paper. The Jacobian of the constraints C scales with the number of particles in the system and the number of constraints. Because each constraint generally has only a few particles that…
3
votes
1 answer

Detect collision between SKNode and Particles?

I have this function that creates some lava: func setupLava() { let emitter = SKEmitterNode(fileNamed: "Lava.sks")! emitter.particlePositionRange = CGVector(dx: 200, dy: 0.0) emitter.advanceSimulationTime(3.0) emitter.zPosition = 4 …
user5931952