Textdraw move (TD_Move) suggestions needed for my plugin update.
#1

Hello guys, I'm currently working on a nice update for my td plugin and hopefully get help from someone to release it for linux too.

So now, I have 2 methods for making td move system.

Type 1 (Move default textdraws - All)
- This one will allow you to move any textdraw you created and fade out / in / animate size, font, color etc and Loop them. Upside: Animate any TD. Downside: Slow Processing.

Type 2 (Create seperate slots for moving textdraws - CreateMovingTD(...))
- These will have their own slots upto a maximum of ~50 and can be animated just like above^.
Upside: It will be extremely faster and less laggy. Downside: Limit.

Which one should I use?
Reply
#2

Lol i have no idea. You are the one that know whats better for us. Why dont you make two versions? In one use type 1 in version two use type 2.
Lol.
Reply
#3

Type 1
Reply
#4

Make a function to move TextDraws instead?
When creating TextDraw you store their position and status in an array.

The function will be as follow
Код:
MoveTextDraw(Text:textdrawid, Float:xpos, Float:ypos)
And maybe also a timered movement for creating simpler effect
Код:
MoveTimedTextDraw(Text:textdrawid, movementype);
By movement type users can choose from some type of pre-listed movements
For example:
Код:
enum
{
UPDOWN,
LEFTRIGHT,
ROUND
}
I don't know these are just raw ideas... try. The more user friendly is, the better it is

Then a simple algorithm that calculates the number of processes needed for a fluid movement, you will need some testing but the final effect would be nice.
Good luck with that :P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)