Is there a way to check pixel color?

BlitzMax Forums/BlitzMax Beginners Area/Is there a way to check pixel color?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

The trouble with pixel colour checking is that you would have to update the code if you make the terrain more pretty. What I do is to maintain a series of images which make up the 'visual' terrain, and a series of pixmaps which make up the 'collision' terrain, which has white in solid areas and black in non-solid areas.