Game Development Community

Localized effects

by Chris Labombard · in Technical Issues · 06/21/2005 (4:42 pm) · 6 replies

Anyone have any ideas on how to do localized effects ? Specifically, I want lightning, but only in a specific area... pre cipitation in another... some randmized particle effects in another...

About the author

I have been a professional game programmer for over 5 years now. I've worked on virtually every platform, dozens of games and released a few of my own games, including 2 iPhone titles and a title waiting release on Big Fish Games.


#1
06/21/2005 (4:47 pm)
Lightning already does this. Have you tried spawning some in the editor and messing with the settings?

Rain renders from the camera, so you'll have to code it to be contained in a specific area(would be a great resource, tho).
#2
06/21/2005 (5:00 pm)
Lightning is set to a specific area ? I tried to get it to run... but it just never worked... I think it might have not been able to find my texture, though I checked it several times. I will look into that one.

I will get that rain working and resource it... if there is no current way to do it.
#3
06/21/2005 (5:42 pm)
Got the lightning working... Not sure how it is localized though. I am still mucking with it.

Ah.. got it... The scale represents the area the lightnign is strinking in...

It was 512 512 something... changing it to 64 64 64 made it only strike in a small box around the placement point...
#4
06/21/2005 (6:45 pm)
Localized rain is done... Looks good too.

I am going to post it as a resource right now.
#5
06/21/2005 (8:36 pm)
Sweet!
#6
06/22/2005 (3:36 am)
Ya. It's pretty cool. You can make multiple ones and control there size, so you can build some cool things, like columns of rain... Or, since technically you could use anything you want for the textures... you could build, almost solid looking coloums of sand falling....

The possibilities are almost endless.