Skip to content

Sector Generator #1

@obscuredcode

Description

@obscuredcode

Systems/clusters are first placed into a regular grid; then if the number of systems is below the minimum, a new position is calculated by displacing its current position along a normal curve number generator. Then the current system is compared against the other systems, if it is within a certain distance, the system is displaced. Then the systems are randomly displaced to the other side to improve sprawl. This is our best attempt to create the illusion of the distribution of stars in a galaxy, however it is still unnatural and does not model the Game Maker Studio Chapter Master's sector generator.

  • Systems are still erroneously placed outside the boundaries.

https://github.com/ChapterMasterRestoration/Chapter-Master-Restoration/blob/master/ChapterMaster/ChapterMaster/World/Sector.cs

Metadata

Metadata

Labels

bugSomething isn't workinghelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions