• Terraria is 10 years old! Join the celebration with contests, prizes, and chats with the dev team here
  • PC NEWS: 1.4.2.3 update is out! More info here. Report bugs here
  • CONSOLE 1.4 NEWS: The current plan is to have Terraria: Journey's End out for Xbox and PlayStation in Q3 2021 (Jul-Sep). Switch will follow shortly afterwards. More info here. Stay up to date with console news here
  • MOBILE NEWS: Stay up to date with the latest mobile news here. Report mobile bugs here

RNG determination

salad_den

Skeletron Prime
I have recently wondered how RNG seed is determined by what means as in does it get generated when the game is launched or when you enter a world or maybe it it tied to the world seed? as a game that has many RNG elements it would be neat to know how such a thing is determined
 

Blood Crawler

Brain of Cthulhu
If you enter the same seed on the different device it will still work. I think a seed carries some code that gives information about the world but i don't think the game just chooses between a seed when the world is generated. You know, there's a reason why creating a world takes long time to process.

I think the seed is determined after a world is generated.
Through i'm not a developer, i'm not even a modder, it's just my theory.
 
Top Bottom