Adblock breaks this site

RS world map???

Discussion in 'Programming General' started by master447, Nov 5, 2007.

  1. master447

    master447 Active Member
    Banned

    Joined:
    Nov 5, 2007
    Posts:
    169
    Referrals:
    0
    Sythe Gold:
    0
    RS world map???

    is there a way that i can make a world map work like the one on runescape with the hole drag and move thing???
     
  2. jdsfighter

    jdsfighter Forum Addict
    Visual Basic Programmers

    Joined:
    Jan 21, 2007
    Posts:
    603
    Referrals:
    0
    Sythe Gold:
    0
    RS world map???

    Thats actually rather easy. Go to runescape and download the map picture there. Put it in a picture box called picture1 and use the following code.

    Code:
    Dim X1, Y1
    
    Private Sub Picture1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
    X1 = X
    Y1 = Y
    End Sub
    
    Private Sub Picture1_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
    Picture1.Left = Picture1.Left - (X1 - X)
    Picture1.Top = Picture1.Top - (Y1 - Y)
    End Sub
     
  3. master447

    master447 Active Member
    Banned

    Joined:
    Nov 5, 2007
    Posts:
    169
    Referrals:
    0
    Sythe Gold:
    0
    RS world map???

    ty this helped :0
     
  4. UmagChris

    UmagChris Active Member

    Joined:
    Mar 13, 2007
    Posts:
    135
    Referrals:
    0
    Sythe Gold:
    0
    RS world map???

    Or you can make a new form and get it to connect to the site where the map is

    For example..

    Code:
    WebBrowser1.Navigate "http://www.runescape.com/aff/runescape/worldmap/popupworldmap.ws"
    Oh and you will need the anti redirection code as well..

    Code:
    If URL = "http://www.runescape.com/" Then Cancel = True
    You should know where to put these. Anyway this is just a basic map, and needs work. Good luck with this :)
     
  5. cwade12c

    cwade12c Guest

    Referrals:
    0
    RS world map???

    Just get the full picture and add it into your form. Use a code which allows you to drag accross your Form interface. :/
    That way nobody has to wait for Java or anything to load. Swift and Easy as hell.

    An additional tool you could add would be a Search Tool. Allow users to search for towns or places, and when a query matches, it will take them to the coordinates on the map you have included, as a bitmap image.

    Goodluck!
     
< Rattys Tutorials | What's wrong with this.. >


 
 
Adblock breaks this site