JSPM

  • Created
  • Published
  • Downloads 1946
  • Score
    100M100P100Q111263F
  • License MIT

It is a library for arranging and resize pixi elements

Package Exports

  • @pixi/layout

Readme

It is a library for arranging/resizing pixi rendered elements basing on css like configs. It is made for simple and fast implementation of the responsive user interfaces in your games.

Here are some useful resources:

Install

npm i @pixi/layout

There is no default export. The correct way to import pixi-layout is:

import { Layout } from '@pixi/layout';

Controllers influance schema

Screenshot 2023-02-03 at 11 28 29

Update / controll flow

Screenshot 2023-02-03 at 16 50 53

Auto layout sizing schema

layout-size-schema