Number of Particles at one time - How?

Discussion forum for G-Force users

Moderators: BTT, andy55, b.dwall, juxtiphi

Post Reply
User avatar
Mycroft
Posts: 5
Joined: Fri Feb 18, 2005 2:46 am

Number of Particles at one time - How?

Post by Mycroft »

G'day All

I run GForce through a switcher to my tv and while I'm surfin' on another
computer I have music and visuals

Great Stuff! I mean it really

Of Course I've played about with it (duhh)
I've found out how to have a background sprite change from one to the next

SetPref( PREF_SPRITE_DURATION, "20" );
SetPref( PREF_SPRITE_INTERVAL, "20" );

So there's all the space-fractal-fantasy pictures looking perfect,

BUT

I like the effect when there are 3 particles at the same time
Rather than wacking "Y" all the time is there a place in the code that specifies how many particles are on the screen at any one time?

TIA :D


Mycroft

User avatar
keycompton
Site Admin
Posts: 104
Joined: Thu Aug 12, 2004 11:09 am

Post by keycompton »

Hello Mycroft,

G-Force does not have a setting for how many particles are on screen at the same time, but you could probably achieve this by one of the two following methods:

(i) you could increase the frequency at which particles are launched by tweaking the PInt variable in the G-Force Preferences file (default setting launches a particle every 50 to 75 seconds: PInt="50 + rnd(25)"). To learn more about PInt, see http://soundspectrum.com/g-force/Docume ... izing.html

(ii) you could write a script that launches a particles every x number of seconds and loop the script (see script "CTRL 4.txt" for an example of how to use looping).

Regards,
Key

Post Reply