8

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?

  • 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
  • 2
    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
6

"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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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