-
Notifications
You must be signed in to change notification settings - Fork 74
project.flow; config settings not reflected #379
Comments
Yea I forgot to note that, currently you just set them in the config function like here. (I've added a note to the blog post). Both ways require a rebuild though - if you wanted to change those settings conveniently without building, you should probably load the settings from I'm working on a good way to pass information from flow to the runtime though, it's just a transition thing while fixing up some other issues. Sorry for the inconvenience! |
Loading from a config.json file does seem like a better way to handle it. Are you moving away from having these settings in a flow file? |
I'm busy clarifying the distinction between build vs runtime, and development vs user facing data in the projects and engine. Right now I just know that how that information from flow was passed into the runtime was a short stop for convenience, but the same convenience comes from the There's more than just the window settings, and more than just luxe stuff - the fact that it's build time, and requires rebuilding (and if needed by the IDE, re-setting the project) doesn't make a lot of sense as it stood. Another relevant factor is whether user facing builds use a hardcoded resolution or fullscreen state, it's not as common or useful. A better form of this type of convenience would be providing a facility to automatically read and apply some config from the |
Could it be possible to have |
yea it's better to code it in main for now. Note that the engine already sets fullscreen + borderless by default here because as a game engine, fullscreen with no status bar is the most common use case on mobile. That kinda stuff is technically what I'm referring to above btw, a consistent format for developer facing data that has important traits that we need (I'll get into that in the near future). |
Oh, didn't realize that was default behavior now. 👍 Jonathan Hirz
|
Pretty sure it's been that way for a long time but either way! |
How do you write changes to config.json? |
Seems like the project.flow file is being ignored. Settings like window size, project name, etc revert to default. Could be related to AppConfig -> GameConfig change?
The text was updated successfully, but these errors were encountered: