Picture Puzzle [MV]

Hey there, fellow game devs! I was wondering if you could help me out with something.

So, I want to have a recurring picture puzzle that is used all throughout the first area of my game. The picture puzzle needs to be able to be tileable. (as in, it can be made bigger or smaller easily.)

Also, the picture puzzle needs to work in a certain way. You have x number of tiles, and to complete the puzzle, you are required to move all of the tiles into a specific place to form a picture. These tiles cannot be overlapped while moving, and they cannot go outside of the frame of the puzzle.

Here's an example: You have five squares with a part of a picture on them. These squares are in a 3x3 grid where only one space in the grid is empty. You need to move square A from the top corner to the bottom corner, but you cannot simply drag it across the other tiles. Therefore, you need to move Tile B (the one right next to tile A) into the empty space in order to move Tile A. You repeat this process until Tile A is where it needs to be and then repeat again until all of the other squares are in the correct location.

Is this sort of thing possible in MV? Are there plugins for this? Regardless, I hope you'll be able to help me out. Have a good day!
Game Mechanics is more for discussion, not for actual support.

I've moved this thread to MV Support. Thank you.

Oh, sorry, @slimmmeiske2!
The first thing that comes to mind would be to make all of the tiles events that are at the same level as the player with a border of events around them that cannot move. Set conditional branches that attempt to move all the tiles in whatever direction you pick. Only one tile will be able to move at a time.

Edit: Now that I think about it, doing it that way might cause an entire row or column to move. You’ll have to test it out.
The first thing that comes to mind would be to make all of the tiles events that are at the same level as the player with a border of events around them that cannot move. Set conditional branches that attempt to move all the tiles in whatever direction you pick. Only one tile will be able to move at a time.

Edit: Now that I think about it, doing it that way might cause an entire row or column to move. You’ll have to test it out.

Alright, I'll try that, thank you!

Original thread: https://forums.rpgmakerweb.com/threads/picture-puzzle-mv.128645/