Hello, I'm trying to make a sokoban puzzle for a game and I got stuck. Below is a screenshot and I'll try to explain what I'm trying to do:
Eight rocks, eight sockets for them. I'm trying to achieve the following:
- Once a rock is moved over a socket, it automatically falls into it;
- Any rock can be placed in any socket for it;
- Once a rock has been placed into the socket, the player will be free to stand and move other rocks over it.
How can this be done easily? Or better, how can this be done at all? I found tutorials with variables and setting X and Y positions in VX, but there must be a more efficient way to do it... I don't have much experience setting around variables, I only did it with one rock at a time and then reset it for the player to move it elsewhere. This is becoming more of a puzzle to me than the Sokoban for the player, haha.
Eight rocks, eight sockets for them. I'm trying to achieve the following:
- Once a rock is moved over a socket, it automatically falls into it;
- Any rock can be placed in any socket for it;
- Once a rock has been placed into the socket, the player will be free to stand and move other rocks over it.
How can this be done easily? Or better, how can this be done at all? I found tutorials with variables and setting X and Y positions in VX, but there must be a more efficient way to do it... I don't have much experience setting around variables, I only did it with one rock at a time and then reset it for the player to move it elsewhere. This is becoming more of a puzzle to me than the Sokoban for the player, haha.