Alright, in a small lapse while i have had my computer taken away, i decided to try a visualization of a compression method i have been thinking about. It uses 2 layers, one that is overlayed over the first to make the complete level. Each individual layer is able to be compressed in opposite directions using RLE, and so its much more efficient than using a single direction RLE for a single level. So there is a vertical layer and a horizontal layer, and they overlay to create the final level. This has yielded a compression of over 20 bytes off a previously 60 byte map, so it has great potential. And at the worse, i can put all the data into one layer and have it be regular 1 layer RLE.
The *downside* to all this, is that the levels have to be hand compressed, and it takes about 20 min to do a single level and get good compression. It was very difficult to get the screenshot below to have good compression, but it ended up cutting over 20 bytes off. This means that for a level editor, it would not be able to fulfill the full compression of levels, and would have to default to regular RLE.
Here is an example Basic program decoding some of this new data. Also there is a picture showing the two layers of the level. Red is transparency.
The *downside* to all this, is that the levels have to be hand compressed, and it takes about 20 min to do a single level and get good compression. It was very difficult to get the screenshot below to have good compression, but it ended up cutting over 20 bytes off. This means that for a level editor, it would not be able to fulfill the full compression of levels, and would have to default to regular RLE.
Here is an example Basic program decoding some of this new data. Also there is a picture showing the two layers of the level. Red is transparency.