Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

GMRoomPack

Package GameMaker rooms and load them as you please · By YellowAfterlife

How can I load a specific room from a pack?

A topic by Geoff Moore created Sep 14, 2019 Views: 257 Replies: 2
Viewing posts 1 to 2
(1 edit)

How would I load a specific room from a pack of rooms? Or are multiple room packs only suitable for random selection?

Also thanks so much for making this extension, it's brilliant : )

Developer

A pack contains a ds_map where the keys are names of the rooms and values are ds_maps of room data.

The documentation has an example of picking a random room out of a pack.

(8 edits)

edit: figured it out! Turned out my code was right except I wasn't wrapping the room name in quote marks. Thanks again.