Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.24 KB

README.md

File metadata and controls

45 lines (31 loc) · 1.24 KB

Kinetic2Pixi

Gitter

The project describes the migration of a KineticJs application to PixiJs

Stage

Kinetic

var stage = new Kinetic.Stage();

Pixi

var stage = new PIXI.Stage(0x66FF99);

Join the project

ToDo for Kinetic to Pixi migration

  • Pan and Zoom - Example project here: https://github.com/Arduinology/Pixi-Pan-and-Zoom
  • Kinetic.Layer is handled using stage.addChild method with the index parameter
  • Kinetic.Rect to PIXI.Graphics
  • Kinetic.Image to PIXI.ImageLoader
  • Kinetic.Group to PIXI.DisplayObjectContainer
  • Event listeners are handled through PIXI.DisplayObject (abstract class, all object extend this and thus have listeners)
    • Kinetic Stage events, Kinetic Node events
  • Event listeners through Pixi InteractionManager
  • Kinetic multi touch event handling on Shapes
  • Kinect Layer system
  • Export a Kinetic Stage to an image or a canvas