Saturday 15 August 2015

LibGDX drawing text by 3d coordinate -



LibGDX drawing text by 3d coordinate -

i've been trying out basic 3d , physics libgdx lately , came across problem couldn't solve.

in game right have player , boss deal harm each other , health bars each. want harm dealt each entity show text on entity dealt damage. player centered drawing text on him easy, enemy can in several different positions , i'm not sure how translate position way draw text straight on him.

example images:

https://drive.google.com/file/d/0bwgxnbhxyov2ujvvrxfwc3mzeuu/view?usp=sharing , https://drive.google.com/file/d/0bwgxnbhxyov2ae1ebgt2q25hzfu/view?usp=sharing

thanks in advance!

text 3d libgdx

No comments:

Post a Comment