Hi,
I am working on a rougelike in rpg similar to the binding of issac. I’ve looked through 3-4 different threads and watched as many videos as I can and I still have no idea how to do this. Basically I’m trying to make teleports that take you to a random next room. I was hoping someone could help me with this
SCREENSHOTS WOULD BE GREATLY APPRECIATED
basically you use control variable to get random numbers and then transfer to those variable coordinates.
you just have to design your maps in a way that the target of the variables is always a passable part of the map. And that is not something you can show in screenshots as it is design and mathematics.
Just as an aside...please, it's "rogue" 😛
Thanks so much guys really appreciate it.
Hey uh for some reason I can’t walk. When I boot up the game I stay frozen and can’t move. btw thanks for the screen recording software really appreciate it
Your event number one sets random values between 1 and 3 to variables 3 (Random Room ID #1) and 4 (Random Room ID #2), then turns itself off by setting self switch A to stop the autorun by making event 1 go onto the second page, which is not autorun. So far so good, although I am not sure why you need to set 2 variables.
Did you use the wrong variable in event 3? Event number 3 tests variable number 1, which you haven't given any value to in event 1. If a variable isn't set anywhere, you can assume that it has a value of 0.
Event 3 would transfer the party to different locations within "Forrest" if the variable it tests had the value of either 1 or 2, but would do nothing if it had any other value. Event 1 sets its variables randomly to anything between 1 and 3 inclusive. Event 3 won't do anything if the variable it checks has a value of 3, so no transfer.
You showed the first event page of event 3, and it is autorun. You also need to do something to stop it, otherwise that page will keep repeating without stopping, freezing the game.