Posted April 27, 20169 yr Hello guys, I am trying to show a tooltip, when the mouse hovers over some coordinates on the screen. The tooltip shows up, if I call it in the drawScreen()-method, but it doesn't work in the handleMouseInput()-method, where I need it. Here is my code: http://pastebin.com/H6nMPmjX Thanks in advance ThexXTURBOXx Bringing the best mod back alive! Our mod REFORGED! Balkon's Weapons for 1.8: https://github.com/TheOnlySilverClaw/Reforged/releases
April 27, 20169 yr That's because handleMouseInput shouldn't be drawing anything. You need to get the mouse's coordinates in drawScreen and if those coordinates are correct, draw the tooltip. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
April 27, 20169 yr Author Thank you! I thought it isn't different, if I just use the other method. Thanks! ^^ Bringing the best mod back alive! Our mod REFORGED! Balkon's Weapons for 1.8: https://github.com/TheOnlySilverClaw/Reforged/releases
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.