Hello! I'm trying to make a game in which many tiles move on the screen at the same time. At the moment, I'm using
to move every tile right 1 pixel. However, the tiles sometimes seperate from each other a little bit. Is there a way to do this so that there are no gaps between the tiles?
Thank you!
if(Greenfoot.isKeyDown("right"){
setLocation(getX() + 1, getY());
}

