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.
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.
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.