Jump to content

Adding a picture to the player item bar


arie2002

Recommended Posts

The

RenderGameOverlayEvent

fires a lot. First off, there is multiple

EventType

s (look at the class to see which exactly), like the Healthbar, the foodbar, etc. For each of these there is the Pre and Post event, which should be self-explanatory. You need to draw your stuff when one of these happens, the most sensible thing to do would be to react on EventType ALL and Post.

I still don't get how to use it...

I never post on the forums, but when I do, I have no clue how to do a certain thing.

Link to comment
Share on other sites

No.

Then I just have to say that you can not help me, because I have no idea what you mean with:

Bind the texture and then use drawTexturedModalRect from the Gui class.

You know how to render an image, do you? Then do that when the appropriate event fires.

I never post on the forums, but when I do, I have no clue how to do a certain thing.

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.