I recently downloaded the VisuStella free gaming starter pack that contain the core engine, battlecore among other free plugins included in the pack. Here is my issue and I need some help. I tried searching the site for relevant returns on how to adjust the hit box for actors and enemies, but could not find helpful returns.
I went into the BattleCore plugin parameter and changed the Sideview Actor anchor point to (x=0.5, y=0.60). It moved the actor sprites down to the position I liked, but I am noticing the hit box are not in the correct location. I have read the plugin documentation for both Battlecore and the ATB plugin, but I cannot find a resolution. How do I adjust the hit box location for the actor and enemy after changing the anchor point?
Edit: Problem solved. I found another thread that pointed me to the HOME position of the actor. Changing the x and y index gave me the same solution without changing my actor anchor points. Leaving this for someone else that may search in the future for a similar resolution.
// Declare Constants
const sprite = this;
const actor = this._actor;
const index = arguments[0];
// Make Calculations
let x = Math.round((Graphics.width / 2) + 192)
x -= Math.floor((Graphics.width - Graphics.boxWidth) / 2);
x += index * 32; <---change this value
let y = (Graphics.height - 200) - ($gameParty.maxBattleMembers() * 48);
y -= Math.floor((Graphics.height - Graphics.boxHeight) / 2);
y += index * 70; <---change this value
I went into the BattleCore plugin parameter and changed the Sideview Actor anchor point to (x=0.5, y=0.60). It moved the actor sprites down to the position I liked, but I am noticing the hit box are not in the correct location. I have read the plugin documentation for both Battlecore and the ATB plugin, but I cannot find a resolution. How do I adjust the hit box location for the actor and enemy after changing the anchor point?
Edit: Problem solved. I found another thread that pointed me to the HOME position of the actor. Changing the x and y index gave me the same solution without changing my actor anchor points. Leaving this for someone else that may search in the future for a similar resolution.
// Declare Constants
const sprite = this;
const actor = this._actor;
const index = arguments[0];
// Make Calculations
let x = Math.round((Graphics.width / 2) + 192)
x -= Math.floor((Graphics.width - Graphics.boxWidth) / 2);
x += index * 32; <---change this value
let y = (Graphics.height - 200) - ($gameParty.maxBattleMembers() * 48);
y -= Math.floor((Graphics.height - Graphics.boxHeight) / 2);
y += index * 70; <---change this value