Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Particle Emiter question

Author
Message
BHoltzman
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location:
Posted: 16th Feb 2003 09:36
Is it possible to turn the emitter to direct the particles in a user controled direction? Or is it possible to flock the particles emitted? This would be extremely useful for general use and extremely useful for a project that I'm hopping to be able to do in DBPro.

Thanks,

Ben
Daz
22
Years of Service
User Offline
Joined: 26th Dec 2002
Location: United Kingdom
Posted: 16th Feb 2003 16:40
MAKE PARTICLES : MAKE PARTICLES Particle Number, Image Number, Frequency, Radius

MAKE SNOW PARTICLES : MAKE SNOW PARTICLES Particle Number, Image Number, Frequency, X, Y, Z, Width, Height, Depth

MAKE FIRE PARTICLES : MAKE FIRE PARTICLES Particle Number, Image Number, Frequency, X, Y, Z, Width, Height, Depth

DELETE PARTICLES : DELETE PARTICLES Particle Number

SHOW PARTICLES : SHOW PARTICLES Integer Value

HIDE PARTICLES : HIDE PARTICLES Particle Number

POSITION PARTICLES : POSITION PARTICLES Particle Number, X, Y, Z

POSITION PARTICLE EMISSIONS : POSITION PARTICLE EMISSIONS Particle Number, X, Y, Z

ROTATE PARTICLES : ROTATE PARTICLES Particle Number, X, Y, Z

SET VECTOR3 TO PARTICLES POSITION : SET VECTOR3 TO

PARTICLES POSITION Vector, Particle Number

SET VECTOR3 TO PARTICLES ROTATION : SET VECTOR3 TO

PARTICLES ROTATION Vector, Particle Number

COLOR PARTICLES : COLOR PARTICLES Particle Number, Red, Green, Blue

SET PARTICLE EMISSIONS : SET PARTICLE EMISSIONS Particle Number, Frequency

SET PARTICLE VELOCITY : SET PARTICLE VELOCITY Particle Number, Velocity Value

SET PARTICLE GRAVITY : SET PARTICLE GRAVITY Particle Number, Gravity Value

SET PARTICLE SPEED : SET PARTICLE SPEED Particle Number, Seconds Per Frame

SET PARTICLE CHAOS : SET PARTICLE CHAOS Particle Number, Chaos Value

SET PARTICLE FLOOR : SET PARTICLE FLOOR Particle Number, Floor Flag

SET PARTICLE LIFE : SET PARTICLE LIFE Particle Number, Life Percentage

PARTICLES EXIST : Return Integer=PARTICLES EXIST(Particle Number)

PARTICLES POSITION X : Return Float=PARTICLES POSITION X(Particle Number)

PARTICLES POSITION Y : Return Float=PARTICLES POSITION Y(Particle Number)

PARTICLES POSITION Z : Return Float=PARTICLES POSITION Z(Particle Number)


Look these up

DarkBASIC Professional is the best programming utility.
8/10 Housewives agree!
BHoltzman
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location:
Posted: 16th Feb 2003 19:49
Thanks for the list of commands DAZ. I've got this at home already. My question was, "is it possible to rotate the particle emiter or flock the particles?" I'm wondering if we could expose the emiter function through memblocks or pointers? Or if there is an easier way to implement this?

Thanks Again,

Ben
rapscaLLion
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 17th Feb 2003 01:38
What was the point in that Daz???
I have no idea on how to rotate it, and I don't have the time to find out right now.

Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 17th Feb 2003 16:39
I suppose "Rotate Particles" might do for the first question?

Visit [url]www.lightning-systems.co.uk[/url]
You are the th person to view this signature.
klukk
22
Years of Service
User Offline
Joined: 13th Feb 2003
Location: Iceland
Posted: 17th Feb 2003 18:20
Flock particles together? I assume you're talking about attractors (objects that, well, attract particles)

No, attractors are not supported by the DBPro particle system, it would be really kewl if they were (hint hint, wink wink allmighty developers )

- If nothing sticks to teflon, then how do they make teflon stick to the pan???

Login to post a reply

Server time is: 2025-05-18 05:23:47
Your offset time is: 2025-05-18 05:23:47