Getting pixels from an image, and saving them in an array?
I was watching notch's "Making of Metagun", and The way that he made his maps was by making an image, where each color in the image creates a different thing in the game. If he wanted to change the map, all he had to do is edit the image. I want to use this for a game I am making, so How would I get pixels from an image, and then put them into an array?
Is there something to do this already?
Thanks.
Re: Getting pixels from an image, and saving them in an array?