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

Add vsync property to windows for native targets #1698

Open
wants to merge 6 commits into
base: 8.2.0-Dev
Choose a base branch
from

Conversation

Starmapo
Copy link

Currently, setting a window's VSync value is only possible from the Project.xml file. This pull request adds the vsync property to lime.ui.Window, which allows for getting and setting the VSync value during runtime. Useful if you want to let the user decide if they want VSync enabled.

This is only implemented for native targets, and doesn't work for Flash or HTML5 applications, though I don't know if they support VSync.

@dimensionscape
Copy link
Member

Which platforms have you tested this on?

@Starmapo
Copy link
Author

Which platforms have you tested this on?

Windows.

@dimensionscape
Copy link
Member

Thank you. This is a nice addition.

@player-03 player-03 changed the base branch from develop to 8.2.0-Dev February 5, 2024 18:04
@SomeGuyWhoLovesCoding
Copy link

Currently, setting a window's VSync value is only possible from the Project.xml file. This pull request adds the vsync property to lime.ui.Window, which allows for getting and setting the VSync value during runtime. Useful if you want to let the user decide if they want VSync enabled.

This is only implemented for native targets, and doesn't work for Flash or HTML5 applications, though I don't know if they support VSync.

HTML5 has vsync enabled by dwfault anyway, and for flash, hmmmmm... We don't know yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants