Results 1 to 3 of 3

Thread: help with backgrounds

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Dec 2000
    Posts
    21

    Lightbulb

    i need to for my game to be have a background that is the same tile much as webpage that the background is too small to fill a page.
    supermova dont stop.
    i need you to complete the experiment will you be mine.

  2. #2
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088

    Unhappy

    I dont know about other people but I do not understand this question...

  3. #3
    Addicted Member
    Join Date
    Aug 2000
    Location
    Croatia
    Posts
    200
    Same goes for me here...

    Let me guess...you need a background from some web page for a game, but the picture you have is too small and you want to create background like IE does? If that's the case, then here's the code:

    For i = 0 To picSurface.Width Step picImage.Width
    For j = 0 To picSurface.Height Step picImage.Height
    picSurface.PaintPicture picImage.Picture, i, j
    Next j
    Next i

    picSurface is the PictureBox (or Form) on which the picture should be painted, and the picImage is a PictureBox (or an Image control) containing that picture.

Posting Permissions

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



Click Here to Expand Forum to Full Width