Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem loading Tiles
#10
With frmMirage.picBackSelect
.Width = 7 * PIC_X
.Height = 1000 * PIC_Y
.Picture = LoadPicture(App.Path + GFX2_PATH + "tiles" + GFX_EXT)
End With

The .Height property was 255. It only loaded a certain amount of tiles. The last tile loaded with the .height property at 255 is the last tile that works when I set it to 1000. I have tried different numbers and it doesnt change the fact nothing works past that one tile. I am not sure what that number is such as pixel wize.

' Image constants
Public Const PIC_X = 32
Public Const PIC_Y = 32

that is the image constants so maybe that would help you out as well.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)