Random Room Generation
I would like to make somthing similar to Binding Of Isaac as a school project. I had the idea to make about 50 levels, and then in the main level, randomly select from one of those when the player walks into the next room, but keep in memory those, which are already loaded. Is there any way to do that? I suppose I should use level streaming, but how to do the random part?
asked Nov 08 '14 at 12:03 PM in Blueprint Scripting
At this time, you aren't going to be able to use random generation with level streaming without going into C++.
You could however use streaming and teleport your player to one of the 50 rooms randomly. You would just have the rooms spread all over your persistent level, but steamed out, and then when it chooses a room to teleport you to it would also call for the room to be streamed in.
As for how you actually do random, that really depends on how random. Doing it completely random is easy, such as random int 1-50 fed into a switch on int. If you want to put some intelligence behind what room might lead to another room it can get quite a bit more complicated(enough for quite a few separate answerhub questions for each problem you run into).
answered Nov 08 '14 at 01:22 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here