On my main bottom layer where the player moves and elevators move I use this frame rate: var requestAnimFrame = window.requestAnimationFrame || window.web Solution 1: Here’s an animation illustration that uses both requestAnimationFrame and setTimeout. It would be more performant to use RAF to drive both animations, but both are presented here for illustration purposes.
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Get in touch with Window.msrequest
Contact Window.msrequest, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack