Jump to content

Need for web browser support [In-Game GUI etc.]? How to scan for annotations?


mepeisen

Recommended Posts

Hi.

I was looking for a way to create a nice presentation GUI for several tasks on some kind of dashboard. For example statistics on a industrial park (yes, i am a statistics nerd).

As a web developer I ended up in frustration looking for nice GUIs and finally search for a way to embedd web sites within minecraft screens. However at the moment I got a pre alpha working. It is able to display any web page with help of cef (chromium embedded framework). Now I will work on some bridge to call annotation marked methods on either client and server from javascript so that I can gather data to be displayed.

First of all: Is there any commonly used annotation scanner? Something similar than reflections scanners? Or should I embedd it in a custom namespace? I am thinking of marking any class with annotations like @WebFrontend and the Screen needs to fetch them, create an instance and embedd it into the displayed web page so that they can be called from web sites.

Second question to all of you: Is there any need of this being published? For example if you need to create a complex gui wihtin your own mod. Or display some videos within an adventure game you could use it.

Thanks for your comments.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.