Custom checkbox in project settings file (game.project)

Hi,

I am new to Defold, so I am not sure if this possible or not, but how do I create a custom checkbox in the game.project file? I can see there is a built-in checkbox for shared_state under the “script” section and was wondering is it is possible to create a custom checkbox. I am only able to create text fields. Hope someone can share some light on this.

Thanks,
Martin
Lead SDK Developer @ GameAnalytics

Also how do I add tooltip to the custom entries in the game.project file?

None of these things are possible at the moment. The editor keeps a list of types and tooltips for the built-in settings and you cannot add to that list.

Ok thanks for the information, but is it on the roadmap?

Not sure. @mats.gisselson or @Ragnar_Dahlen might know?

I can’t find anything in the issue tracker. You are welcome to add a feature request:

Hi Martin!

Since you’re creating a library project for GameAnalytics people will have their own game.project files. When they add GameAnalytics as a library dependency they’ll also need to manually edit their game.project file and add any relevant sections and keys that your library project might require. Similar to the instructions I wrote for my Google Analytics library.

Good luck!

Ok thanks for the feedback Björn :slight_smile: