Thread: Mapback is white

Results 1 to 3 of 3
  1. #1 Mapback is white 
    Registered Member

    Join Date
    Jul 2007
    Posts
    471
    Thanks given
    0
    Thanks received
    0
    Rep Power
    288


    Thats my current mapback can someone fix it so i can see my map i think it needs to be filled or something :\.
    Reply With Quote  
     

  2. #2  
    35518
    Guest
    How are you adding it?
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Jul 2007
    Posts
    471
    Thanks given
    0
    Thanks received
    0
    Rep Power
    288
    if (s.equalsIgnoreCase("MAPBACK") && i >= 0)
    {
    try {
    Image image = Toolkit.getDefaultToolkit().getImage("./Sprites/MAPBACK "+i+".png");
    anIntArray1439 = new int[anInt1440 * anInt1441];
    PixelGrabber pixelgrabber = new PixelGrabber(image, 0, 0, anInt1440 , anInt1441 , anIntArray1439, 0, anInt1440 );
    pixelgrabber.grabPixels();
    You mean that code? I think i need to make it transparent but idk how.
    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

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •