ParaToxic
-
Posts
425 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Posts posted by ParaToxic
-
-
Hey , I am very confused right now
I make a animated texture class and want to save some coordinates from a file into TVec2 variables.
As the loaded file contain the number of the coordinates I have to create a dynamic TVec2 Array.
So I write TVec2* coords;
and later (only example) coords = new TVec2[5];
But I become an error.
Why?
-
Thanks ;D
-
As I make a new explosion class with a crysis like explosion right now,I will fix that in the new version.
-
Hey I have a question .Can I load a kind of pieces from one texture file ? Look at that:
I think when I programmed in Blitz3D it was possible to call every pic in the texture to make an animated texture
-
In the Explosion.cpp file (overwrite the other):
else if(Trailtime < 0.1) { for(int i = 0;i < 6;i++) PauseEmitter(smoke[i]); if(EmitterPaused(smoke[5])) active = false; //The emitter are ready for a new explosions }
Now when you check the active state first it works ;D
-
hmmm wait I going to fix that
-
I think that the Bodys are static(when you load a model a phy file will create) ,so you can't scale that.But you can try to make a physics hull in your game(in C++) with the Surface of the mesh und try to scale it.,
-
yes I know this error.Have you created some explosions in the same time?
You have to wait for the active variable,because when you create a new explosion in the same time as the other isn't ready (not all emitters are created) you overwrite the old emitters,so the old emitter wouldn't stop.
When you create only 1 class ,you have to wait for the "active" variable,than it would work
Something like :
Explode ex; loop: ex.Update(); if(KeyHit(KEY_A) && ex.active == false) ex.CreateExplosions(Vec3(2,3,4),1);
-
I know I saw the SetEmitterVelocity and SetEmitterAcceleration command.I think I will make it a bit more realistic with that commands.
-
Here is the source of explosion class.It's very basic and I think everybody can edit it to optimize it for your application.
(included materials and textures
Test:
Explode explosion0; explosion0.CreateExplosions(Vec3(10,10,10),1); and in the loop explosion0.Update();
Hl2 smg?Why?
- 1
-
The smoke comes a little bit later as shown in the video ,because I recorded only with 30 FPS.When I finish my game you will see it
-
Here the post for the video : http://www.leadwerks.com/werkspace/topic/4726-explosions-for-my-little-game/
-
Hey I finished my explosion class and I think it's ok,so I will show it here :]
http://www.youtube.com/watch?v=HrnU8z6Jptw&feature=youtu.be (it will work in a few minutes)
- 2
-
Wow nice video.Thanks I think now I can make a cool explosion ;D
-
Hmm I mean a kind of smoke trails going in all directions who simulates the flying pieces of the exploded material.I tried to make that with the waver value and a trail texture ,but it wasn't good ,because the particles aren't pointed to the start point like here : http://www.google.de/imgres?imgurl=http://images.gamedev.net/features/art/howtoPartFx/fig1.png&imgrefurl=http://www.gamedev.net/page/resources/_/creative/visual-arts/make-a-particle-explosion-effect-r2701&usg=___LeitlfvLbGEjelIi7Z1aoiByF4=&h=380&w=608&sz=244&hl=de&start=0&zoom=1&tbnid=5sdX4dDvTDAs-M:&tbnh=135&tbnw=192&ei=UbxoT56cGcWGswbeoPz4Bw&prev=/search%3Fq%3Din%2Bgame%2Bexplosion%26um%3D1%26hl%3Dde%26sa%3DN%26biw%3D1599%26bih%3D779%26tbm%3Disch%26prmd%3Dimvnsa&um=1&itbs=1&iact=hc&vpx=559&vpy=300&dur=3629&hovh=177&hovw=284&tx=174&ty=114&sig=101572019509933518421&page=1&ndsp=29&ved=1t:429,r:9,s:0 (look at the sprak and smoke trails emitter)
Is there a way to make a kind of splash emitter like in the water demo?
-
Is there a way to create a smoke trail emitter ?Because it must expand in all directions and I don't know how to make that.
-
Thanks works well
-
And another question about the framework.For making heat haze I have to get the lightbuffer and set it to the material.I know that the Framework renderer has a lightbuffer ,so it render the lights not in the backbuffer,but I don't know how to get them.
I hope somebody can help me ;D
-
-
Hmm I don't know why the emitter crash my FPS down.I have an emitter with 100 Particles and when I stand near of it my FPS goes from 100 to 30 .
-
Wow very nive picture and description.I will try it but how do I make this Blast wave?The normal emitter with an spec. texture?
-
Hey volks,
I make a little game right now where I use a RPG and need a explosion effect when the rocket collides with the ground.
I think I have to make that with emitters but how?
-
There is no direct way to do that , because the Editor looks for Models in the path of itself
-
Yes the PointEntity function is good but I need a function that need the entity and the new position.I haven't got 2 object ,only one and a position
Dynamic TVec2 Array?
in Programming
Posted
I didn't become a compiler error but when the application started(1-2 secs after it starts).
The window says(in german )
Unbehandelte Ausnahme bei 0x77bfe754 in gui.exe: 0xC0000005: Zugriffsverletzung beim Schreiben an Position 0x00000000.
Sorry it was an error in my class with the ifstream
Pls delete