New to construct, first time posting on the forums:
I have a game, which On Collision with "DoorWarp"(an invisible sprite object) the game sets a variable RoomRandom from 1-10, this part is working great. Depending on the value it retrieves, it loads a new layout based on the value. Level 1-1 for 1, 1-2, for 2, etc.
I'm making a rogue-like-esque-lite game where level progression should be random.
Each 'level' is on it's own layout, and is associated with a RoomRandom number as explained before.
How do i make it so RoomRandom doesn't repeat numbers when you collide with DoorWarp.
For example, i can be on 1-1 and hit the DoorWarp, loading 1-5... Perfect.
I beat 1-5 and RoomRandom chooses a new number, if this number is 1, it loads 1-1.... Undesired.
Sometimes, even, i beat 1-5 and RoomRandom lands on 5 again and reloads 1-5.... Undesired.
How do i make it so once RoomRandom picks a number, that number can no longer be chosen again until game over.