Jump to content

Change the HUD Position?


deantonious

Recommended Posts

I'm not able to make it. Someone can help me with the code? Please

 

Here is some sudo-code type thing:

 

public class RenderingEventHandler {
    @ForgeSubscribe
    public void renderPre ( RenderGameOverlayEvent.PRE event ) {
        // hook into code for the types of overlays. E.g., experience, health, armor, food
        // use GL11.glTranslated ( par1, par2, par3 );
        // 
        // par1 = Move it so far on the X-Axis
        // par2 = Move it so far on the Y-Axis
        // par3 = Move it so far on the Z-Axis, irrelevant with GUI's. So it always equals 0 when working with a GUI
        // 
        // move on to the next overlay and move it
    }
}

I am Mew. The Legendary Psychic. I behave oddly and am always playing practical jokes.

 

I have also found that I really love making extremely long and extremely but sometimes not so descriptive variables. Sort of like what I just did there xD

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.

Announcements



×
×
  • Create New...

Important Information

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