General > Discussion
Pre-generated games & GotM
RickVoid:
When you start the game, it shows you a screen in which it names all of the towers, and # symbols slowly pop up next to the names, one after another. (7 for the first towers, 8 for the main tower.) We all assumed this was where the levels were generated. They get loaded into the game, before the game. Hence my calling it a pre-loader.
So, back to my question. If it's not generating the levels (since you just said they get generated when you go to that floor) what the hell is it doing?
BDR:
--- Quote from: Kornel Kisielewicz on March 26, 2007, 11:22 ---What you didn't take into account is the fact that contrary to AliensRL levels are generated when you enter them ;]. That means, that you'll get a different level depending on (for example) how many times you fired in the previous one :P.
--- End quote ---
Translation: In AliensRL, levels are loaded at the beginning of the game. In DoomRL, they are loaded when you enter the staircases.
Make sense?
RickVoid:
--- Quote from: BDR on March 26, 2007, 11:48 ---
--- Quote from: Kornel Kisielewicz on March 26, 2007, 11:22 ---What you didn't take into account is the fact that contrary to AliensRL levels are generated when you enter them ;]. That means, that you'll get a different level depending on (for example) how many times you fired in the previous one :P.
--- End quote ---
Translation: In AliensRL, levels are loaded at the beginning of the game. In DoomRL, they are loaded when you enter the staircases.
Make sense?
--- End quote ---
DOH!
Me so stupid sometimes. Need to read more thoroughly.
:(
Rabiat:
--- Quote from: Kornel Kisielewicz on March 26, 2007, 11:22 ---What you didn't take into account is the fact that contrary to AliensRL levels are generated when you enter them ;]. That means, that you'll get a different level depending on (for example) how many times you fired in the previous one :P.
--- End quote ---
You're right, I didn't take that into account. :) In that case, you would need to predetermine each level at game start, but it can still be done using a single random seed for each level. And an array of 'level seeds' could be determined randomly, using a single random seed to identify the game as a whole. You couldn't do that in ten lines of code, but I don't think it would qualify as a major rewrite.
Santiago Zapata:
Hehe Kornel, but you can make it so the RNG seed can be obtained and reused? thus the newly generated leves would be the same for everybody playing the same seed, no?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version