I am attempting to create a programme which will randomly select 1 of 90 actors and change their transparency from the '0' which I have set, to '255' which is the transparency I want. I have tried many different techniques all of which have sadly failed so I need help from the discussions
{
public void act()
{
getImage().setTransparency(0);
}
public int isKeyDown1;
{
if (Greenfoot.getRandomNumber(91) == 1)
{
getImage().setTransparency(255);
}
}
}


