Skip to content

"Randomize Map" feature#374

Open
Pordrack wants to merge 12 commits intoipodtouch0218:nightlyfrom
Pordrack:master
Open

"Randomize Map" feature#374
Pordrack wants to merge 12 commits intoipodtouch0218:nightlyfrom
Pordrack:master

Conversation

@Pordrack
Copy link
Copy Markdown
Contributor

@Pordrack Pordrack commented Aug 3, 2025

I added a toggle to Randomize the stage selection.
When in "Randomize" mode, the player is also able to toggle levels on/off from the random level selection.
Because this affects the UI and I think it's easier to work on UI with prefabs (to avoid future merge conflicts if people are working on different part of the main menu), I also made prefabs for some UI elements.
This PR is in answer to the #367 issue

@Pordrack Pordrack marked this pull request as ready for review August 3, 2025 13:06
@Pordrack
Copy link
Copy Markdown
Contributor Author

Pordrack commented Aug 3, 2025

…loop

Because the toggle directly controls the rules, and when the rules are changed it changes the toggle, and there's a delay between those 2 events, spamming the toggle could result in a loop where the toggle changes it's value itself over and over on loop
@Windows10V1
Copy link
Copy Markdown
Contributor

I think you should change the base branch, because master is for releases, lol

@Pordrack Pordrack changed the base branch from master to nightly August 4, 2025 11:54
@Pordrack Pordrack changed the base branch from nightly to master August 4, 2025 11:55
@Pordrack Pordrack changed the base branch from master to nightly August 4, 2025 16:47
@Pordrack
Copy link
Copy Markdown
Contributor Author

Pordrack commented Aug 4, 2025

Oh sorry didn't thought about it. I merged Nighlty into my branch and there seem to be no conflicts (there was 3 conflicts on the main menu scene but I was able to fix them all), I tested the game after the merge and everything still works.

The room would tell the name of the randomly chosen map before this update
The background was ugly and the icon was of a wrong size, so I replaced both with some pattern I made on gimp, not great but better than wwhat was here before
@ipodtouch0218 ipodtouch0218 linked an issue Aug 7, 2025 that may be closed by this pull request
@Amy54Desu
Copy link
Copy Markdown
Contributor

I like how this was done with a random icon on stage select instead of a more generic toggle in something like Game Settings. The icon can be brushed UP but that is not related to the concept.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add option for random map

3 participants