I'm developing a game for Android, I want to randomly change the color of the character displayed on screen.
To do that on Windows, I just create an active object 100 pixel wide with my color palette (palette_character), and then I set the color of my character with the command:
RGBAt( "palette_character", RRandom(1,100), 0 )
But this solution doesn't work on Android (it seems RGB commands cannot be used).
Which is the best alternative way to do this on Android (aside from creating static animation of every colors, of course)?
Edit for Admins: I should have posted on Android section (sorry, I just noticed). Feel free to move the post