I have a problem with the scroller class at this tutorial link (https://www.greenfoot.org/scenarios/18226) by danpost with the blocks that my actor is supposed to jump on being displaced after shrinking the viewport to my preferred size (512*320) from 1920*1200 (so I could pace the blocks on the screen). Thanks for any help and if you need to see the code for the scroller class you can look at the linked tutorial or just ask and I can send you my scenario.