30-08-2007, 11:09 PM
I've added it correctly as the tutorial said and i've read it line by line.
it highlights the following line:
in:
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?
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?