Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/22/17 in all areas

  1. That is both the only way AND the correct solution, as you have discovered.
    1 point
  2. You should use the fontRendererObj directly: mc.fontRendererObj.drawString("fade string", sr.getScaledWidth() / 2 - mc.fontRendererObj.getStringWidth("fade string") / 2 , sr.getScaledHeight() - 97, color); And don't forget to add the alpha: int color += (alpha << 24) That's how you get the transparency. For the fade-out you still need to setup a timer or use the partialTicks like in the GuiIngame.
    1 point
  3. I totally forgot about the subtitles and overlay messages from Minecraft! In the GuiIngame class by line 241. Here is handled how to fade out and display a overlay message for a specific time. (When a record is played. In that fancy, colored way) But like Matryoshika already said. Here you have to know how to use OpenGL.
    1 point
  4. I'm not sure if you can fade out a text in Minecraft on a normal way. I never done that before
    1 point
  5. I'm on a phone and can't see if a post is read or not.
    1 point
×
×
  • Create New...

Important Information

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