Hi everyone,
I am developing a Roguelike game in RPG Maker MV. I know how I would handle what I need with events but I am interested in trying to figure out how to do it with script calls as I think it may be a lot easier/cleaner in the long run. Here's the situation and what I'm interested in learning to do. Maybe you can give me a starting point to work from, or point me towards some resources to learn to do it myself?
In the game you go on adventures that are a series of dungeons. The dungeon you start on is randomly selected from a small pool of 3 dungeons. You can return to town between rooms of the dungeons to shop, and I have found a way to track where you are in which dungeon using variables so it can send you back to the right room when you're down.
However, once you complete a dungeon you also go to town and are then sent to another of the 3 dungeons. I know I could use a series of conditional branches to determine which dungeon the player has already been to and send them to a random of the other two, and then the last one, but I'm wondering if there would be a better way to do this using scripting. Something that would check for which dungeons have been completed and send the player to a random selection of the remaining pool.
I figure with a script, I could more easily scale this number of dungeons up from 3 once we're out of the demo phase. I also figure this is probably simple enough for me to be able to really follow the code or even write it myself with some guidance.
Thanks for your time!
-Cyrus
I am developing a Roguelike game in RPG Maker MV. I know how I would handle what I need with events but I am interested in trying to figure out how to do it with script calls as I think it may be a lot easier/cleaner in the long run. Here's the situation and what I'm interested in learning to do. Maybe you can give me a starting point to work from, or point me towards some resources to learn to do it myself?
In the game you go on adventures that are a series of dungeons. The dungeon you start on is randomly selected from a small pool of 3 dungeons. You can return to town between rooms of the dungeons to shop, and I have found a way to track where you are in which dungeon using variables so it can send you back to the right room when you're down.
However, once you complete a dungeon you also go to town and are then sent to another of the 3 dungeons. I know I could use a series of conditional branches to determine which dungeon the player has already been to and send them to a random of the other two, and then the last one, but I'm wondering if there would be a better way to do this using scripting. Something that would check for which dungeons have been completed and send the player to a random selection of the remaining pool.
I figure with a script, I could more easily scale this number of dungeons up from 3 once we're out of the demo phase. I also figure this is probably simple enough for me to be able to really follow the code or even write it myself with some guidance.
Thanks for your time!
-Cyrus