playcanvas / playcanvas/engine
Add 'target framerate' API
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 16.8k
- Forks
- 2k
- Avg merge
- 4h 32m
- Merged PRs (30d)
- 222
Description
We should give users the ability to try to target a framerate that's independent from the monitor refresh rate.
Having the ability to cap at 60 FPS in the world where more and more monitors are now high refresh rate would really help some developers ensure a consistent experience between users.
Along the same lines, being able to target a lower framerate (eg 30fps) would help with reducing battery drain on mobile devices and also help the experience with users on lower end devices
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named. Start by locating the engine's frame-timing and public API entry points, then clarify how targets such as 60 FPS and 30 FPS should interact with monitor refresh rates and mobile battery usage before defining completion criteria.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, game-dev, performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100