Exp points floating over killed enemy?
3absh
Member Posts: 601
I'm trying to make experience points (which are gotten from a table) to float above an enemy actor right after he is killed and fade away - similar to RPG games.
I tried using 'show text' behavior but it didn't work as I imagined.
I think I need custom font to make this work and in a way make the png numbers identical to the numbers in the table, to which I have no clue how to do.
Could you guys help me solve this or refer to a similar thread, I searched everywhere and couldn't find a solution.
Comments
To do numbers as png is the same as doing a custom score. Custom fonts I suspect will work the same as the display text behavior as you won't be able to do fades.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
If you have just a few different experience point values, you could just make a .png of each and interpolate alpha to 0 and have the object move up using particles.
If you have a lot of different values, you might be able to work it a little bit. Its kind of a messy workaround, but I assume you could do it as follows.
I only put int 10 steps to make the alpha go from 1 to 0. You could increase the steps and make it smoother if you wanted.
@crestwoodgames
AMAZING!!! Thanks a lot, you just saved my life.