Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

For adding a bar option?

You'll want to

1. Add a new variable to the _settings struct in game_settings for the new option.

2. Add the name of the new option to match_settings_choices in obj_css_ui: Room Start.

3. Change the Step and Draw End events of obj_css_ui to handle the new option.

Once you've added all the rules to the menu, you can decide where to put the code that checks the match settings and applies the rule. That'll probably be in game_object_setup.

Ummmmmm... I don't understand these since 1 month... :(

Maybe I can understand with a quick tutorial on Youtube?

This is the minimum code required to add an option to the menu. You'll still need to add code that checks the setting, as well as modifying "match_settings_save", "match_settings_load", and "match_settings_default" so replays work as intended.