You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Le jeu est beaucoup plus fluide : tes mesures montraient qu'il suffisait de couper l'une des couches « dessins », « formes » ou « tuiles » pour retrouver presque 60 images par seconde. Ces trois types d'objets cassaient le regroupement des dessins du navigateur. Les murs, toits, rectangles et ombres sont maintenant des images, et les décors fixes sont figés une fois pour toutes : de 173 à 60 appels de dessin par image dans mon test.
English
The game is much smoother: your measurements showed that switching off any one of the "graphics", "shapes" or "tiles" layers brought it back to almost 60 frames per second. Those three object types were breaking the browser's draw batching. Walls, roofs, rectangles and shadows are now images, and fixed decor is frozen once: from 173 down to 60 draw calls per frame in my test.