Thread: Read this if your good with Interfaces/Hovers

Results 1 to 5 of 5
  1. #1 Read this if your good with Interfaces/Hovers 
    Banned
    Join Date
    Dec 2011
    Posts
    532
    Thanks given
    219
    Thanks received
    53
    Rep Power
    0
    Add my MSN --> [Only registered and activated users can see links. ]
    I am currently making RS Shop Interfaces
    I need help with the hovers does not fucking work


    If you hover your cursor over a slot, the slot will look like this: (Nevermind the coin icon)
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Dec 2011
    Posts
    532
    Thanks given
    219
    Thanks received
    53
    Rep Power
    0
    Thread Updated!
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Dec 2011
    Posts
    131
    Thanks given
    0
    Thanks received
    1
    Rep Power
    13
    "We all think were pro coders...Until we hit interfaces...."
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Aug 2008
    Posts
    56
    Thanks given
    0
    Thanks received
    2
    Rep Power
    1
    You would make a hoverBox and a hoverdBox.

    Spoiler for Voids:
    Code:
    	public static void addHoverButton(int i, String imageName, String text, int contentType, int hoverOver, int aT) {//hoverable button
            RSInterface tab = addTabInterface(i);
            tab.id = i;
            tab.parentID = i;
            tab.type = 5;
            tab.atActionType = aT;
            tab.contentType = contentType;
            tab.aByte254 = 0;
            tab.mOverInterToTrigger = hoverOver;
            tab.sprite1 = new Sprite(""+imageName);
            tab.sprite2 = new Sprite(""+imageName);
    		tab.width = tab.sprite1.myWidth;
    		tab.height = tab.sprite1.myHeight;
            tab.tooltip = text;
        }
        
        public static void addHoveredButton(int i, String imageName, int IMAGEID) {//hoverable button
            RSInterface tab = addTabInterface(i);
            tab.parentID = i;
            tab.id = i;
            tab.type = 0;
            tab.atActionType = 0;
            tab.isMouseoverTriggered = true;
            tab.aByte254 = 0;
            tab.mOverInterToTrigger = -1;
            tab.scrollMax = 0;
            addHoverImage(IMAGEID, ""+imageName);
            tab.totalChildren(1);
            tab.child(0, IMAGEID, 0, 0);
        }
    
        public static void addHoverImage(int i, String name) {
            client c = new client();
    		RSInterface tab = addTabInterface(i);
            tab.id = i;
            tab.parentID = i;
            tab.type = 5;
            tab.atActionType = 0;
            tab.contentType = 0;
            tab.aByte254 = 0;
            tab.mOverInterToTrigger = 52;
            tab.sprite1 = new Sprite(""+name);
            tab.sprite2 = new Sprite(""+name);
    		tab.width = tab.sprite1.myWidth;
    		tab.height = tab.sprite1.myHeight;
        }


    just set the boundaries to the original image you want to hover over.

    Example:

    Code:
    		addHoverButton(15010, "exit 0", "Close Window", -1, 15011, 1);
    		addHoveredButton(15011, "exit 1", 15051);
    then set the location to the same so it hovers the "hoveredButton" in the same spot as the original

    Code:
    		setBounds(15010, 421, 29, 3, Interface);
    		setBounds(15011, 421, 29, 4, Interface);
    Reply With Quote  
     

  5. #5  
    Banned
    Join Date
    Dec 2011
    Posts
    532
    Thanks given
    219
    Thanks received
    53
    Rep Power
    0
    I suck at interfaces
    Reply With Quote  
     


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. Need someone good with interfaces
    By Gr1nderscape in forum Requests
    Replies: 2
    Last Post: 02-17-2012, 10:55 AM
  2. Paying $$$- Adding Hovers to interfaces.
    By ChrissyPoo in forum Help
    Replies: 2
    Last Post: 07-15-2011, 03:17 AM
  3. [MUST READ]How to make a good server!!![/MUST READ]
    By shoopdawhoop in forum Tutorials
    Replies: 28
    Last Post: 06-11-2011, 10:25 PM
  4. Good minigame interfaces
    By Whired in forum Help
    Replies: 0
    Last Post: 07-03-2009, 02:49 AM
  5. Somebody good at interfaces
    By Paketa in forum Requests
    Replies: 1
    Last Post: 06-08-2009, 05:28 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
  •