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

UI Layers: No way for users to define creation order between room and UI layer instances #9523

Closed
gm-bug-reporter bot opened this issue Feb 24, 2025 · 3 comments
Assignees
Labels
documentation Improvements or additions to documentation are required by this issue ide-bug Bugs with the GameMaker IDE project This issue has a sample project attached runner-bug In-game bugs with the "GameMaker Studio 2" runtimes
Milestone

Comments

@gm-bug-reporter
Copy link

Description

There is currently no way for users to define the creation order between room and ui layer instances, UI layer instances are always created before room instances.

Ideally users should be able to define if they want their UI Layer instances to be created before or after their initial rooms instances.

Steps To Reproduce

Run project
Runtime error

Which version of GameMaker are you reporting this issue for?

IDE v2024.1300.0.754 Runtime v2024.1300.0.764

Which operating system(s) are you seeing the problem on?

Windows 10.0.22631.0

07f81bfd-e731-40ee-bd63-66cc2f7b87c8

@gm-bug-reporter gm-bug-reporter bot added project This issue has a sample project attached runner-bug In-game bugs with the "GameMaker Studio 2" runtimes labels Feb 24, 2025
@stuckie stuckie added this to the 2024.13 milestone Feb 25, 2025
@stuckie stuckie moved this from Triage to Todo in Team Workload Feb 25, 2025
@YYDan YYDan changed the title UI layers: No way for users to define creation order between room and UI layer instances UI Layers: No way for users to define creation order between room and UI layer instances Feb 25, 2025
@yyalansavage yyalansavage moved this from Todo to In Progress in Team Workload Feb 25, 2025
@yyalansavage
Copy link

Including uilayer instances in 1st rooms instance creation order so order can be defined. The instance creation order window in IDE indicates which instances are from ui layers (only for the 1st room)

Image

@github-project-automation github-project-automation bot moved this from In Progress to Done in Team Workload Mar 5, 2025
@YYDan YYDan added the ide-bug Bugs with the GameMaker IDE label Mar 5, 2025
@gurpreetsinghmatharoo gurpreetsinghmatharoo added the documentation Improvements or additions to documentation are required by this issue label Mar 6, 2025
@gurpreetsinghmatharoo gurpreetsinghmatharoo self-assigned this Mar 6, 2025
@mgeddesGM
Copy link

https://api.gamemaker.io/api/github/downloads/516df3f8-fac7-4011-a530-b971c30baf66

I tested this in IDE v2024.1300.0.766 Runtime v2024.1300.0.774. Running on the first room will out put the numbers 1->5, press space then it will move to room 2 and show R2-1, R2-2. This is the expected order. Then press space again and room 1 will open again. The output should be 1 and 5 but the output is 1,5,1,5

About to startroom
! - 1
! - 2
! - 3
! - 4
! - 5
Total memory used = 41078719 (0x0272cfbf) bytes 39.18MB
Free memory = 6647128 (0x00656d58) bytes 6.34MB
Peak memory used = 41078719 (0x0272cfbf) bytes 39.18MB
**********************************.
Entering main loop.
**********************************.
! - R2-1
! - R2-2
! - 1
! - 5
! - 1
! - 5

@mgeddesGM mgeddesGM reopened this Mar 6, 2025
@github-project-automation github-project-automation bot moved this from Done to Triage in Team Workload Mar 6, 2025
@stuckie stuckie closed this as completed Mar 6, 2025
@github-project-automation github-project-automation bot moved this from Triage to Done in Team Workload Mar 6, 2025
@gurpreetsinghmatharoo gurpreetsinghmatharoo moved this from Done to Ready for QA in Team Workload Mar 6, 2025
@mgeddesGM
Copy link

verified as of IDE v2024.1300.0.767 Runtime v2024.1300.0.775

@mgeddesGM mgeddesGM moved this from Ready for QA to Verified in Team Workload Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation are required by this issue ide-bug Bugs with the GameMaker IDE project This issue has a sample project attached runner-bug In-game bugs with the "GameMaker Studio 2" runtimes
Projects
Status: Verified
Development

No branches or pull requests

6 participants