You can use Tiled (https://www.mapeditor.org/) and then import the background + foreground from it. I think there is a tutorial on the gathertown youtube channel.
But there was just a few days ago a big update to the map editor, it is much more easy to use now.