Skip to content

Add some sort of random seed source #401

@gnarz

Description

@gnarz

As we can not rely on the operating system for this, it would be neat to have a few bytes (like, 4 or 8), that are different on each invocation of w4. The intent is to use them as a random seed source, so that games whose level layout depends on random numbers don't always look the same. Anything would be fine, like a timestamp or something, as long as it changes with each invocation. Alternatively there could be a function to do that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions