| 01-10-2009, 03:07 AM | #1 |
Couldn't find a good answer for this one.. How do you make floating text center on top of a unit perfectly? Anyone whos experimented with this will notice it will change as the facing (of the current players camera?) changes. |
| 01-10-2009, 04:45 AM | #2 |
Offset by char width, get current camera angle of each player and adjust offset locally. Aka, not worth doing. |
| 01-10-2009, 07:13 AM | #3 |
getting string lenght char by char is damn slow also it trashing string table. |
| 01-10-2009, 07:19 AM | #4 | |
Quote:
Slow, yes. Adding extra stings to the string table, not so much. Only 255 possible chars with ASCII, if you analyze one at a time. |
| 01-10-2009, 08:04 AM | #5 | |
Quote:
the thing is that the tag will only be visable to users within a relatively small radius, and the camera is 3rd person fixed, so getting the angle isn't a problem, it's just the offsetting based on the width which would be semi-challenging |
