EaselJS: Caching

EaselJS: Caching

EaselJS: Cache as Bitmap Example

'Yan wasa

20

Ƙima

4.5★

Nau’o’i

Demonstration

Game da

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.

Mai ƙirƙira

CreateJS

Ɗakin wasa

Rukuni

Demonstration

Nau’i

Ƙaramin wasa

An fitar

Kwanan nan

'Yan wasa

20

Daga mai ƙirƙira

Ƙari daga CreateJS

Nau’i ɗaya

Ƙarin wasannin Demonstration

Mafi shahara

Wataƙila kuma kana son waɗannan

Wasanni masu tasowa da sauran 'yan wasa ke so yanzu.