I had 2.7.1 on one of my recent computers, and copied my code with Google Drive, now its asking me to update the code and all the images and the rest of the code are f***ed up.
I think I never heard of 2.7.1... the newer Greenfoot versions don't support awt anymore. Instead, Greenfoot has its own Color and Font class now. It should be possible to change your code and make it work again. However, I didn't do it for my scenarios yet, so I am not sure how much work that will be.
the newer Greenfoot versions don't support awt anymore.
It is not the newer versions of Greenfoot; it is HTML 5 that does not. You can still use java.awt in your scenarios; but, when uploaded, they will only work in the legacy version which requires the java plug-in.
It should be possible to change your code and make it work again ... I am not sure how much work that will be.
Both imports for java.awt.Font and java.awt.Color will need removed. Then for Color, all pre-defined colors will need to use the uppercase version of the field name and all Color parameters that currently show a 'null' (or using a variable whose value is 'null') must be converted to an actual Color (so, 'null' used for transparent background of a new GreenfootImage using text must be converted to 'new Color(0, 0, 0, 0)' and 'null' for the foreground color must be converted to 'Color.BLACK'. With the Font, any style parameters, whether in a constructor or a method, need to be converted from the 'int' value to its constituent bold and italic boolean values. Also any Font pre-defined fields will need broke down as well ('Font.PLAIN', or '0', to 'false, false'; 'Font.BOLD', or '1', to 'true, false'; 'Font.ITALIC', or '2', to 'false, true'; and 'Font.BOLD+Font.ITALIC', or '3', to 'true, true'). That should cover the majority, if not all, of what needs changed.