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

Asset overrides/delta updates for UI screens and skins #3238

Closed
skaldarnar opened this issue Jan 20, 2018 · 1 comment
Closed

Asset overrides/delta updates for UI screens and skins #3238

skaldarnar opened this issue Jan 20, 2018 · 1 comment
Labels
Topic: Architecture Requests, Issues and Changes related to software architecture, programming patterns, etc. Topic: UI/UX Requests, Issues and Changes related to screens, artwork, sound and overall user experience
Milestone

Comments

@skaldarnar
Copy link
Member

Theming for Game Modes

Modules can provide assets and reusable resources in form of textures, prefabs, UI screens, etc. Adjusting the visuals of these assets for consistent look and feel is essential for game modes.

UI screens defined in modules may set a skin to be used for visual style. Ideally, a delta update of the *.ui file should enable to change the skin while not touching anything else of the screen definition.

Approaches

The following approaches were taken to change the texture used for the background of the UI screen:

not working

  • create new skin file
  • delta update for the *.ui file to point to different skin (are delta updates working for .ui files?)

not working

  • create new skin file
  • override *.ui file with a copy and change referenced skin (are overrides working for .ui files?)

not working

  • overriding the *.skin file referenced in the original *.ui file (are overrides working for .skin files?)

However, the following does work:

working

  • override *.ui file and changing the content of the screen

References

@skaldarnar skaldarnar added Topic: Architecture Requests, Issues and Changes related to software architecture, programming patterns, etc. Topic: UI/UX Requests, Issues and Changes related to screens, artwork, sound and overall user experience labels Jan 20, 2018
@skaldarnar
Copy link
Member Author

This is sufficiently solved by #3241 (for now). @vampcat pointed out that there is a general issue regarding reuse of assets between modules connected to simple names vs fully qualified names.

@Cervator Cervator added this to the Alpha 9 milestone Feb 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Topic: Architecture Requests, Issues and Changes related to software architecture, programming patterns, etc. Topic: UI/UX Requests, Issues and Changes related to screens, artwork, sound and overall user experience
Projects
None yet
Development

No branches or pull requests

2 participants