X Tutup

LucaBicono

Regular
Regular
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:

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?
 

Latest Threads

Latest Profile Posts

Twitch stream is live with Resident Evil 9! Feel free to drop by!
1000207302.png
All of the skill/system icons: Done
Pepper hopped up on my bed to snuggle earlier... and now there's grains of kitty litter all over the foot of my bed. Now she's in her own bed fast asleep. Sometimes, I like to wonder what Pepper dreams about... does she dream of chasing her toys? Pouncing on the lizards she sees on her patio? Purring in a sunny window? Receiving pets and scritchies?
Oh no... she's back in my bed.
Really interesting seeing the public be so okay with the placeholder art in Slay the Spire 2. I guess they trust in the potential of the final product, but it would be cool if the general consumer had a better understanding of dev pipelines.
Haven't updated my status in awhile. I'm taking a short break from working on my game because I have a sliiiight burnout,,

Forum statistics

Threads
154,253
Messages
1,407,561
Members
209,652
Latest member
SoapH
Top
X Tutup