A
AtomicToilet
Guest
Hey folks!
I recently followed Heartbeast's tutorial on randomly-created rooms/dungeons, and understand the majority of it well enough, but what's stumping me is: how to allow the player to move between rooms?
I understand/use the
target_x
target_y
target_r
code in my other prototypes, since in those the rooms are set, so it's possible to alter the 'warp' x/y points accordingly. But, in the case of this type of game, how can I get my Player to use a 'warp' point if the room they're off to isn't generated yet...? Should I be trying to use a completely different 'warp' code?
Sorry if this is painfully obvious - I've had a few months away from using GM so I'm a little rusty
edit: just thought, it might help to say that I have the room code generate just one of a 'Warp' object, which the Player can interact with to, ideally, initiate the room transition.
I recently followed Heartbeast's tutorial on randomly-created rooms/dungeons, and understand the majority of it well enough, but what's stumping me is: how to allow the player to move between rooms?
I understand/use the
target_x
target_y
target_r
code in my other prototypes, since in those the rooms are set, so it's possible to alter the 'warp' x/y points accordingly. But, in the case of this type of game, how can I get my Player to use a 'warp' point if the room they're off to isn't generated yet...? Should I be trying to use a completely different 'warp' code?
Sorry if this is painfully obvious - I've had a few months away from using GM so I'm a little rusty
edit: just thought, it might help to say that I have the room code generate just one of a 'Warp' object, which the Player can interact with to, ideally, initiate the room transition.