Seamlessly handles your game state and complex transitions between states.
Support for using Spine animations in your games.
Anchored positioning and an HTML-inspired flexbox container makes creating responsive UI layouts a snap.
Manage all of your game's content and copy in .json files, including support for multiple languages.
Handle mouse, touch, and keyboard input – including sophisticated support for creating tab orders or finding the nearest interactive element for arrow key navigation.
Configure multiple audio channels and queue audio files as they are triggered – optionally based on assigned priorities.
Define which assets belong to which game state for automated loading and unloading during game transitions.
Ensures your game can respond to visibility changes or resize events from the browser window.
// let's do it!
import { Application } from '@/Application';
import { create } from 'dill-pixel';
create(Application, {
useSpine: true,
antialias: false,
});
PixiJS is a great 2D rendering engine but it is not a game engine. It offers no guidance on project structure and does not provide any common game development tools. This framework is designed to fill that gap – it is Relish's opinionated approach to developing games using PixiJS.
Over the course of many years of building libraries and plugins for Phaser , we developed our own (nameless) in-house framework that supported our way of working and the kinds of games we were making. We felt like there might be others who want to work in a similar way and decided to share our framework.
dill pixel is an open source game framework using PixiJS as its rendering engine. It’s been used widely in production for many years and is maintained by the development team at Relish Studios .