New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

krot-pixi

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

krot-pixi

Extension for pixi-5 app, to support layouts generated by visual editor - KROT

  • 1.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-87.5%
Maintainers
1
Weekly downloads
 
Created
Source

krot-pixi

This is client library, which allows KROT layouts be integrated into your game.
  • KROT is a program, where you can visually create and edit PIXI layouts.

Contact
  • roman.kopanskyi@gmail.com

How to use

Somewhere in main flow
const { init } = require('krot-pixi');

init(PIXI);

Now you can require yours layouts and create instances

On view classes
const MyLayout = require('./my-layout');
new MyLayout();

All the objects are accessible by name so they should be unique for single layout.

Example
const ui = new MyLayout();

ui.someName.x = 0;

Keywords

FAQs

Package last updated on 18 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc