Ink Ball
by Abdullah Hamed · in Torque Game Builder · 04/12/2009 (4:44 am) · 3 replies
Hello,
I have been using a modified shoots behavior to shoot projectiles and have them fall acorving to gravitational force. thats in a 2D side scroller.
Now, after I got done, I want the projectiles to hit the wall to leave a mark, like an ink ball.
any ideas how to do this?
My idea was to kill the projectile, but replace it with an animation of the ink splattered on the wall. but, maybe there is another dynamic way of doing it. i mean, what if i hit a corner? i would much rather have a way to define an object that would break down and run on the ground or wall depending on its physical property, any liquid (water, ink, jelly, etc)
any ideas would be great.
I have been using a modified shoots behavior to shoot projectiles and have them fall acorving to gravitational force. thats in a 2D side scroller.
Now, after I got done, I want the projectiles to hit the wall to leave a mark, like an ink ball.
any ideas how to do this?
My idea was to kill the projectile, but replace it with an animation of the ink splattered on the wall. but, maybe there is another dynamic way of doing it. i mean, what if i hit a corner? i would much rather have a way to define an object that would break down and run on the ground or wall depending on its physical property, any liquid (water, ink, jelly, etc)
any ideas would be great.
#2
i mean i want the ink to stain the wall..... i think an animation that would play once would be sufficient right?
any other ideas?
04/13/2009 (2:01 am)
i have never worked with particle effects yet. can it be done using particle effects?i mean i want the ink to stain the wall..... i think an animation that would play once would be sufficient right?
any other ideas?
#3
I was thinking you could use a particle effect to get the drip or splash effect you're after, and set some kind of behavior for each particle that will leave something behind when it bounces off the wall.
I don't know how all of this would work in practice though. Just a thought.
Let me know how you go :)
04/13/2009 (2:36 am)
To be honest, I'm just starting to get into all this myself. I'm a fair way into my first game, but haven't done anything with particle effects yet (though I plan to).I was thinking you could use a particle effect to get the drip or splash effect you're after, and set some kind of behavior for each particle that will leave something behind when it bounces off the wall.
I don't know how all of this would work in practice though. Just a thought.
Let me know how you go :)
Torque Owner Samuel Cartwright
Samuel Cartwright