Create an isometric projection plugin.
Adds a render-phase system that overwrites PixiJS display object positions with isometric projections of their worldTransform coordinates.
worldTransform
Optional
const ecs = ECSpresso.create() .withPlugin(createRenderer2DPlugin({ camera: false, ... })) .withPlugin(createCameraPlugin({ ... })) .withPlugin(createIsoProjectionPlugin({ tileWidth: 64, tileHeight: 32, camera: true })) .build(); Copy
const ecs = ECSpresso.create() .withPlugin(createRenderer2DPlugin({ camera: false, ... })) .withPlugin(createCameraPlugin({ ... })) .withPlugin(createIsoProjectionPlugin({ tileWidth: 64, tileHeight: 32, camera: true })) .build();
Create an isometric projection plugin.
Adds a render-phase system that overwrites PixiJS display object positions with isometric projections of their
worldTransformcoordinates.