Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Overlay Relocation #13

Open
XvSkItZvX opened this issue Jul 28, 2017 · 4 comments
Open

Feature Request: Overlay Relocation #13

XvSkItZvX opened this issue Jul 28, 2017 · 4 comments

Comments

@XvSkItZvX
Copy link

I had already posted in the Curse Forge site, then I remember that the issue trackers are often used to track feature requests as well, and the project page isn't often read as often as the git.

This is a copy of the post from the project page.

I've began using another mod that changes the Client Interface in a number of ways. One of which moves the hunger bar to another location on the screen leaving the Saturation Overlay just kinda floating.

Would you be willing to make it possible for the user to move the overlay to other locations? It be greatly appreciated to maintain aesthetics as well as the massively convenient function of this mod.

Thanks in advance.

@squeek502
Copy link
Owner

It should be possible for you to move the hunger bar and AppleSkin's overlays (along with any other mods that modify hunger bar rendering) by using GL functions to translate the position before and after rendering.

An example of this can be found here:
https://github.com/RebelKeithy/DualHotbar/blob/master/src/main/java/com/rebelkeithy/dualhotbar/RenderHandler.java#L230-L269

@XvSkItZvX
Copy link
Author

I'm afraid I might not have been clear. I, regardless how much I'd desire, do not have the technical skills to do so myself. I can't program more than a child beginner, and that's in C++ at that. Granted same principles I'm not where near being able to see look at the example and know what it does, or what to do with it. Kinda depressing actually.

@squeek502
Copy link
Owner

Sorry, I misread--I thought you said that it was a mod you were developing that moves the hunger bar.

As for RPG-Hud, does the AppleSkin stuff render at all? It seems like it does a lot more than just move the hunger bar around.

@XvSkItZvX
Copy link
Author

No prob, I worded it oddly anyways. And yes the overlay renders as it normally does, though it tends be left floating where the vanilla interface normally is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants