Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Galimulator

Watch the rise and fall of empires! · By snoddasmannen

Generating a 60k star system

A topic by nemmygalimulator created Mar 12, 2018 Views: 578 Replies: 7
Viewing posts 1 to 8

I don't have things to do, plus i need to keep the record. It's been generating for well over an hour looooool

The ammount of time needed to generate seems to grow exponentially based on the ammount of stars

Like, if you're generating a 10k star on my computer it takes about 20 seconds. 20k stars, 5 minutes. 30k stars, 30 minutes. 50k stars = YOOOOO

The RAM usage is at a fixed value: 1798.5 MB

Almost 2 hours loading wtf i'm scared

Developer

The thing that takes the most time is the region generation. It's supposed to be O(n log n), so not quite exponential, but I'm wondering if the algorithm is somehow bugged and it's really exponential. But hey, it's under a clearly marked experimental flag, it explicitly says you have no right to complain :)

Developer

OK looks like much of it was my fault :) After some tweaking, a 50k galaxy generates in ~5 minutes.

Heck it's been generating for 7 hours

But did you update it

Developer

Nope, will probably not be public before the religion release, which is probably at least a month away