haadocs.blogg.se

Random dungeon map generator algorithm
Random dungeon map generator algorithm













random dungeon map generator algorithm

(for instance)įinally it's only a begin to end room generator but still i hope it will helps you. In the end you have in the editor, room_premade_001, 002, 003 ,004, 100Īnd in the end the player will encounter room 002 004 005 006. When ending the first room, go to the second room of the ds_list, etc. Then when you start the game, go into the first room of the ds_list, In this script it's possible to create a ds_list and loop on rooms name room_premade_xxx and randomly ad them to the ds_list, the ds_list must be global or in a simpleton object (= obj_system for instance, and you only got one) Then, create a script named "room_random_selection" I think you should, as you said, create your own room and name them something like room_premade_001, room_premade_002 an so on. ( i am using gm1.4 atm so i am not sure my answer will be 100% accurate)















Random dungeon map generator algorithm