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
Assets scale is nice feature of FlashJS, but there are few issues connected with this.
Assets are loaded with AssetsLists which is object of AssetList class. Every AssetList have to know what scale to use (what folder to use as loading path). And scale can be obtained from pixelScale property of Stage. And we can have few stages on page.
So first question is - what is the best way to pass scale to AssetLoader? Is it ok to have one AssetsList per Stage? There are no any problems if it is. Every Stage would have AssetLoader with particular pixelScale.
But!
We also need tag for DOM interface and this can be otained with help of global AssetsList. This breaks proposition of one AssetList per Stage!
So there are few questions:
1.Choose best way to inform AssetList about assets scale needed.
2.Propose mechanism for determining source AssetList for tag. Will it be global AssetList?
The text was updated successfully, but these errors were encountered:
Assets scale is nice feature of FlashJS, but there are few issues connected with this.
Assets are loaded with AssetsLists which is object of AssetList class. Every AssetList have to know what scale to use (what folder to use as loading path). And scale can be obtained from pixelScale property of Stage. And we can have few stages on page.
So first question is - what is the best way to pass scale to AssetLoader? Is it ok to have one AssetsList per Stage? There are no any problems if it is. Every Stage would have AssetLoader with particular pixelScale.
But!
We also need tag for DOM interface and this can be otained with help of global AssetsList. This breaks proposition of one AssetList per Stage!
So there are few questions:
1.Choose best way to inform AssetList about assets scale needed.
2.Propose mechanism for determining source AssetList for tag. Will it be global AssetList?
The text was updated successfully, but these errors were encountered: