Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build flags #1591

Open
permartinson opened this issue Sep 19, 2024 · 1 comment
Open

Build flags #1591

permartinson opened this issue Sep 19, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@permartinson
Copy link

Is your feature request related to a problem? Please describe.
For creating different language versions, or adding debug-specific options, the ability to use build flags would be very helpful.

Describe the solution you'd like
I imagine a simple event very similar to the event group, with an additional dropdown to select one of the defined build flags. If the flag is set to true when compiling, the group will be included in the build. Otherwise it is ignored. The build flags could be defined in the Build Options section of the settings. A dropdown at the left of the build button could contain checkboxes to activate and deactivate the flags.

Describe alternatives you've considered
I have currently made a custom event for my project with a similar solution. But because I wanted to prioritize my time to focus on the game, I edit the flags directly in the .js file before compiling.

@permartinson permartinson added the enhancement New feature or request label Sep 19, 2024
@maxoakland
Copy link

This would be useful for me. I already use build flags and just set them manually in an empty "Init" scene that I only use to initialize variables at the start of the game

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants