Flying up score image
by Funky Diver · in Torque Game Engine · 12/19/2004 (3:06 am) · 2 replies
Greetings,
I would like to make a small effect of a flying up score, like in some RPG (esp. Japanese) when a monster was hit and the applied damage value shows up and flys up, dissapearing.
How can it be possible done in Torque? Particles?
It seems, that I need to do the following:
1) Create a texture in memory
2) Write a number on the texture
3) Create a particle (? I'm not sure...)
4) Set the new texture to the particle (how to apply a texture in memory to the particle datablock?)
5) Add particle to the scene (monster position)
And I completely have no idea how to do 1-2 and 4.
Any ideas?
Thank you!
Alex.
I would like to make a small effect of a flying up score, like in some RPG (esp. Japanese) when a monster was hit and the applied damage value shows up and flys up, dissapearing.
How can it be possible done in Torque? Particles?
It seems, that I need to do the following:
1) Create a texture in memory
2) Write a number on the texture
3) Create a particle (? I'm not sure...)
4) Set the new texture to the particle (how to apply a texture in memory to the particle datablock?)
5) Add particle to the scene (monster position)
And I completely have no idea how to do 1-2 and 4.
Any ideas?
Thank you!
Alex.
#2
void GuiShapeNameHud::onRender( Point2I, const RectI &updateRect)
function is the key.
12/24/2004 (3:06 am)
I've got the idea ;)void GuiShapeNameHud::onRender( Point2I, const RectI &updateRect)
function is the key.
Torque Owner Justin Morris