The Botanist Blog: Tuning Phaser Performance
"The biggest performance killer is the smooth-scrolling camera follow mode. Scrolling has to be perfectly smooth, running as close as possible to 60 FPS with little variation, otherwise it’s really noticable. Scrolling, in general, is a hard problem, and is in fact one of the biggest CPU hogs in everyday desktop computer usage as well."
"I wrote recently about a mobile-efficient camera scroll, which avoids smooth scrolling altogether and really improves the mobile experience, but I want to get smooth scrolling working really well on desktop platforms. The bulk of my testing so far is in Chrome and Firefox, so most of this post is about Firefox."
Learn to code and lead your intrepid crew on a mission to save The Cloud in TwilioQuest, a PC role-playing game inspired by classics of the 16-bit era. Free forever, and available now for Windows, Mac, and Linux.
The first book on the creation of HTML5 cross platform games using Phaser 3 and other free software.
- By Emanuele Feronato
- 155 Pages
- 28 Source Code Examples
- Build a complete game from start to finish
- Cross Platform
- Scaling for devices
Buy Now
$19