FearMe Posted February 10, 2014 Posted February 10, 2014 (edited) variables; final private public static int mX, mY, angle; final private public static Image image; onstart; useDefaultPaint(false); try { URL url = new URL("https://dl.dropboxusercontent.com/u/45922594/cursor.png"); image = ImageIO.read(url); } catch (IOException e) { } onpaint; AffineTransform old = g.getTransform(); // put this after you declare a graphics2d ////////////// mX = client.getMousePosition().x; mY = client.getMousePosition().y; g.rotate(Math.toRadians(angle += 4), mX, mY); // put all this at the end if (angle == 360) angle = 0; g.drawImage(image, mX-15, mY-11, null); g.setTransform(old); Edited February 10, 2014 by FearMe 1
wowggbad Posted February 10, 2014 Posted February 10, 2014 wow, I laughed at this way more then I should have.
FearMe Posted February 10, 2014 Author Posted February 10, 2014 (edited) Edited February 10, 2014 by FearMe
Rah Posted February 11, 2014 Posted February 11, 2014 Lol, this is awesome. If I ever get around to making another script, I'll implement it as a easter egg or something.
FinBand Posted February 11, 2014 Posted February 11, 2014 Lol, this is awesome. If I ever get around to making another script, I'll implement it as a easter egg or something. Haha I like that idea
harrynoob Posted February 12, 2014 Posted February 12, 2014 u all suck could've made it volatile transient strictfp, at least
Amazing Posted February 14, 2014 Posted February 14, 2014 Give me errors like fuck http://gyazo.com/ea54968368a19faad702e38cc98110da