YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
26 stars 8 forks source link

Project Load: Add the ability to override default sprite size (or other Preferences) via something per-project #8437

Open oliverhermanni opened 5 days ago

oliverhermanni commented 5 days ago

Is your feature request related to a problem?

Whenever I start a new project and use different sprites I need to reset the default sprite dimensions in the preferences. As I use different assets in different projects this is a bit annoying.

Describe the solution you'd like

There could be a text config file that overrides any option like Jetbrains does in its IDEs with ".editorconfig". Settings for sprite dimensions then could look something like:

[...]
default_animation_speed=60
default_sprite_width=8
default_sprite_height=8
[...]

If a project is loaded in Gamemaker it checks for the config file and if it exists the default settings from Preferences will be overridden.

A text file with the options set in "Preferences" could be generated via a button on the "Preferences" start page.

Describe alternatives you've considered

Add the sprite dimensions to "Game Options". On a new project they default to the settings in "Preferences", but if changed the sprite editor uses the settings from "Game Options".

TBH this was the first idea I had, but while writing this ticket I found the other option better.

Additional context

No response

YYDan commented 4 days ago

Yeah, I read the initial suggestion and wondered "why wouldn't we just add it to Game Options, save making an entirely new and obscure system for this?" ;)

oliverhermanni commented 3 days ago

@YYDan Both have their benefits. "Game Options" probably is easier to implement. A external textfile could be useful in teams, so everyone shares the same settings. :)

rwkay commented 3 days ago

Lets not add it into GameOptions... This should be supported like user level overrides - having it for project level overrides