So, I am working on a new project(trying to keep busy).
I want to have text either appear on the screen as a HUD, but I don’t really like that or I was thinking maybe I could do either of these two:
- Find a way to pass the information to an external “text box” to the right of my GLCanvas(viewport), but I’m not exactly sure how to do that. I do know how to use Swing but I’m not sure exactly how to do it for applets, especially with a GLCanvas already on it.
or
- Is it possible to pass information from an applet to say, PHP or HTML or JavaScript actively on a page? I wouldn’t see how, or if it’d be worth it. I just figured I’d ask.
Just like exploring my options, and learning new things. The main reason why I don’t want to do a HUD is just for FPS sake, and I want this to be a clean looking applet, not some Graphics class stretched around text HUD on-top of my already dodgey 3-D world.