Skip to main content

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

Rules +

A topic by Kylihim created Oct 20, 2022 Views: 505 Replies: 7
Viewing posts 1 to 3

So, mods like: mini mod, lava floor, character swap, etc... I want some help  to add them to rules settings. Please

Developer

What part in particular are you stuck on?

For adding a bar option?

Developer

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?

Developer

Developer

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.

h