korlibs / korlibs/korge

Property to get display FPS

Open
#747 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Kotlin
Stars
3k
Forks
148
Avg merge
13h 44m
Merged PRs (30d)
1

Description

Java AWT:
* http://www.java2s.com/Code/Java/2D-Graphics-GUI/GettingtheCurrentScreenRefreshRateandNumberofColors.htm
JS:
* https://stackoverflow.com/questions/6131051/is-it-possible-to-find-out-what-is-the-monitor-frame-rate-in-javascript
iOS:
* https://developer.apple.com/documentation/uikit/uiscreen/2806814-maximumframespersecond
MacOS:
* https://developer.apple.com/documentation/coregraphics/1454661-cgdisplaymodegetrefreshrate
Android:
* https://stackoverflow.com/questions/10379708/is-there-any-way-to-get-display-refresh-rate-programmatically
Linux:
* https://stackoverflow.com/questions/17797636/c-linux-get-the-refresh-rate-of-a-monitor
Win32:
* https://stackoverflow.com/questions/4110731/how-to-get-the-screen-refresh-rate/4110756

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no repository files, tests, or entry points; it only links platform-specific references for Java AWT, JavaScript, iOS, macOS, Android, Linux, and Win32. Start by locating the platform display abstractions and checking how properties are exposed across targets. Done should mean a defined display-FPS property with behavior covered for the supported platforms.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.