It's quite simple really. Just look at this:
See the numbers,
240,-320,-240,320?
These are the coordinates of the corners of the Camera Area.
This is where the camera will be.
The number "240" is the number that determines where the
TOP of the rectangle that represents the Camera Area will be.
"-320" is the
LEFT side.
"-240" is the
BOTTOM side.
"-320" is the
RIGHT side.
Now you may have some problems to determine the exact number you need for your camera area, right?
Here's a little trick you can use.
Look at this:
Let's say this is my map, but it is too small while my camera area and border area are too big.
I want the camera area to be just as big as the room i made, but i don't know the coordinates.
Put two invisible blocks at the
top-left corner and the
bottom-right of the map you made just like this (You need to have your grid on 4):
And hover your cursor on the invisible blocks to check their coordinates:
The first picture has the coordinates of the first block we placed on the
top-left.
The second picture has the coordinates for the block we placed on the
bottom-right.
The coordinates for these blocks are
"Inverted" compared to the order of the coordinates for the camera areas.
So, we input the information we have like this:
The first number of the first block (
top-left) is our
LEFT coordinate (-144), not the top one.
The second number of the first block is our
TOP coordinate (72).
The first number of the second block is our
RIGHT coordinate (144).
The second number of the second block is our
BOTTOM coordinate (-64).
In the end, our Camera Area will look like this:
You can follow the same process to get the border area to the size you want.
I don't know if this was a bit too confusing or unhelpful, but i hope you'll get how the area works. It just takes a lot of practice.
P.S.: Delete the invisible blocks after you're done with the camera area.