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

[BUG] Options menu settings not applied on startup #7

Closed
3 tasks done
SethCram opened this issue Jun 16, 2022 · 1 comment
Closed
3 tasks done

[BUG] Options menu settings not applied on startup #7

SethCram opened this issue Jun 16, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@SethCram
Copy link
Owner

SethCram commented Jun 16, 2022

Describe the bug
Options menu settings not applied on startup

To Reproduce
Steps to reproduce the behavior:

  1. Open executable
  2. Go to options menu
  3. See how window is resized due to different resolution being applied

Expected behavior
As soon as main menu opened, options applied.

Desktop (please complete the following information):

  • OS: Windows
  • Game Version: 0.6.0

Development

  • Find what's stopping options menu from being applied on startup

  • script attached to options panel + options panel started as deactive

    • not even script's awake() called till active
  • try starting options panel as active + immediately deactivate it

  • changed options menu to start as active in:

    • main menu
    • pause menu UI in-game
  • solves problem

  • solve fullscreen toggle not being set properly (EXTRA)

  • added a toggle field to option menu script

  • set it on awake() to curr screen's fullscreen state

@SethCram SethCram added the bug Something isn't working label Jun 16, 2022
@SethCram SethCram self-assigned this Jun 16, 2022
@SethCram
Copy link
Owner Author

commit: 531ce0e

@SethCram SethCram added this to the Release 0.7.0 Milestone milestone Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

1 participant