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

AGS 4: an directory-based alternative to "Import existing room" #2561

Open
ivan-mogilko opened this issue Nov 1, 2024 · 0 comments
Open
Labels
ags 4 related to the ags4 development context: editor assets related to input files for editing the game type: enhancement a suggestion or necessity to have something improved what: editor related to the game editor

Comments

@ivan-mogilko
Copy link
Contributor

ivan-mogilko commented Nov 1, 2024

Since in AGS 4 rooms are now saved as directories with multiple files in it, "Import existing room" command which imports a compiled room becomes obsolete, and only worth keeping for backwards compatibility (importing rooms from old game projects).

We need a new "Import" command that would import existing Room directory instead.

Such command might also help if room dir got "detached" from the project for some reason (not saved, or error during project save), or copied there by hand.

Proposal:

  • Old "Import existing room" is renamed to "Import compiled room" (or similar title);
  • Make new "Import existing room" that requires user to select a room directory. Tests that this directory has minimum of room contents (afaik "data.xml" is the minimal requirement, the rest may be generated). If the dir exists inside same project then simply adds a room object in game, but keep the dir. If the dir is elsewhere, then it gets copied.
  • Optionally, if the dir contains extra unknown files, ask whether to copy all files or only standard room files.
@ivan-mogilko ivan-mogilko added type: enhancement a suggestion or necessity to have something improved what: editor related to the game editor ags 4 related to the ags4 development context: editor assets related to input files for editing the game labels Nov 1, 2024
@ivan-mogilko ivan-mogilko added this to the 4.0.0 (preliminary) milestone Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ags 4 related to the ags4 development context: editor assets related to input files for editing the game type: enhancement a suggestion or necessity to have something improved what: editor related to the game editor
Projects
None yet
Development

No branches or pull requests

1 participant