show picture problem

how can i show pictures on center of the monitor i cant upload/attach the pictures here coz the uploader is not working for me right now

but the show pictures that im talking about is only showing the bottom right part of the picture on the top left of my monitor heres my event

 @>Show Picture: 1, 'Jack', Center (0,0),(100%,100%), 255, Normal

event1.png

event1.png

event1-2.png
Center -> That is for the origin of the image


If you use Upper left, the image's upper left will be on the X,Y... if center, the center of the image will be the one on the X,Y


You probably would want to show it using center origin an an X,Y that is half of the map's width and height


Show Picture: 1, 'Name', Center(272,208)
'Center' does not mean center of the screen. It means center of the coordinates you've given (in this case, it's 0,0 since that's the default). The coordinates 0,0 are the top left corner of the screen, so if you center it there, it'll show what you have right now.


Try putting the coordinates 272,208 and center it. Those coordinates are the center of the screen (544x416 is RPG Maker's resolution).


Edit: ninja'd!
It's doing exactly what you're telling it to 🙂


Center means to place the origin in the center of the picture.


(0,0) means to position the picture with the origin (the center of the picture, remember?) in the top left corner of the screen.


If your picture is the same size as the screen, just change the origin back to 'upper left' and leave the position at (0,0)


If you've used a script to resize your screen, determine the correct x and y coordinates for the center by screen width / 2 and screen height / 2. Then set your origin to Center, and put those values in the x and y slots.


lol - ninja'd and ninja'd again. Lucky we've all said the same thing 😉

Original thread: https://forums.rpgmakerweb.com/threads/show-picture-problem.25152/