... but can't the entity, texture, image, whatever be multiple colour? This would mean the 'entity' does not have a single RGB. Unless you mean Alpha of course which is different. If you ARE using a single colour texture then you might want to create a Type called Coloured_entity which includes the handlefromobject for the entity plus RGB field. When you want to check the entities colour you loop through the types finding the matching handlefromobject and then read the colour details. Depending on how many you have will depend on how quick it is.
Get RGB values in Sprite Candy
Blitz3D Forums/Blitz3D Programming/Get RGB values in Sprite CandyThe 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.