Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Clear all Layers
#4
Just one thing for performance, replace the
Code:
For y = 0 To MAX_MAPY
    For x = 0 To MAX_MAPX
        If frmMapEditor.optLayers.Value = True Then
with
Code:
If frmMapEditor.optLayers.Value = True Then
    For y = 0 To MAX_MAPY
        For x = 0 To MAX_MAPX
This way it will not check the if max_mapy*max_mapx times... It's the same thing, but little faster(unnoticeable)...
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)