Page 1 of 1

Making a good background for a space shooter

Posted: Fri Nov 09, 2012 5:37 am
by Dola
http://www.viewizard.com/astromenace/am3.jpg

The stars part is pretty simple, just some particles, but how could i achieve this cloud-like-purple-blueish stuff in the background?

I thought about using canvases to generate some gradients but it would still not be very close to what i wanted.Ideas?

Re: Making a good background for a space shooter

Posted: Fri Nov 09, 2012 5:45 am
by substitute541
Dola wrote:http://www.viewizard.com/astromenace/am3.jpg

The stars part is pretty simple, just some particles, but how could i achieve this cloud-like-purple-blueish stuff in the background?

I thought about using canvases to generate some gradients but it would still not be very close to what i wanted.Ideas?
Image. Or some random heightmap generator.

Re: Making a good background for a space shooter

Posted: Fri Nov 09, 2012 11:22 am
by Darky
I'm Using particleSystem for my RTS :
Image
Image

Re: Making a good background for a space shooter

Posted: Fri Nov 09, 2012 2:51 pm
by micha
If you want to predraw it you can use rendering filters in gimp. You find them in filter->render. There are some pretty nice effects in there.

Re: Making a good background for a space shooter

Posted: Fri Nov 09, 2012 3:09 pm
by Roland_Yonaba
Darky wrote:I'm Usig particleSystem for my RTS :
Really nice!

Re: Making a good background for a space shooter

Posted: Fri Nov 09, 2012 4:39 pm
by kikito
You can find a way to make a decent stars background relatively cheaply here:

http://www.sea-of-memes.com/LetsCode4/LetsCode4.html

This technique is refined and expanded upon (with nebulae) here:

http://www.sea-of-memes.com/LetsCode10/LetsCode10.html

On this case, the nebulae are generated using simplex noise. This is feasible in LÖVE, using either ImageData, Canvases or a mixture of both. He's mapped them to an spheric map, but you don't need that because you are doing 2d, not 3d. What you need is to make sure that there are no discontinuities on your nebulae/clouds - they must have "soft edges".