- Joined
- Mar 28, 2014
- Messages
- 548
- Reaction score
- 1,529
- 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.
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: