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

In-Game: Add functions to minimize/restore game windows on desktop platforms #7102

Closed
KingDevyn opened this issue Aug 4, 2024 · 4 comments
Closed
Assignees
Labels
documentation Improvements or additions to documentation are required by this issue feature request New feature (or a request for one) gmrt
Milestone

Comments

@KingDevyn
Copy link

Is your feature request related to a problem?

Making the game window botderless keeps the aesthetic clean. Making a custom bar lets you maintain color pallet/ graphical style while still giving the player control over the game window, however, there is no function to minimize the screen in gml.

Describe the solution you'd like

A function that minimizes the game window on Windows/mac and possibly other devices with similar functionality.

Describe alternatives you've considered

No response

Additional context

No response

@KingDevyn KingDevyn added the feature request New feature (or a request for one) label Aug 4, 2024
@stuckie stuckie changed the title Windows/Mac Minimize Add a GML function to minimize window Aug 6, 2024
@stuckie stuckie added the gmrt label Aug 6, 2024
@stuckie stuckie moved this from Triage to Backlog in Team Workload Aug 6, 2024
@yoyo-danielc yoyo-danielc added this to the 2024.10 milestone Sep 11, 2024
@yoyo-danielc
Copy link

window_minimise() and window_restore() functions have been added to the 2024.10 branch, test project:

window_minimise.zip

NOTE: The game won't auto-restore on macOS as games stop running when minimised.

@github-project-automation github-project-automation bot moved this from Backlog to Done in Team Workload Sep 11, 2024
@YYDan YYDan changed the title Add a GML function to minimize window In-Game: Add functions to minimize/restore game windows Sep 11, 2024
@YYBartT YYBartT added the documentation Improvements or additions to documentation are required by this issue label Sep 16, 2024
@gurpreetsinghmatharoo gurpreetsinghmatharoo self-assigned this Sep 18, 2024
@gurpreetsinghmatharoo gurpreetsinghmatharoo moved this from Done to Ready for QA in Team Workload Sep 18, 2024
@YYDan YYDan changed the title In-Game: Add functions to minimize/restore game windows In-Game: Add functions to minimize/restore game windows on desktop platforms Sep 19, 2024
@mgeddesGM
Copy link

mgeddesGM commented Sep 19, 2024

As of IDE v2024.1000.0.623 Runtime v2024.800.0.642 the above the sample does not run and both give the same kind of error upon further investigation. The two functions appear missing in fname for both ce1 and ce2.

image

@mgeddesGM mgeddesGM reopened this Sep 19, 2024
@github-project-automation github-project-automation bot moved this from Ready for QA to Triage in Team Workload Sep 19, 2024
@mgeddesGM
Copy link

sorry due failed by mistake. retested in IDE v2024.1100.0.623 Runtime v2024.1100.0.649 and passes for ce1 and 2 using win vm and yyc

@github-project-automation github-project-automation bot moved this from Triage to Done in Team Workload Sep 19, 2024
@gurpreetsinghmatharoo gurpreetsinghmatharoo moved this from Done to Verified in Team Workload Sep 20, 2024
@FoxyOfJungle
Copy link

Since this was added, they could have added a window_maximize too ^^', since it is part of the window commands.

Unfortunately I only saw this now. Either way, I appreciate the addition of these two new features!

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 feature request New feature (or a request for one) gmrt
Projects
Status: Verified
Development

No branches or pull requests

7 participants