adventuregamestudio / ags

AGS editor and engine source code
Other
672 stars 159 forks source link

Default values in General Settings / Default Setup #2210

Open Crystal-Shard opened 7 months ago

Crystal-Shard commented 7 months ago

Describe the bug In a large properties panel (in particular, General Settings and Default Setup in the AGS editor) I find it practical to see which values are in their default setting and which have been changed. The latter stand out because Windows prints them in boldface, and this makes it easy to change them back to their default. However, I find that a number of settings either don't have a default (meaning they're always boldface) or don't start at their default value when creating a new game. For instance, "Sprite File Compression" doesn't have a default value, and "Characters Turn To Face Direction" is initialized to false where the default is true. This has a clear workaround so it's not urgent, but it some cases I would really like to know what the default (recommended) values are.

AGS Version 3.6.0.52

To Reproduce Steps to reproduce the behavior:

  1. Create a new game using the Empty Game template
  2. Click on 'General Settings' or 'Default Setup'.
  3. Note how a number of values are boldfaced. All of these either don't have a default, or are not initialized to their default.

Expected behavior All settings should have a default (which should probably be the most recent / most recommended setting), and when starting a new game all settings should be initialized to their default value.

Desktop (please complete the following information): Windows 11

ivan-mogilko commented 7 months ago

The starting values come from templates. This responsibility also lies on a template author or maintainer.

If this is really wanted, this request should be copied to the templates repository: https://github.com/adventuregamestudio/ags-template-source/issues

Although, I cannot tell if this may be seen as a requirement, as each template may have its own design?

For this ticket then the task is to gather the list of properties that don't have default value hints, and set a meaningful default. Although I wonder if there are properties that have no "recommended" defaults.

Crystal-Shard commented 7 months ago

That's a good point, I didn't know the templates had a separate repo and ownership. I'll make a ticket for Empty Game; the other templates presumably have good reason for using different values.

ivan-mogilko commented 7 months ago

Here's the list of the properties that don't have default values (judging by 3.6.1 state):

General Settings:

There may be also some properties which default values are questionable, like "Debug Mode" is true by default. While that's a reasonable starting value, idk if it's logically default in game.

Default Setup:

Crystal-Shard commented 7 months ago

It makes sense to me for Debug to default to false; this makes it stand out if it's still true when you're trying to release.