Thread: How to move default interface location in-game?

Results 1 to 7 of 7
  1. #1 How to move default interface location in-game? 
    Registered Member
    Join Date
    Mar 2014
    Posts
    35
    Thanks given
    13
    Thanks received
    7
    Rep Power
    11
    Currently working on a project, but ran into roadblock with custom interfaces that require more of the screen than usual.

    Attached image

    Is my current situation, but I'm trying to move the starting position for the interface further to the top left. At the moment, I noticed the interface is a defined 512 x 334 box. I tried changing the dimensions (which worked) but it overlapped the inventory (I labeled it as '1' in the picture), so I reverted it back to the 512 x 334 box.

    Appreciate any tips or pointers in the right direction.
    Reply With Quote  
     

  2. #2  
    Development Services √

    Oogle's Avatar
    Join Date
    Apr 2012
    Age
    25
    Posts
    3,976
    Thanks given
    650
    Thanks received
    516
    Rep Power
    483
    Have you just cache packed an image ??

    If not, then post the code here and lemme take a look


    Attached image

    Attached image
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Mar 2014
    Posts
    35
    Thanks given
    13
    Thanks received
    7
    Rep Power
    11
    Quote Originally Posted by OogleBoogle View Post
    Have you just cache packed an image ??

    If not, then post the code here and lemme take a look
    Nah, I just made in RSInterface class.

    Code:
    	public static void MondayMayhemFightDefault(TextDrawingArea atextdrawingarea[]) {
    		RSInterface rsinterface = addScreenInterface(26504);
    		addSprite(26505, 1, "events/monday/monday", 0, 0);
    		addButton(26515, -1, "", 37, 40, "Exit", 5);
    		rsinterface.totalChildren(2);
    
    		rsinterface.child(0, 26505, 0, 0);
    		rsinterface.child(1, 26515, 470, 0);
    	}
    Reply With Quote  
     

  4. #4  
    Registered Member
    Tamatea's Avatar
    Join Date
    Aug 2010
    Posts
    1,317
    Thanks given
    401
    Thanks received
    357
    Rep Power
    2457
    That's in your interface rendering code mate, not the way it's been made.
    Spoiler for sig too large:


    Attached image
    Attached image
    Reply With Quote  
     

  5. Thankful users:


  6. #5  
    Registered Member
    Join Date
    Mar 2014
    Posts
    35
    Thanks given
    13
    Thanks received
    7
    Rep Power
    11
    Quote Originally Posted by Tamatea View Post
    That's in your interface rendering code mate, not the way it's been made.
    Alright, so I just need to check around the Client class for where it draws out the interface?
    Reply With Quote  
     

  7. #6  
    Registered Member
    rebecca's Avatar
    Join Date
    Aug 2017
    Posts
    1,071
    Thanks given
    862
    Thanks received
    915
    Rep Power
    5000
    Reply With Quote  
     

  8. Thankful user:


  9. #7  
    Registered Member
    Join Date
    Mar 2014
    Posts
    35
    Thanks given
    13
    Thanks received
    7
    Rep Power
    11
    Many thanks! Will start adjusting this as soon as I get a little sleep
    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. Replies: 1
    Last Post: 10-29-2018, 02:54 PM
  2. Replies: 2
    Last Post: 03-05-2016, 11:27 PM
  3. Replies: 0
    Last Post: 02-27-2012, 07:01 PM
  4. Replies: 10
    Last Post: 12-25-2011, 01:29 AM
  5. How to move 1st Item Over in BoB
    By Knox in forum Help
    Replies: 2
    Last Post: 12-20-2011, 09:54 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
  •