"Infinite" Procedural Generate Game Possible?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hey everybody!
    I wanted to know if there is any limits to making an "infinite" procedural generated game?
    Things like: lag, rendering, etc. Especially making it procedural, since it will be "infinite". I'm looking to make something like a survival type of game, top-down. Thanks!:)

    P.S: by infinite, I mean really large-ish, because infinite might be a bit too far.

  • as long as you "unload" things (destroy) you don't need (i.e. tiles outside screen, enemies too far etc.)
    the only limit I can see is you saving medium

    I guess the array has 256 GB memory limit,
    I think you can store a (rough) maximum in (about) the order of some million entries (cells)

    but for optimal performances you'd better stay well below those numbers
    parsing an array with very big indices can be slow and save/load times much longer

    so if you need more, to stay on the safe side,
    you could simply use smaller but multiple array save files for your "sections"
    and clear/load them on need
    (like splitting your world in grids of, say, 1000x1000 cells (sectorX0Y0),
    when you get on the 1001th horizontal cell clear the array and set your file to sectorX1Y0.arr)
    making things almost infinite
    (limit would be your hard drive capacity for storing all this array stuff XD)

    then you would have to think if using multiple arrays (3 would do) to parse your sectors outer "edges" in real time as you approach a different sector

    a selection of my Fusion examples can be found Please login to see this link.

  • I think it'd be tough especially if you want the player to be able to return to the older areas (which of course you would I would think).
    If you were going floor by floor where the player couldn't return to them afterwards you could have the thing go all night and day :D

    Weebish Mines, my retro Metroidvania!
    Please login to see this link.

  • Infinite is not possible because you'll run out of memory to story the infinite world. Unless you're going to randomly generate sections that when you return to they are 're-randomly generated', but that is not really an infinite world but a random world. However you can make 'very big' worlds, given that computers have a rather large memory bank.

    The problem you're asking is also a generally philosophical one, can we simulate our own universe inside our universe? Even if we use an atom-per-atom system to store the position every atom in our universe, we would need to construct a universe the size of our own to store our simulation.

    So if you're looking to create an infinite model inside the finite space of our universe, you're not going to have enough binary 'on-off' switches to do so, noting that a binary 'on-off' switch takes up more than 1 atom. If you were to acquire enough binary switches, you would be constructing another universe infinitely larger than our own to store your 'infinite game'.

    Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!