Moving sprites together

Hi @ all,
in my curent project, I want an big sprite (ogre, in this case) to pick up my pc from his backside, but there is always a gap between these two sprites, which makes the desired effect optical illogical.

Is it possible to move sprites, also normal npcs, nearer together, with an script, or need I to draw these sprites seperately??
Use this in a script call and do it as many times as you need (once for each step)
Code:
$game_map.events[ogre_id].move_straight(direction)
$game_map.events[other_event].move_straight(direction)
Fiber.yield while $game_map.events[other_event].moving?
You have to replace ogre_id, other_event and direction with real numbers that depend on what you want to do.
Use this in a script call and do it as many times as you need (once for each step)
Code:
$game_map.events[ogre_id].move_straight(direction)
$game_map.events[other_event].move_straight(direction)
Fiber.yield while $game_map.events[other_event].moving?
You have to replace ogre_id, other_event and direction with real numbers that depend on what you want to do.
Thanks for the quick reply,
I want the orge to move to the pc from pc, pc is stationary.
Do I write down instead of straight???
or need I to insert down instead of direction?
I want the orge to move to the pc from pc, pc is stationary.
Sorry, could you explain this? How can you move toward the player if you are starting your movement from the player?
Sorry for beeing so confusing 😅
The player, is standing still,the orge nears from the back (up from the player view).
The orge is the only one who moves.
Ok, now I understood what you are trying to do, but this cast some doubt on what you mean by "there is always a gap between the two sprites". Could you post a screenshot?
Here the example with the Pushing Rock.
Code:
◆Set Movement Route:This Event (Skip)
:                  :◇Turn away from Player
:                  :◇1 Step Forward
◆Wait:2 frames
◆Set Movement Route:Player (Skip, Wait)
:                  :◇1 Step Forward
Maybe this helps you.
orge 1.JPG
the gap

orge 2.JPG
I just realised I could produce the second picture with setting the eventlocation to the same my pc has.
If you want to achieve that using movement you only need to check the "through" option for the ogre.
As an alternative you could move the ogre half a tile using the script section of a move route.
moveto(16,7.5)
for example.

Original thread: https://forums.rpgmakerweb.com/threads/moving-sprites-together.110476/