particles terrain

Blitz3D Forums/Blitz3D Programming/particles terrain

splinux(Posted 2005) [#1]
have you evere seen some destructable terrains made by particles? i tried to program it, but the program is too slow...
the code is very simple: some functions create particles, some other delete them and some other update them...
can anyone help me?


Ice9(Posted 2005) [#2]
I think you may be talking about Voxels (Volumetric pixels)

http://www.flipcode.com/articles/voxelland_part01.shtml

http://www.origo.hu/szoftverbazis/letolt.html?size=1376256&filename=TerraVox v1.4&letoltes=seged+teszt+terravox_14b.zip

another is here
http://www.xinix.org/sven/Hvox.Demo.zip


splinux(Posted 2005) [#3]
thanks for the help, but i don't mean these terrains...
i mean 2D destructable terrains, that seem made by particles as a normal 2D particle effect.
View some examples:




ozak(Posted 2005) [#4]
They simply modify the image and allow the worms to go anywhere the image is "cleared". The particles are simply spawned where a hole is made.


splinux(Posted 2005) [#5]
thanks, but are you sure the terrain is just an image?
in my second example there is gravity for each image's pixel and it behave as made by particles...


ozak(Posted 2005) [#6]
That's the way the old worms where made. Although you could grab the pixels that are blown away and then insert them into a particle system if you where feeling frisky :)

I made a game like worms once where I had a scrolling background and then an image with 0 representing the color key (so the background showed through) and then when some of the image was blown away I simply filled it with 0. When moving my soldiers I simply tested the image for color 0 to see if they could move there. (Their bounding box that was).

Hope it helps.

Where can I find the game represented by the last screenshot? It looks cool :)


SoggyP(Posted 2005) [#7]
Hello.

Someone else posted about this kind of game recently. Search the fora for 'Scorch', 'Scorched Earth', 'Worms' and you should find something.

Goodbye.


splinux(Posted 2005) [#8]
thanks very much!


Where can I find the game represented by the last screenshot? It looks cool :)



it's Atomic Cannon, from www.isotope244.com, ;D


splinux(Posted 2005) [#9]
i found it!
http://www.codersworkshop.com/viewshowcase.php?id=184


ozak(Posted 2005) [#10]
Yes. That's what I was talking about :)


splinux(Posted 2005) [#11]
;)