Which JS file handles the movement of actors during action selection in SV battle mode?

Clyve

Veteran
Veteran
Joined
Aug 6, 2013
Messages
62
Reaction score
7
First Language
English
Primarily Uses
RMMV
I can't seem to find which one/section handles this. Specifically character movement.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,670
Reaction score
8,489
First Language
German
Primarily Uses
RMMV
[move]Learning Javascript[/move]
Parts of it are scattered through all core files, it would help is you tell us what especially you're looking for, especially since there is no real movement (just minor animations) in default sideview.
The action sequences where the sprites move over the screen to attack are not part of the default, but added by plugins like Yanfly's (or a few others)
 

Clyve

Veteran
Veteran
Joined
Aug 6, 2013
Messages
62
Reaction score
7
First Language
English
Primarily Uses
RMMV
My bad Andar, thanks for moving the topic.

What I'm specifically looking for is the area of the script that handles characters moving to the left when selecting and then performing their actions. My main goal is to get them to move upward, since I've got a bit of a Lufia/Mystic Quest battle system going.
 

Clyve

Veteran
Veteran
Joined
Aug 6, 2013
Messages
62
Reaction score
7
First Language
English
Primarily Uses
RMMV
Solved it. For anyone else wondering this, you can find it in rpg_sprites.js and it's the line:

Sprite_Actor.prototype.stepForward = function() {

Under which you just change the x, y, speed variables to your liking.
 

Latest Threads

Latest Profile Posts

Too bad the Boss Battle Build Bout isn't also for VXAce.
I might not participate in the Boss Battle contest after all... I have more important things to do, like Wishful Wanda. And of course the Dark Deception spinoff I plan to pitch, Demon Slayer.
Changed my avatar, goodbye Alan Sugar, hello George Carlin (one of my favorite human beings ever)
If you still don't subscribe our Polish channel please consider it :)
1.png
Who wants to see my review of the worst star wars movie? This movie has all the excitement of being on Jury Duty of the most boring case ever about trade negotiations.

Forum statistics

Threads
115,171
Messages
1,087,814
Members
149,724
Latest member
scurvyDan
Top