I recently created a "giant" character, which is basically 12 big sprites stitched together. I need to make a few adjustments, but he's currently capable of moving properly. The problem is that:
1) If something blocks one sprite, the others keep going.
2) Sometimes the sprites will go out of sync...i.e. his body will move and his head will float after.
My hope is that, at the very least, all sprites can move together, without risk of de syncing. However, I would prefer it if they would all copy each other's movement. For example, if something blocks the left foot sprite, all the other sprites will stop at the same time. Is there a way to pull this off?
Combine it into a single sprite. Since events are read one by one it is impossible to eliminate the little delay, so the solution is obviously to make it into a single event.
RPG Maker doesn't impose a tile size on characters, it only impose a certain tile arrangement in image files. If there is no "$" in front of the image filename, the engine will read the image, regardless of its size, by dividing it into 12 horizontal tiles and 8 vertical tiles. If there is an "$" in front of the image filename, the engine will read the image, regardless of its size, by dividing it into 3 horizontal tiles and 4 vertical tiles.
That means that an image named "$Test" that is 300x400 will have individual tiles of 100x100. Using that, you can make a single event look bigger than regular map tiles.
Coming back to this, I'm still wondering if I can sync sprites, but this time I'm thinking of something totally different. Say there's two rails of spikes the player must stay between. It moves right right left left and the player must make their way through the little hallway to the end. Unfortunately, if you come to these two rails, they will become out of sync, which makes the trap unavoidable and unfair.
A workaround would be the activation of a player touch event when they reach the area., but something more...convenient would be nice.
Or make the space between the two rails 2 tiles. A 1 tile space will be near impossible to go through because of the way collision is detected in RPG Maker (it's not when the sprites touch the player, but when their tile position is the same, or when it's one different and it intends to move on the player tile if it is set to same level as player).
That is because MV only updates sprites when they're on the screen (or close to the screen), in order to reduce lag.
You could search for an anti-lag plugin which will allow you to override that setting on selected events. I believe you can also do stuff with parallel process events (as they update whether they're near the visible area or not) but in this case I'm not sure if you'd make your spike events parallel processes (you probably wouldn't if they have event commands), or have another parallel process event that's causing the other two to move. I haven't experimented much with it myself.
When asking for screenshots on events, then we usually want to see the event pages, not the map.
It depends on how your events work to see how they could be controlled. For example in your case it might be an option to have all spikes be controlled by a single event - but again, to decide this we need to see how they're supposed to work.
but what checks for contact and creates that hurt?
That is what I need to know - how the interaction between the spikes and the player works.
As said above, there are several ways to handle spikes, and each has its advantages and disadvantages. And those advantages and disadvantages are dependent on how the spikes interact with the player. If that interaction is not in the events themselves, then you need to show or tell us how they interact.
Uhhh...the player touches the spike event (or vice versa). I don't know how hitboxes work. ._.; I'm using Falcao Pearl ABS script for those if that helps, I just didn't think that had anything to do with syncing the move route of events.
I'm a bit confused as to how that is....from what I can tell, this is an issue with any event move routes I'd want to sync, not just those involved with the ABS. I thought this had more to do with how VX Ace combated lag and wouldn't have have events move until characters made it within a certain range. I figured there was (hopefully) some way to add exceptions to this for events that need to move in sync.
yes and no
The original cause is the fact that to reduce lag, the movement of events stops outside a certain distance from the player (a bit more than the regular screen size).
One of the better solutions is to use an advanced anti-lag script that allows you to override this limit for specific events. There are several such scripts, but because they modify event handling they are often incompatible to ABS scripts who also modify that.
You can test them in hope to find one that is compatible to your ABS, but I give that a low chance (but it is possible, so you can try).
The second-best solution would be to move the "hurt" option into the same process that is moving the spikes. However that won't work here because your effect is not done by event commands. And the disadvantage of the second method would also become more critical in an ABS - moving the hurt to the parallel would only place the effect in sync, not the event movement - that wouldn't have mattered for a regular JRPG but it will matter in an Action-RPG.
I've seen a few anti-lag scripts, but do you know any advanced ones of the top of your head?
no, the difference is what options those anti-lag script support.
You need to check their descriptions - some of them work by only optimizing procedures, and some of them have added options like making an event excempt from the lag routines.
you need to find one that has that option of always process events with a specific tag (and the way that tag would be done is different from script to script)