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.
Is there a way to check pixel color?
BlitzMax Forums/BlitzMax Beginners Area/Is there a way to check pixel color?The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.