Basically it allows you to open up a 120x8 pixel graphic (which I draw in paint) and it will then convert it to the necessary data to paste into the swordfish code. (the data will be copied straight to the clipboard, so if you open up notepad or swordfish, all you need to do is paste it)
I will be uploading a template that you also use in paint as well as a video tutorial of how to make your own levels for the game but I just wanted to test the software here first.
If you could report any bugs or issues here, i'd be very appreciative!
(by the way, you just need to download the zip file, unzip it then click on the setup file - it will automatically install it to your computer and you can find it in the start menu under Bradsprojects. - you can uninstall it from your add/remove programs in the control panel)
Here's an example of some output code for one such level, it gives you red pixel data, green and also blue. It also gives you barrier data so we know what is actually going to prevent us from moving (for example, we want to be able to jump through clouds although not through brick walls etc...)
Code: Select all
const RedLevel1Data(120) as byte = (%00000000,%00000000,%01000000,%11000000,%01000000,%00000000,%00000000,%00001000,%00000000,%00001000,%00101000,%00001000,%00000000,%00000000,%00000000,%00000000,%10000000,%11000000,%01000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00001000,%00000000,%00000000,%01000000,%11000000,%11100000,%01000000,%00000000,%00000100,%00000100,%00010000,%00010000,%00010000,%00010000,%00000000,%00000000,%00000000,%00000000,%00000000,%00010000,%00010100,%00000000,%00000000,%01001000,%11001000,%11000000,%10000000,%00001000,%00000000,%00101000,%00000000,%00001000,%00000000,%00000000,%00100000,%00100000,%00000000,%00000000,%00101000,%00100000,%00000000,%00000000,%00000010,%00000110,%00001110,%00000000,%00001110,%00000110,%01000010,%11000000,%01000000,%00000010,%00000110,%00001110,%00001110,%00000000,%00001110,%00000110,%00000010,%00000000,%00000000,%00000000,%00000000,%00000000,%00001000,%00001000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000010,%00000110,%00001110,%00011110,%00011110,%00000000,%01000000,%11100000,%11100010,%01000000,%00000000,%00001110,%00111110,%00011000,%00111110,%00001110)
const GreenLevel1Data(120) as byte = (%00000001,%00000001,%01000001,%11000001,%01000001,%00000001,%00000001,%00001001,%00000001,%00001001,%00101001,%00001001,%00000001,%00000001,%00000001,%00000001,%10000111,%11000111,%01000001,%00000001,%00000001,%00001111,%00001111,%00000001,%00000001,%00001111,%00001111,%00000001,%00000001,%00001111,%00001111,%00000001,%00000001,%00001001,%00000001,%00000001,%01000001,%11000001,%11100000,%01000000,%00000001,%00000101,%00000101,%00010001,%00010001,%00010001,%00010001,%00000001,%00000001,%00000000,%00000000,%00000000,%00010001,%00010101,%00000001,%00000001,%01001001,%11001001,%11000001,%10000001,%00001001,%00000001,%00101001,%00000001,%00001001,%00000001,%00000001,%00100001,%00100001,%00000001,%00000001,%00101001,%00100001,%00000001,%00000001,%00000011,%00000111,%00001111,%00000001,%00001111,%00000111,%01000011,%11000001,%01000001,%00000011,%00000111,%00001111,%00001111,%00000000,%00001111,%00000111,%00000011,%00000001,%00000111,%00000111,%00000001,%00000001,%00001001,%00001001,%00000001,%00000001,%00000001,%00000111,%00000111,%00000011,%00000111,%00001111,%00011111,%00011111,%00000001,%01000001,%11100001,%11100011,%01000001,%00000001,%00000001,%00000001,%00000001,%00000001,%00000001)
const BlueLevel1Data(120) as byte = (%00000000,%00000000,%01000000,%11000000,%01000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%10000000,%11000000,%01000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%01000000,%11000000,%11100000,%01000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%01000000,%11000000,%11000000,%10000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%01000000,%11000000,%01000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%01000000,%11100000,%11100000,%01000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000)
const BarrierLevel1Data(120) as byte = (%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000)