Picture Zoom Out From Center

Heya! I'm trying to get a scene for my game that goes something like this
1690765477689.png
1690765496055.png


I've tried using the scale function for zooming it with the image origin set to "center", but it seems to just kinda sit on the side or not fully fit the screen.
My games resolution is 640x480 and the image is the same. Is there something I'm doing wrong?


1690765616445.png
1690765646850.png
"Center" in this case means that the anchor of the picture is in the center of the graphic, and it draws that anchor point at the position you specified. Since you specified position 0,0, the center of your picture is drawn at coordinate 0,0, ergo the top left corner of the screen.

To get the anchor to appear in the center of the screen, you have to specify the coordinates of that point, which at resolution 640x480 would be 320,240.
"Center" in this case means that the anchor of the picture is in the center of the graphic, and it draws that anchor point at the position you specified. Since you specified position 0,0, the center of your picture is drawn at coordinate 0,0, ergo the top left corner of the screen.

To get the anchor to appear in the center of the screen, you have to specify the coordinates of that point, which at resolution 640x480 would be 320,240.
ah yes! that's exactly what i was aiming for, thank you!

Original thread: https://forums.rpgmakerweb.com/threads/picture-zoom-out-from-center.159887/