My map is 1760x992. I also have a picture of the exact same size.
I'd like the picture to appear directly over the map seemlessly. This should be possible, right?
I can't work out the logic for finding the correct x,y coordinates -- old posts say try to use center origin and then half your screen res.
(There is a very specific reason I'm asking this -- I'm not just failing to understand parallax mapping.)
There is a Plugin that i use called GALV_LayerGraphicsMZ that can help with that.
a little google search can help and then follow the plug-in's instructions.
Do you plan to use it as the actual Map or do you want to display a picture only?
if you use the same size as the overlay, the normal x/y works correctly without issue.
as the x is always 0 (top left corner)
Your problem is that your mp and pictures are the wrong pixel size.
The grid is 48x48, and that means any background or overlay picture for a map needs to be divisible by 48.
EDIT: OK, you just added that you're using 32x32 tiles. Those numbers do fit, so we need to see what you did with your event commands.
you might have mixed up screen coordinates and map coordinates for example, because that rule you mentioned (center and half size) is based on screen size, not map size - and with those numbers your map is likely larger than the screen, or what is your game's screen size?
My game's resolution is 1280 x 720.
I've just worked out what's causing the offsetting (ashamed I didn't catch this earlier).
Its because I use a x2 zoom to affect a 640 x 360 resolution -- I would just use this resolution natively but RPG Maker seems to not be able to deal with UI lower than default res and the battle scene is totally broken looking.
When I disable the zoom the pictures display as you would expect.
So I guess my real question is: can I compensate for the zoom offset? Alternatively, is there a way around the UI issue? Any suggestions?
Yes, but not easy - for example you would have to redesign and reprogram the UI.
But whjy use a zoom at all? why not go natively without zoom?
you would have to double the size of your resources in an external image program and use a plugin to allow 64x64 tiles, but then it would have the exact same look without any zoom.