EaselJS: Caching

EaselJS: Caching

EaselJS: Cache as Bitmap Example

Người chơi

20

Đánh giá

4.5★

Danh mục

Demonstration

Giới thiệu

This example demonstrates the effect of DisplayObject.cache() and snapToPixel on performance. Caching can provide performance benefits for some types of content because the complex vector shapes do not have to be re-rendered each tick. Different browsers have different thresholds for when caching makes sense. The results for snapToPixel vary between browsers, but in general it will have no effect on the un-cached shapes, but a significant effect when cached.

Nhà sáng tạo

CreateJS

Studio trò chơi

Danh mục

Demonstration

Loại

Trò chơi nhỏ

Phát hành

Gần đây

Người chơi

20

Theo nhà sáng tạo

Thêm từ CreateJS

Cùng danh mục

Thêm trò chơi Demonstration

Phổ biến nhất

Bạn cũng có thể thích

Những trò chơi thịnh hành mà người chơi khác đang yêu thích ngay bây giờ.