- Joined
- May 14, 2015
- Messages
- 161
- Reaction score
- 263
- First Language
- English
- Primarily Uses
- RMVXA
Hey y'all, hoping somebody might be able to help me with an issue I'm having.
So, while testing, I've been noticing some weirdness with how the game screen displays certain elements -- namely how the camera centers on the player. I've narrowed it down to an issue with the Graphics.resize_screen function called from Yanfly's Ace Engine Core.
My game's resolution in those settings is set to 640×360, and I'm using pictures to create a letterbox on the sides of the screen to simulate a 480×360 screen size (for reasons). However, with the actual game window being set to 640px wide, I've noticed that the player character is slightly off-center. This isn't a huge deal, but I've recently tried implementing Zeus81's Map Effects script to add some extra flair like camera zooms, and when it zooms in it becomes *very* noticeable.
I've tried fiddling with these settings, and setting it lower that 600 seems to at least make it less noticeable, but then that messes with the letterboxing and also causes artifacting when putting the game into fullscreen.
I've tried commenting out the part of the code that says:
And replacing it with:
But I run into the same issue, so I'm thinking it's definitely an issue with the Graphics.resize_screen function itself. That said, I have also noticed that some other elements are also off-center, specifically on my current laptop. For example, on my old PC, I never ran into any alignment issues, but on my current laptop some pictures set to Graphics.width/2 are off-center, so I'm not sure if it's a problem with the script call or an issue with my display.
Is there an alternative function call I could try instead?
So, while testing, I've been noticing some weirdness with how the game screen displays certain elements -- namely how the camera centers on the player. I've narrowed it down to an issue with the Graphics.resize_screen function called from Yanfly's Ace Engine Core.
My game's resolution in those settings is set to 640×360, and I'm using pictures to create a letterbox on the sides of the screen to simulate a 480×360 screen size (for reasons). However, with the actual game window being set to 640px wide, I've noticed that the player character is slightly off-center. This isn't a huge deal, but I've recently tried implementing Zeus81's Map Effects script to add some extra flair like camera zooms, and when it zooms in it becomes *very* noticeable.
I've tried fiddling with these settings, and setting it lower that 600 seems to at least make it less noticeable, but then that messes with the letterboxing and also causes artifacting when putting the game into fullscreen.
I've tried commenting out the part of the code that says:
Ruby:
Graphics.resize_screen(YEA::CORE::RESIZE_WIDTH,YEA::CORE::RESIZE_HEIGHT)
And replacing it with:
Ruby:
Graphics.resize_screen(640,360)
But I run into the same issue, so I'm thinking it's definitely an issue with the Graphics.resize_screen function itself. That said, I have also noticed that some other elements are also off-center, specifically on my current laptop. For example, on my old PC, I never ran into any alignment issues, but on my current laptop some pictures set to Graphics.width/2 are off-center, so I'm not sure if it's a problem with the script call or an issue with my display.
Is there an alternative function call I could try instead?

