Hello guys. I want to make a game like that on greenfoot.
This is my code :
My world:
CircleBody (empty)
Cirlce1 (empty)
BackgroundLevel1(empty)
Level1(empty)
Now,i cant sync the diameters of the world and the background so they can fit. This is my level 1 image https://imgur.com/a/LqZDB . I cant make it fit to the world.Either the world is too small or too big or i resize the image too low or too high.ARGHH. For now i just want to do this. Align the image! Thanks
public MyWorld() { // Create a new world with 600x400 cells with a cell size of 1x1 pixels. super(1920, 1080, 1); setBackground(new GreenfootImage("gri.jpg")); addObject(new Circle1(),600,400); }