Skip to content

pixijs/layout

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

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