Thread: [VENCILLIO]New loading bar

Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1 [VENCILLIO]New loading bar 
    Registered Member
    Join Date
    May 2016
    Posts
    23
    Thanks given
    12
    Thanks received
    5
    Rep Power
    16

    The original loading bar of vencillio's client was really out of the frame, so I decided to redo the loading bar and share it with you guys!

    Open Client.java
    Find this:
    Code:
    drawSmoothLoading

    Replace this:
    Code:
    private static Sprite BACKGROUND;
    	private static Sprite LOADING_BAR_EMPTY;
    	private static Sprite LOADING_BAR_FULL;
    
    	static {
    		try {
    			BACKGROUND = new Sprite(new URL("https://www.dropbox.com/s/teoprxo57glh2g9/background.png?dl=1"));
    			LOADING_BAR_EMPTY = new Sprite(new URL("https://www.dropbox.com/s/y6znxtojbtbhv91/frame.png?dl=1"));
    			LOADING_BAR_FULL = new Sprite(new URL("https://www.dropbox.com/s/6qy16vg2nb8rri3/fullbar.png?dl=1"));
    		} catch (MalformedURLException e) {
    			e.printStackTrace();
    		}
    	}
    
    	public void drawLoadingText(int percent, String message) {
    		anInt1079 = percent;
    		aString1049 = message;
    		resetImageProducers();
    		if (titleStreamLoader == null) {
    			super.drawLoadingText(percent, message);
    			return;
    		}
    		refreshFrameSize();
    		aRSImageProducer_1109.initDrawingArea();
    		int x = 765 / 2 - 543 / 2;
    		int y = 503 / 2 - 20 + 8;
    		int width = 540;
    		int height = 32;
    		double offset = 2.00;
    		BACKGROUND.drawSprite((frameWidth / 2) - (BACKGROUND.myWidth / 2), (frameHeight / 2) - (BACKGROUND.myHeight / 2));
    		LOADING_BAR_EMPTY.drawARGBSprite(765 / 2 - width / 2, 503 / 2 - height / 2);
    		LOADING_BAR_FULL.drawARGBSprite(765 / 2 - width / 2, 503 / 2 - height / 2);
    		new DrawingArea();
    		DrawingArea.drawAlphaGradient(
    				x + ((int) Math.round(percent * offset) / 2), y,
    				width - ((int) Math.round(percent * offset) / 2), height, 0x000000, 0x000000, 200);
    		regularText.method382(0xffffff, (765 / 2), message,  503 / 2 + 5, true);
    		aRSImageProducer_1109.drawGraphics(0, super.graphics, 0);
    		if (welcomeScreenRaised) {
    			welcomeScreenRaised = false;
    		}
    	}
    Sprites: https://www.dropbox.com/s/9g99dych6p...gbarl.rar?dl=0

    Upload them to your dropbox, change links and you're ready to go!

    If you're using this, rep and thanks are appreciated.



    Credits: OS-PVP for sprites.
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    May 2016
    Posts
    78
    Thanks given
    1
    Thanks received
    9
    Rep Power
    43
    looks really neat mate.

    but mine doesn't load all the way, here have a look. can you help with this?
    The Client Starts with Please Wait.... and the ending is the Login Box


    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Sep 2015
    Age
    33
    Posts
    8
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Thanks for this
    Reply With Quote  
     

  4. #4  
    Best Rat Donor

    Australisch's Avatar
    Join Date
    Nov 2015
    Posts
    2,049
    Thanks given
    968
    Thanks received
    481
    Rep Power
    4962
    Nice release.
    Rsn: vEetswa
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Aug 2010
    Posts
    13
    Thanks given
    1
    Thanks received
    0
    Rep Power
    1
    This looks really nice. Will definitely use this.
    Reply With Quote  
     

  6. #6  
    Registered Member
    hacker's Avatar
    Join Date
    Jun 2013
    Posts
    1,409
    Thanks given
    576
    Thanks received
    580
    Rep Power
    5000
    Quote Originally Posted by PAROGA View Post
    looks really neat mate.

    but mine doesn't load all the way, here have a look. can you help with this?
    The Client Starts with Please Wait.... and the ending is the Login Box


    multiply it by 100 or something like htat i forgot
    Attached image
    Reply With Quote  
     

  7. #7  
    aaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaa
    Planets's Avatar
    Join Date
    Aug 2014
    Age
    29
    Posts
    2,159
    Thanks given
    673
    Thanks received
    1,955
    Rep Power
    5000
    Quote Originally Posted by Hacker View Post
    multiply it by 100 or something like htat i forgot
    u tried bro

    Reply With Quote  
     

  8. #8  
    Registered Member
    hacker's Avatar
    Join Date
    Jun 2013
    Posts
    1,409
    Thanks given
    576
    Thanks received
    580
    Rep Power
    5000
    Quote Originally Posted by Substance View Post
    u tried bro
    stfu get out of client section, u cant even code
    Attached image
    Reply With Quote  
     

  9. #9  
    aaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaa
    Planets's Avatar
    Join Date
    Aug 2014
    Age
    29
    Posts
    2,159
    Thanks given
    673
    Thanks received
    1,955
    Rep Power
    5000
    Quote Originally Posted by Hacker View Post
    stfu get out of client section, u cant even code
    kk will do str8 after i multiply it by 100

    Reply With Quote  
     

  10. Thankful user:


  11. #10  
    Registered Member
    hacker's Avatar
    Join Date
    Jun 2013
    Posts
    1,409
    Thanks given
    576
    Thanks received
    580
    Rep Power
    5000
    Quote Originally Posted by Substance View Post
    kk will do str8 after i multiply it by 100
    multiply by 10* my bad
    Attached image
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. [Galkon's Refactored] New loading bar (Almost 100%)
    By Ryan Rebelle in forum Tutorials
    Replies: 55
    Last Post: 05-15-2014, 01:56 AM
  2. Error trying to do new loading bar
    By i pk 0wn u in forum Help
    Replies: 12
    Last Post: 02-05-2011, 03:09 AM
  3. New loading bar and login box
    By i pk 0wn u in forum Help
    Replies: 4
    Last Post: 01-02-2011, 05:57 PM
  4. New loading bar bug :(
    By Rev3rt in forum Help
    Replies: 4
    Last Post: 12-19-2010, 04:43 PM
  5. New Loading Bars [RS]
    By gamerx in forum Graphics
    Replies: 5
    Last Post: 09-19-2010, 12:17 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •