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

Core Feature: Locations update background variant based on time of day. #10

Open
ShiJbey opened this issue Jan 30, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@ShiJbey
Copy link
Owner

ShiJbey commented Jan 30, 2024

Overview

Locations should update their background variant based on the current time of day. However, this should happen automatically without writers needing to specify the time of day as an additional tag. Also, calls to AdvanceTime() from within Ink scripts should also result in the current background updating itself.

Planned version: 1.0

This feature implies the following:

  • Locations should store the last tags used to set their sprite.
  • We have a way to add tags to the current list of sprite tags without overwriting the list.
  • Subsequent calls to display the same background, without specifying sprite tags, should result in the same sprite being presented.

This feature might benefit from:

  • An optional tag syntax that would allow us to specify the time-of-day as an optional tag that the system will try to satisfy but will fall back to the required tags if none meets all the optional tags
@ShiJbey ShiJbey added the enhancement New feature or request label Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant