Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scrolling Maps Tut Error.
#1
I've added it correctly as the tutorial said and i've read it line by line.

it highlights the following line:

Code:
With SMaps(MapNum).Tile(RealX, RealY)


in:

Code:
If MapNum = -1 Then
        With Map.Tile(RealX, RealY)
              Ground = .Ground
              Anim1 = .Mask
              Anim2 = .Anim
        End With
    Else
        With SMaps(MapNum).Tile(RealX, RealY)
              Ground = .Ground
              Anim1 = .Mask
              Anim2 = .Anim
        End With
    End If

This piece is placed in Sub BltTile, I'm getting Subscript out of range, Run-Time error 9.

Anyone know if I forgot anything or so?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)