Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sector Generator #1

Open
1 task
obscuredcode opened this issue Aug 6, 2020 · 3 comments
Open
1 task

Sector Generator #1

obscuredcode opened this issue Aug 6, 2020 · 3 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@obscuredcode
Copy link
Member

obscuredcode commented Aug 6, 2020

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

@obscuredcode obscuredcode added the help wanted Extra attention is needed label Aug 6, 2020
@obscuredcode obscuredcode added the bug Something isn't working label Aug 6, 2020
@SireNuke
Copy link
Contributor

SireNuke commented Aug 7, 2020

I must say this again, an easy solution would be to add a "generate" screen with a preview of the sector map and a button the player can use to generate another map if the previous one was full of irregularities.

@obscuredcode
Copy link
Member Author

I must say this again, an easy solution would be to add a "generate" screen with a preview of the sector map and a button the player can use to generate another map if the previous one was full of irregularities.

Systems outside the boundaries may not be to the player.

@SireNuke
Copy link
Contributor

SireNuke commented Aug 8, 2020

I must say this again, an easy solution would be to add a "generate" screen with a preview of the sector map and a button the player can use to generate another map if the previous one was full of irregularities.

Systems outside the boundaries may not be to the player.

Not if the player can see the entire map in the preview. Then, they can easily see the irregularities

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants