I am working on a plugin, which needs more than its own texture, it also needs to have an access to another Sprite's texture pixels.
I created an action:
AddObjectParam("Map", 'A map should be white with black regions');
AddAction(19, af_none, "Set map", "Map properties", "Set map to {0}", "Set the map.", "SetTheMap");
[/code:3ky5p7bz]
Then I added a function to actions:
[code:3ky5p7bz]Acts.prototype.SetTheMap = function(map){
/// here I need to access the map's pixels.
}[/code:3ky5p7bz]
How do I access map's bitmap's pixels? Is it possible?