I am posting new questions to this thread regularly!
Q&A:
My initial thread:
Hi guys, so I am having some ideas for a puzzle games and I figured out I will be using MV since I own it and since I am familiar with how RPG Maker works in general. I have a few questions that I need to figure out:
1. Do we have a proper way to check if square (X, Y) contains a certain event, one or more events from a certain range, any event of if it is empty?
2. Can we stack multiple conditions in an if or should I go with the non-elegant way of stacking multiple ifs?
3. Can we record the position of all (or a range of) events in a room if certain conditions are met?
I am giving you a small example of what I need that for.
If we have a puzzle like that...
We have one player in a small room and he has to push the stones in such a manner so that he/she opens a clearance. I want to be able to reset the room upon re-entry (maybe I should do the check when the player is leaving). There are three (at least this is how many I see) positions that can lead to soft-lock here:
- If B4 contains a block
- If A2 contains a block AND A4 is empty
- If C2 contains a block AND C4 is empty
Upon first entry these are the three positions that are a soft-lock and I want if the player leaves through the door they entered to force reset the room to the initial state. I want the game to remember the state of the stones in any other case.
What would you suggest me to use? As far as I remember VX and VX Ace always reset all the rooms. I have not tried MV yet but I guess for practical reasons it will be the same here as well. And my puzzle gameplay would really, really benefit if the game keeps track of the rooms.
Thank you in advance!
Q&A:
My initial thread:
Hi guys, so I am having some ideas for a puzzle games and I figured out I will be using MV since I own it and since I am familiar with how RPG Maker works in general. I have a few questions that I need to figure out:
1. Do we have a proper way to check if square (X, Y) contains a certain event, one or more events from a certain range, any event of if it is empty?
2. Can we stack multiple conditions in an if or should I go with the non-elegant way of stacking multiple ifs?
3. Can we record the position of all (or a range of) events in a room if certain conditions are met?
I am giving you a small example of what I need that for.
If we have a puzzle like that...
We have one player in a small room and he has to push the stones in such a manner so that he/she opens a clearance. I want to be able to reset the room upon re-entry (maybe I should do the check when the player is leaving). There are three (at least this is how many I see) positions that can lead to soft-lock here:
- If B4 contains a block
- If A2 contains a block AND A4 is empty
- If C2 contains a block AND C4 is empty
Upon first entry these are the three positions that are a soft-lock and I want if the player leaves through the door they entered to force reset the room to the initial state. I want the game to remember the state of the stones in any other case.
What would you suggest me to use? As far as I remember VX and VX Ace always reset all the rooms. I have not tried MV yet but I guess for practical reasons it will be the same here as well. And my puzzle gameplay would really, really benefit if the game keeps track of the rooms.
Thank you in advance!