Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@LeNitrous
Copy link
Contributor

@LeNitrous LeNitrous commented Oct 8, 2019

Resolves #6272 and in turn allows #4391, #4175, and #3201 to be realized.

Creates a new interface IModHasSettings which allows a mod to create controls such as check boxes and sliders to allow the user control over it's properties.

A new button is found on ModSelectOverlay called "Customization" which opens a simple interface where all controls for customizing mods are found.

The Modify mod will be made in a separate PR and is only shown here as an example.

Example:
image

@frenzibyte
Copy link
Member

frenzibyte commented Oct 8, 2019

Can the customization overlay not hit the bottom area of the mod select overlay (where the mod buttons are), it's darkening the score multiplier text.

@bdach bdach added area:mods type/cosmetic Only affects the game visually. Doesn't affect things working or not working. resolves issue labels Oct 8, 2019
@peppy
Copy link
Member

peppy commented Oct 9, 2019

This is missing any form of testing. How are you testing? Please make a test scene with a test mod which implements settings.

@peppy
Copy link
Member

peppy commented Nov 27, 2019

Just a heads up that whatever you did to this PR to bring it up-to-date is not the correct way (git merge upstream/master is what you want in the future).

@peppy
Copy link
Member

peppy commented Dec 6, 2019

Updated behaviour somewhat to use new logic in #7081.

@peppy peppy changed the title Introduce Mod Customization Add per-mod settings Dec 6, 2019
@smoogipoo smoogipoo merged commit 166e957 into ppy:master Dec 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:mods size/L type/cosmetic Only affects the game visually. Doesn't affect things working or not working.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow mods to have their own settings

6 participants