Resolution, displacement and text popup glitches.

Hi everyone, i've basically been working on my project and only up until now I've opened a can of bugs i'm starting to regret.
Now before I fully give up and just go back to what was safe, I really wanted to upgrade the resolution so that when people actually begin to play this thing it's at a comfortable resolution for modern standards.

The first problem is at the start of battle actors and enemies briefly displace themselves when the first turn commences, it only bumps them around slightly but it's terribly obvious and awkward. It only seems to happen when Action sequence camera is ON
bandicam 2023-09-06 14-57-53-368.gif


The second problem is the resolution, I've changed it from 816 x 624 to 1280 x720 and it looks nice, i'm using majority of visustella's essential plugins and through the battle core settings via >Actor Battler Settings >JS Home Position i've had it adjusted to these settings
Spoiler: JS Home Position
// Declare Constants
const sprite = this;
const actor = this._actor;
const index = arguments[0];

// Make Calculations
let x = Math.round((Graphics.width / 2) + 620)
x -= Math.floor((Graphics.width - Graphics.boxWidth) / 2);
x += index * 32;
let y = (Graphics.height - 200) - ($gameParty.maxBattleMembers() * 48);
y -= Math.floor((Graphics.height - Graphics.boxHeight) / 2);
y += index * 48;

// Home Position Offsets
const offsetNote = /<SIDEVIEW HOME OFFSET:[ ]([\+\-]\d+),[ ]([\+\-]\d+)>/i;
const xOffsets = actor.traitObjects().map((obj) => (obj && obj.note.match(offsetNote) ? Number(RegExp.$1) : 0));
const yOffsets = actor.traitObjects().map((obj) => (obj && obj.note.match(offsetNote) ? Number(RegExp.$2) : 0));
x = xOffsets.reduce((r, offset) => r + offset, x);
y = yOffsets.reduce((r, offset) => r + offset, y);

// Set Home Position
this.setHome(x, y);

When I playtest battles and I target an enemy and perform an action - the hit/miss result text is displaced?

Text Bug2.png


Also when I am deliberately adding a Battle core MECH: Text popup using the target on User it's offset the wording way of the user?

Text Bug.png

I don't get this. The actors are elsewhere yet the text is choosing to go way of the target.
All I want is to make the resolution bigger without this stuff breaking.

But to make matters even more annoying, when In the overworld and I want to engage in a regular battle this crash report comes up and I have 0 clue what it's trying to tell me?
huh.png


It's just...huh? what? I have the files in the folder, I made sure of it- the background resources are there but what on earth does "DevTools failed to load SourceMap: Could not load content for chrome-extension://njgcanhfjdabfmnlmpmdedalocpafnhl/js/libs/pixi.js.map: System error: net::ERR_FILE_NOT_FOUND" even mean?


I apologise for the truck load of questions but I'm really trying here and I'm starting to lose my mind over this.
But to make matters even more annoying, when In the overworld and I want to engage in a regular battle this crash report comes up and I have 0 clue what it's trying to tell me?
Since it says %20 I think you have a space in your filename of the battleback image. Could you try replacing it with an underscore, redo the file associations wherever you have this battleback specified, and see if it fixes the problem?

As for your other questions, I don't have an immediate answer, although the text pop-ups seem to be displaced by the same x amount for both enemy and actors.
Since it says %20 I think you have a space in your filename of the battleback image. Could you try replacing it with an underscore, redo the file associations wherever you have this battleback specified, and see if it fixes the problem?

As for your other questions, I don't have an immediate answer, although the text pop-ups seem to be displaced by the same x amount for both enemy and actors.
Unfortunately this is even more broken of a thing for MZ, I'm not even using a file name that has %20 for the map and the battle relative but for some reason it's reporting that nonsense.
Unfortunately this is even more broken of a thing for MZ, I'm not even using a file name that has %20 for the map and the battle relative but for some reason it's reporting that nonsense.
Well, werzaque didn't say you had a file with %20 in the name. They said it means you likely had a battleback with a space in the name, and it looks like you have several. Try replacing those spaces with underscores or dashes and see if it helps anything.
It looks like you've put ShipDeck.png in a subfolder (?), but the game is looking for it in the battlebacks1 folder itself. May be the same problem for Boat Inside.png.

MZ should be OK with spaces in image/audio/video filenames, but as mentioned it is typical to use underscores, hyphens, or camelCase/PascalCase for file naming instead.

Yellow messages in the console are just warnings. In this case it is a standard and totally harmless message: pixi.js.map is an optional file to help with debugging. It's the red messages (errors) that you need to be concerned about.
Conducted some investigations and discovered a stray event long forgotten from an MV port that controlled the background selection when stepping on a different part of the map, it was running in parallel too which was causing the crash, which thankfully now solves that issue. But the resolution and positioning of the actors/enemies and the damage popups is still really bugging me.
I think you'll still get into problems in web deployment (should you be considering that) if you have spaces in paths, but if not it should be okay (I think).

I have to say the jerk at the start of the battle in your video is very uncomfortable to watch, almost hurts my neck. Looking at your JS: Home position the only thing you have changing +192 to +620? Does the jerk still happen if you set it back to +192 (+620 does feel a little too much for a width of 1280)?
The jerk you're referring to is a result of Visustella's action sequence camera, sadly it seems there isn't a way to stop it from happening unless its entirely disabled but alot of my skills are making use of the camera plugin commands that it utilizes. Why this is happening is beyond me :/
What I meant to ask was... does the jerk happen even if you have a vanilla untouched version of the JS: home position?
Seems to not be the case with a fresh project, I'm looking into it now with someone over discord, hopefully some good results!

Original thread: https://forums.rpgmakerweb.com/threads/resolution-displacement-and-text-popup-glitches.160950/