particles terrain
Blitz3D Forums/Blitz3D Programming/particles terrain
| ||
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? |
| ||
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 |
| ||
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: |
| ||
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. |
| ||
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... |
| ||
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 :) |
| ||
Hello. Someone else posted about this kind of game recently. Search the fora for 'Scorch', 'Scorched Earth', 'Worms' and you should find something. Goodbye. |
| ||
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 |
| ||
i found it! http://www.codersworkshop.com/viewshowcase.php?id=184 |
| ||
Yes. That's what I was talking about :) |
| ||
;) |