Nikos123 Posted December 29, 2015 Share Posted December 29, 2015 I quite like how hit points are done in the defiance game. I was wanting to show them in mine when units fire on an enemy by either floating hit point text in 3d or in a 2d canvas in a layer above. What would recommend? Quote Link to comment Share on other sites More sharing options...
Wingnut Posted December 29, 2015 Share Posted December 29, 2015 What? Huh? What the heck is Nikos asking about now? BabylonJS dynamicTexture text on a plane parented to the camera vs.Absolute-positioned html span/div? Is that what he's asking about? Me, personally, I like a big DIV packed with SPANS across the top of my canvas. Easy CSS padding, margins, borders, fonts, good for putting all sorts of junk upon. But that's me. Others' mileage may vary. http://urbanproductions.com/wingy/babylon/thruster/t26/flyer26.htm (made before I knew about toFixed and there's some dark textures in the scene. I should update that thing someday, eh?) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.