I recommend to always use viewports for your project, and let it handle everything. Manually working with a camera can result in strange behaviors. For more infos on how to use them, look at the official wiki.
There are two options available for you to pick, one has more manual labor, the other creates some problems.
Basically you can decide to draw objects in an object layer yourself for collisions, or define collisions in each tile once, and parse those.
The downside to the first option is that you need to do that all yourself, however you can therefore precisely define all collisions, and this also means that you don’t have a ton of bodies and bugs on corners.
Let’s create a basic map to get started
I’d recommend to change snapping to “pixel”, so that drawing objects will always be pixel aligned.
If you want to work with an object layer, click here.