Thanks Michael
I would love to see the zones being able to be defined as part of the level editor - allow the user to define the zones, and export them as data statements.
In my Bruce Lee game, I actually store the zones in data statements - here is the zone loading code so you can see what I mean :
Function _Configure_Zones
Restore ZoneData
For Z = 1 To 22
Read ItemNumber
Read Zones(Z).Level
Read Zones(Z).Active_Player_1
Read Zones(Z).Active_Player_2
Read Zones(Z).Type$
Read Zones(Z).X1
Read Zones(Z).Y1
Read Zones(Z).X2
Read Zones(Z).Y2
Read Zones(Z).Sprite
Next Z
ZoneData:
Data 1, 1, True, True, "Wall", 0, 216, 15, 338, 1101
Data 2, 1, True, True, "Wall", 624, 269, 639, 338, 1102
Data 3, 1, True, True, "Wall", 58, 90, 59, 139, 1103
Data 4, 1, True, True, "Floor", 0, 152, 415, 153, 1201
Data 5, 1, True, True, "Floor", 496, 145, 640, 146, 1202
Data 6, 1, True, True, "Floor", 400, 241, 640, 242, 1203
Data 7, 1, True, True, "Floor", 0, 340, 640, 341, 1204
Data 8, 1, True, True, "Ladder", 288, 156, 338, 283, 1301
Data 9, 2, True, True, "Wall", 0, 268, 15, 339, 1101
Data 10, 2, True, True, "Wall", 608, 172, 623, 239, 1102
Data 11, 2, True, True, "Wall", 608, 268, 623, 339, 1103
Data 12, 2, True, True, "Floor", 308, 220, 331, 221, 1104
Data 13, 2, True, True, "Floor", 0, 144, 159, 145, 1201
Data 14, 2, True, True, "Floor", 224, 152, 415, 153, 1202
Data 15, 2, True, True, "Floor", 480, 144, 640, 145, 1203
Data 16, 2, True, True, "Floor", 0, 240, 255, 241, 1204
Data 17, 2, True, True, "Floor", 384, 240, 640, 241, 1205
Data 18, 2, True, True, "Floor", 0, 340, 303, 341, 1206
Data 19, 2, True, True, "Floor", 336, 340, 640, 341, 1207
Data 20, 2, True, True, "Floor", 304, 340, 335, 341, 1208
Data 21, 2, True, True, "Ladder",304, 156, 335, 172, 1301
Data 22, 2, True, True, "Ladder",304, 232, 335, 284, 1302
EndFunction
I used the pointing the paintbrush method to obtain the coordinates, but you could allow the designer to enter "Wall Mode" or something and draw the boxes he/she would want for walls, and export the data when the level was saved.