Simple top down starfield

Post your own tutorials, guides and demos.

Post » Mon May 18, 2009 11:09 am

Playing around with particle effect, i've managed to make this simple top-down starfield by using 3 particle generators.
Maybe this can be done with a single particle generator, but I couldn't find the correct values.

Here is the link to the CAB file:
[url:29j2amhx]http://www.2shared.com/file/5834524/6ed11b1a/Starfield.html[/url:29j2amhx]

Note that the download link to the file is located at the bottom right section of the site.
B
1
G
3
Posts: 2
Reputation: 829

Post » Tue May 19, 2009 7:11 am

Looks good, runs fast, and I think it'd make great snow, also! But it takes such a long time to get established.

Tried making a situation where the timescale was really high for the first few seconds (to quickly set up the starfield at the start). That sort of worked, but the particle object seems to act strangely at very high timescales.

(I guess I'll submit to tracker, if it's not a known issue or a side effect of the way particles are handled.)
B
5
S
2
G
4
Posts: 113
Reputation: 2,101

Post » Tue May 19, 2009 2:15 pm

Yup, there is also an issue with all 3 particle generators when you add an effect to only one of them. Apparently all 3 generators gets affected by the effect configured in only 1. Go ahead and try it; you'll notice that only 1 of the particles generators will work with the effect applied while the other 2 particle generatores are completely disabled.
I've tried applying several effects, but the result is the same.

Regarding the long delay in getting the screen filled with those particles; I think that this could work if you increase the timescale as you mention, and once the first particle reaches the destroy event (or the bottom of the screen) immediately drop the timescale speed down to a reasonable scrolling speed...., but this is only a general idea since I haven't tried this.
B
1
G
3
Posts: 2
Reputation: 829

Post » Tue May 19, 2009 11:12 pm

I'm pretty sure there's no way to tell what individual particles are doing, so you can't tell when one leaves the layout.

But changing the timescale can be done based on how long you'd expect it to take to fill the screen, so you can just set timescale to 20 at the start of the layout, then to 1 when timer = 15 seconds, or something like that.

Regarding the effects - yeah, I see what you mean! I'd never noticed that before. It only seems to happen with some effects: "Outline" or "Greyscale" apply correctly, but "Soften" works for one instance of the particle object and breaks the others.
B
5
S
2
G
4
Posts: 113
Reputation: 2,101

Post » Tue May 11, 2010 1:56 pm

Can you please reupload?
B
34
S
8
G
7
Posts: 498
Reputation: 7,753

Post » Wed May 12, 2010 9:06 am

Can you please upload this to dropbox (https://www.dropbox.com/) 2shared just never lets me download anything.
B
7
S
2
G
4
Posts: 164
Reputation: 2,418


Return to Your tutorials & example files

Who is online

Users browsing this forum: No registered users and 0 guests