mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-26 17:30:52 +01:00
Put the loader back
This commit is contained in:
parent
d3dc308bdf
commit
3da109574a
@ -36,6 +36,7 @@
|
|||||||
"@pixi/graphics": "~6.4.2",
|
"@pixi/graphics": "~6.4.2",
|
||||||
"@pixi/graphics-extras": "~6.4.2",
|
"@pixi/graphics-extras": "~6.4.2",
|
||||||
"@pixi/interaction": "~6.4.2",
|
"@pixi/interaction": "~6.4.2",
|
||||||
|
"@pixi/loaders": "~6.4.2",
|
||||||
"@pixi/math": "~6.4.2",
|
"@pixi/math": "~6.4.2",
|
||||||
"@pixi/math-extras": "~6.4.2",
|
"@pixi/math-extras": "~6.4.2",
|
||||||
"@pixi/mixin-cache-as-bitmap": "~6.4.2",
|
"@pixi/mixin-cache-as-bitmap": "~6.4.2",
|
||||||
|
@ -4,12 +4,14 @@ import { BatchRenderer, Renderer } from '@pixi/core';
|
|||||||
import { Extract } from '@pixi/extract';
|
import { Extract } from '@pixi/extract';
|
||||||
import '@pixi/graphics-extras';
|
import '@pixi/graphics-extras';
|
||||||
import { InteractionManager } from '@pixi/interaction';
|
import { InteractionManager } from '@pixi/interaction';
|
||||||
|
import { AppLoaderPlugin, Loader } from '@pixi/loaders';
|
||||||
import '@pixi/math-extras';
|
import '@pixi/math-extras';
|
||||||
import '@pixi/mixin-cache-as-bitmap';
|
import '@pixi/mixin-cache-as-bitmap';
|
||||||
import '@pixi/mixin-get-child-by-name';
|
import '@pixi/mixin-get-child-by-name';
|
||||||
import '@pixi/mixin-get-global-position';
|
import '@pixi/mixin-get-global-position';
|
||||||
import '@pixi/polyfill';
|
import '@pixi/polyfill';
|
||||||
import { TilingSpriteRenderer } from '@pixi/sprite-tiling';
|
import { TilingSpriteRenderer } from '@pixi/sprite-tiling';
|
||||||
|
import { SpritesheetLoader } from '@pixi/spritesheet';
|
||||||
import { TickerPlugin } from '@pixi/ticker';
|
import { TickerPlugin } from '@pixi/ticker';
|
||||||
import { TileRenderer } from '@pixi/tilemap';
|
import { TileRenderer } from '@pixi/tilemap';
|
||||||
import * as utils from '@pixi/utils';
|
import * as utils from '@pixi/utils';
|
||||||
@ -21,6 +23,7 @@ export * from '@pixi/display';
|
|||||||
export * from '@pixi/events';
|
export * from '@pixi/events';
|
||||||
export * from '@pixi/extract';
|
export * from '@pixi/extract';
|
||||||
export * from '@pixi/graphics';
|
export * from '@pixi/graphics';
|
||||||
|
export * from '@pixi/loaders';
|
||||||
export * from '@pixi/math';
|
export * from '@pixi/math';
|
||||||
export * from '@pixi/runner';
|
export * from '@pixi/runner';
|
||||||
export * from '@pixi/settings';
|
export * from '@pixi/settings';
|
||||||
@ -36,4 +39,7 @@ Renderer.registerPlugin('tilingSprite', TilingSpriteRenderer);
|
|||||||
Renderer.registerPlugin('tilemap', TileRenderer);
|
Renderer.registerPlugin('tilemap', TileRenderer);
|
||||||
Renderer.registerPlugin('interaction', InteractionManager);
|
Renderer.registerPlugin('interaction', InteractionManager);
|
||||||
|
|
||||||
|
Loader.registerPlugin(SpritesheetLoader);
|
||||||
|
|
||||||
|
Application.registerPlugin(AppLoaderPlugin);
|
||||||
Application.registerPlugin(TickerPlugin);
|
Application.registerPlugin(TickerPlugin);
|
||||||
|
@ -134,6 +134,11 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@pixi/interaction/-/interaction-6.4.2.tgz#5745498057c174fb5c7538619644c7b104a58cf5"
|
resolved "https://registry.yarnpkg.com/@pixi/interaction/-/interaction-6.4.2.tgz#5745498057c174fb5c7538619644c7b104a58cf5"
|
||||||
integrity sha512-CJ4BAZUM+9ykRE9NIOyTiv7oR+PoiDqn+GcI8boE9mRyJ0WZosznCYdcAwEk5k/F5+Az0z8hK3PjzTuNvrPAcw==
|
integrity sha512-CJ4BAZUM+9ykRE9NIOyTiv7oR+PoiDqn+GcI8boE9mRyJ0WZosznCYdcAwEk5k/F5+Az0z8hK3PjzTuNvrPAcw==
|
||||||
|
|
||||||
|
"@pixi/loaders@~6.4.2":
|
||||||
|
version "6.4.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/@pixi/loaders/-/loaders-6.4.2.tgz#74558719d9febfc34de863a2df791502cefdc600"
|
||||||
|
integrity sha512-2y4JbGhhYYYdKIZfy9Evc7rcctqcXiP6xuAuIfqVgRD9SjQkxImelgCpyYT/BpjXP5jetyim8Usv07Ynx+4B0w==
|
||||||
|
|
||||||
"@pixi/math-extras@~6.4.2":
|
"@pixi/math-extras@~6.4.2":
|
||||||
version "6.4.2"
|
version "6.4.2"
|
||||||
resolved "https://registry.yarnpkg.com/@pixi/math-extras/-/math-extras-6.4.2.tgz#3210e6ca2f7b0c8d2e5d8cc1142a8e3e349fef2e"
|
resolved "https://registry.yarnpkg.com/@pixi/math-extras/-/math-extras-6.4.2.tgz#3210e6ca2f7b0c8d2e5d8cc1142a8e3e349fef2e"
|
||||||
|
Loading…
Reference in New Issue
Block a user