RMMV How to Get Actor's To Start Off Screen In Battle...

Status
Not open for further replies.

zerobeat032

Oh, it's that Zerobeat kid...
Veteran
Joined
Mar 28, 2014
Messages
469
Reaction score
1,139
First Language
English
Primarily Uses
RMMV
Not sure if this goes here or MV Support, but I was curious is there a way to get actors to start completely off screen. I have custom sprites of every actor running to their starting spot and it looks odd if they're coming in from partly on the screen already. I mostly need this because I have a system where if an actor is knocked out, the other battle member replaces them. But the actor coming in isn't starting off screen so it looks weird with them running in that way.

I saw this...

Sprite_Actor.prototype.startEntryMotion = function() {
if (this._actor && this._actor.canMove()) {
this.startMotion('walk');
this.startMove(0, 0, 30);

within rpg_sprites... this seems to control how an actor enters the battle, but not necessarily where. I think the numbers are X, Y, and the amount of frames it takes for the move. but I'm not entirely sure. correct me if I'm wrong.

but yeah, I was wondering how do I get them to start entirely off screen and go to their starting position.


EDIT: I should've kept looking before I posted this. I was RIGHT there with figuring this one out. so Yanfly's BattleCore Engine has the same thing in it and I changed it to this... this.startMove(700, 0, 0); and the character's come in from completely off screen now. I'll close this lol.
 
Last edited:

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
4,512
Reaction score
2,873
First Language
English
Primarily Uses
RMMV
I think the numbers are X, Y, and the amount of frames it takes for the move. but I'm not entirely sure.
That wouldn't track, because 0,0 is the upper left corner of the screen, and we definitely don't see anyone running in from there. It's saying how far they're supposed to be moving in the X and Y.

Maybe I'm misunderstanding you, or maybe you have plugins working that change defaults, but when I start a battle I already see the actors running in from off-screen. Have you changed your resolution or the home positions for the actors?
 

zerobeat032

Oh, it's that Zerobeat kid...
Veteran
Joined
Mar 28, 2014
Messages
469
Reaction score
1,139
First Language
English
Primarily Uses
RMMV
yeah I realized plugin's changed my default and that the I needed to just increase the X in Yanfly's Battle Core Engine. I changed that to (700, 0, 0) and the character's come in from off screen now. Tho, I'm realizing they're supposed to do that from the jump aren't they. I've had edits so long I can't actually remember where the player is supposed to start on screen.
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
16,621
Reaction score
9,216
First Language
English
Primarily Uses
RMMV

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

Playing FF4 for the first time, the pacing is pretty insane o_O Only 2.5 hours in and already changing class? I barely got to play as the first one xD
One year and two days ago, I got RMMV. So far I have:

» Gotten Ideas™ from VXA’s music.
» Made a test project to teach myself the basics.
» Successfully done up a no-combat outline for Ideas™.
» Entered the Boss Battle Build Bout.
» Burned out for over seven months after trying the One Map Challenge.
» Found my groove again about a month ago.

And it feels good to be back on track again.
Let there be light!

Forum statistics

Threads
123,063
Messages
1,153,713
Members
161,401
Latest member
Otak5313
Top