Repository navigation
feat: improve the floor generation - #133
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
The same seed produced identical floors for every floor id from 3 on, floor 0 only had about three normal rooms and often no shop, and more than half of the boss rooms spanned several cells. The floor id is now part of the random seed, the room amount follows the original formula from stage 1 up to 20 rooms, and floors are generated again until they reach the room amount and have enough dead ends for the boss, item and shop room. Big boss rooms and teleports are now rare and configurable, and the super secret room has its own room type 8, is always placed next to exactly one room and is shown in its own color in the UI. All seeds produce new floors with this change, and the seed stability test pins the new floors from now on.
Types of changes
What types of changes does your code introduce to this project?
Put an
xin the boxes that apply