Particles over player
by Teromous · in Torque Game Builder · 02/12/2008 (4:14 pm) · 1 replies
I've been using the tutorials and so far it isn't helping me, so I figured I'd ask for help outright.
I'm trying to figure out how to call a particle effect, using code. For instance, the player hits "b" and there's a sound effect and a particle effect appears over the player. I have figured out the keybinding, sound, and how to get the position of the player to place the effect but I can't seem to get the effect to appear...
A sample code piece would be appreciated but understanding how it works is even more appreciated...I'll continue trying this tonight...hopefully I'll find an answer soon.
I'm trying to figure out how to call a particle effect, using code. For instance, the player hits "b" and there's a sound effect and a particle effect appears over the player. I have figured out the keybinding, sound, and how to get the position of the player to place the effect but I can't seem to get the effect to appear...
A sample code piece would be appreciated but understanding how it works is even more appreciated...I'll continue trying this tonight...hopefully I'll find an answer soon.
About the author
Torque Owner Teromous
t2dParticleEffect::loadEffect() - Cannot Load-Effect; not in a scene!
t2dParticleEffect::playEffect() - Cannot Play; no emitters!
I'm trying here lol...