Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I guess it's based on random number generator, but when does the engine generate new floors? Just before entering the trapdoor, during the animation or during the cutscene? Or maybe are all floors generated at the beginning? Same thing goes for items in item rooms and shops. Are they based on frame number, RNG, or preset during level generation?

share|improve this question
I'm curious just what use you're intending to put the answer to - or is it just pure curiosity? – Shinrai Feb 11 '12 at 21:48
I want to use program named Hourglass to do a Tool-assisted run, manipulate luck, ram-search for boss/item/shop positions to minimize walking around and do other stuff like that. – Incognito Feb 11 '12 at 21:59
This seems like a more suitable question for the Game Dev Stack Exchange rather than here. – Mana Feb 11 '12 at 23:08
@Mana I have to disagree somewhat. While this question does carry a certain odor of stale cheetos and neckbeards, I'm not sure it's technical enough for gamedev. I think this is a case of there being some overlap between here and gamedev, and since the question's not quite of either exchange's perview we should probably let it stand. – Fambida Feb 12 '12 at 1:11

"rooms are generated when you start a level, but the random aspects of each room are generated when you go inside the room. also the drops that come from killing enemies and rocks are generated when you kill said enemies/rocks"

-From Edmund Mcmillen's Formspring.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.