Ok, so my college has allowed me to put together a small video game design group, and we are using VX Ace to make our first game. (An easy dungeon explorer.) And we have encountered a problem. We want to make a dungeon puzzle with the same mechanic's as the Legend of Zelda Oracle of Ages and Oracle of Seasons Light Paths Puzzle.
In these puzzles the player is confronted with a red floor seperated into individual tiles. When the player steps on a tile that individual tile changes to white. when the player steps off of that tile and moves to the next red tile, the white tile then changes into a blue tile. This process continues until the entire floor is blue. At that point, a door will open or a chest will appear, ect.
My problem, is that I can create the red tiles, and the resulting blue tile. The blue tile has been set up to teleport the player back to the start of the room, and reset all blue tiles to red. However, my problem occurs when the player steps on the red tile. It will either change all of the red tiles to white, or it wont change any at all. At one point the red tile did change only itself to white, but also froze the game. When I fixed the freeze, it went back to changing all tiles to white.
Also, I had an event set up so that when the tiles are white, or right when they change, they add 1 point to a "Blue Tiles" variable. This event is only activated when it has a certain number of points. (The number of tiles in the room. Which would coincide with how many resulting blue tiles their would be.) The variable event would then open the door or make the chest since it would only be active once the room is completely blue. (This "completion of the puzzle" will also change all blue tiles into "tamed" blue tiles which dont send you back to the begining of the puzzle.)
Does anybody know how I would be able to do this? the ideal would be for each local event to contain what it needs so that I can copy and paste the tiles to each square of the room. However, if anything else is needed, I would be fine with that. I'm extremely stumped, and all help will be greatly appreciated.
Thank you in advance!
-pepper-
In these puzzles the player is confronted with a red floor seperated into individual tiles. When the player steps on a tile that individual tile changes to white. when the player steps off of that tile and moves to the next red tile, the white tile then changes into a blue tile. This process continues until the entire floor is blue. At that point, a door will open or a chest will appear, ect.
My problem, is that I can create the red tiles, and the resulting blue tile. The blue tile has been set up to teleport the player back to the start of the room, and reset all blue tiles to red. However, my problem occurs when the player steps on the red tile. It will either change all of the red tiles to white, or it wont change any at all. At one point the red tile did change only itself to white, but also froze the game. When I fixed the freeze, it went back to changing all tiles to white.
Also, I had an event set up so that when the tiles are white, or right when they change, they add 1 point to a "Blue Tiles" variable. This event is only activated when it has a certain number of points. (The number of tiles in the room. Which would coincide with how many resulting blue tiles their would be.) The variable event would then open the door or make the chest since it would only be active once the room is completely blue. (This "completion of the puzzle" will also change all blue tiles into "tamed" blue tiles which dont send you back to the begining of the puzzle.)
Does anybody know how I would be able to do this? the ideal would be for each local event to contain what it needs so that I can copy and paste the tiles to each square of the room. However, if anything else is needed, I would be fine with that. I'm extremely stumped, and all help will be greatly appreciated.
Thank you in advance!
-pepper-