View Single Post
Old 11-24-2013, 12:27 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
Been reading through the article you posted on analysing image data and I've spent some time creating an application that can generate a Graal level based on a full-sized level screenshot. I've still not come up with a solution to deal with images covering tiles, light effects and level with layers however, but it's working perfectly for level images that show only tiles.

Here's an image. I've managed to generate the level on the right by taking the level image on the left and analysing it's pixel data, comparing the data with the pixel data for pics1.png. The comparison are made on a tile-by-tile basis, so every 256 pixels (or 1 tile) a comparison is made.

I'll post a build when I've figured out exactly how I'm going to deal with **** like light effects and layers.
Attached Thumbnails
Click image for larger version

Name:	2013-11-24 12_37_48-Greenshot.png
Views:	206
Size:	332.6 KB
ID:	55540  
Reply With Quote