Hello,
I would like to ask if it is possible to draw an image (like shadowmap) on the whole screen after the objects have been placed?


1 2 3 4 5 6 | private GreenfootImage heldBG; // field to hold the background image // with 'GreenfootImage shadowmap' as your image, adding it heldBG = new GreenfootImage(getWorld().getBackground()); getWorld().getBackground().drawImage(shadowmap, 0 , 0 ); // removing it getWorld().setBackground(heldBG); |