Making a good background for a space shooter

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
Dola
Prole
Posts: 14
Joined: Sat Aug 11, 2012 2:45 am
Location: Brasil

Making a good background for a space shooter

Post 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?
User avatar
substitute541
Party member
Posts: 484
Joined: Fri Aug 24, 2012 9:04 am
Location: Southern Leyte, Visayas, Philippines
Contact:

Re: Making a good background for a space shooter

Post 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.
Currently designing themes for WordPress.

Sometimes lurks around the forum.
User avatar
Darky
Citizen
Posts: 66
Joined: Sat Jun 02, 2012 1:41 pm
Contact:

Re: Making a good background for a space shooter

Post by Darky »

I'm Using particleSystem for my RTS :
Image
Image
Last edited by Darky on Fri Nov 09, 2012 7:22 pm, edited 1 time in total.
http://darky-ben.fr/Xut my webcomic (french)
User avatar
micha
Inner party member
Posts: 1083
Joined: Wed Sep 26, 2012 5:13 pm

Re: Making a good background for a space shooter

Post 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.
User avatar
Roland_Yonaba
Inner party member
Posts: 1563
Joined: Tue Jun 21, 2011 6:08 pm
Location: Ouagadougou (Burkina Faso)
Contact:

Re: Making a good background for a space shooter

Post by Roland_Yonaba »

Darky wrote:I'm Usig particleSystem for my RTS :
Really nice!
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: Making a good background for a space shooter

Post 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".
When I write def I mean function.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests