Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SetHighMaxMap
#3
Well under:
Code:
If HighMap(i).HighTile(0, 0).Ground  0 Then
                HIGH_MAX_MAPS = i
            End If
You could have:

Code:
If HighMap(i).HighTile(0, 0).Mask  0 Then
                HIGH_MAX_MAPS = i
            End If
Code:
If HighMap(i).HighTile(0, 0).Fringe  0 Then
                HIGH_MAX_MAPS = i
            End If
Because you most have a gfx on one of the layer if you dont want it black. And now if you have a house on the middle of a map, with warp to it. You can just put a tile in the top left. Or make a loop to check for a tile on all layers. The purpose with my code was that you be aware of what tile it checks. And so the SetHighMap sub would run fast.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)