Making Rnd more random.

About Monkey 2 Forums Monkey 2 Development Making Rnd more random.

This topic contains 16 replies, has 6 voices, and was last updated by  codifies 2 years, 4 months ago.

Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
    Posts
  • #5739

    EdzUp
    Participant

    a)OK will change it.

     

    b) it generates a consistent random set across ALL targets, this makes it easier to work out how things are going to happen on any target.

    #5746

    codifies
    Participant

    I posted elsewhere a Mersenne (which I eventually fixed!) which I use not for randomness itself (a scatter diagram shows it could be better!) but rather to have a repeatable sequence of numbers (see Elite galaxy generation)

    I implemented it in MX2 code so that it should (hopefully) give the same sequence regardless of platform…

Viewing 2 posts - 16 through 17 (of 17 total)

You must be logged in to reply to this topic.