Memes, Shaders and PixiJS: How an RTS on the Web Loads in 3 Seconds and Delivers 120 FPS
summary
A four-year development case study of the browser RTS Age of Memes built with PixiJS. Covers why the team wrote a custom web game engine, texture compression and resize algorithms plus progressive-loading optimizations to get First Contentful Paint with only 6–8 MB, and how custom indices, rendering optimizations and custom shaders on PixiJS enable 120 FPS on maps with thousands of units.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 3:17Game overview
- 7:33Engine choice
- 12:52Custom engine
- 14:17Texture optimization
- 26:41Asset storage
- 28:48Load priorities
- 32:27Texture selection
- 33:31PixiJS details
- 35:21Layer rendering
- 37:07Spatial index
- 41:00GPU instancing
- 45:18Lightweight renderer
- 46:43Architecture & multiplayer
- 51:06Conclusion & Q&A
related talks
37mTricky JS and WebGL practices to achieve the best performance on mobile
43mWebGL 2D Rendering with PixiJS
20mOptimizing assets for graphics heavy Web Applicatoins: tips and tricks from the game dev background
26mSVG, Canvas, and WebGL: The Power, the Beauty, and the Cost
29mLet's make games with JavaScript
34mAves Engine: High performance browser games
39mLife of a pixel: A visual explanation of rendering performance
23mOptimizing HTML5 Games: 10 Years of Learnings
