Skip to content
A matrix based 2d camera to use in pixi.js
Branch: master
Clone or download
Latest commit c88495a Apr 16, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
example refactored Jun 30, 2015
gulp added examples Jun 28, 2015
preview add full preview May 25, 2016
src
.gitignore added bin files Jul 19, 2015
.jshintrc
LICENSE refactored Jun 30, 2015
README.md Update README.md Apr 15, 2019
gulpfile.js added examples Jun 28, 2015
package.json

README.md

PIXICAM

➡️ Important Note:
This project was fun to build back in the days (~4 years now 😬). I doubt that anyone (including me) can make this project run with the current pixi version easily or extend it as I used augment (there was no es6 yet 👀).

I recommend that you check out the following projects if you need a camera/viewport in pixi.


A world container which can be viewed through an accompanying camera.

See here:
Preview

Usage:


var options = {
  screenWidth: 5000,
  screenHeight: 700,
  width: 5000,
  height: 500,
  centerX: 0,
  centerY: 0
}

var world = new pixicam.World(options);
world.setScreenSize(500, 500);
world.setSize(5000,1000);
world.setCenter(0,0);

var camera = world.camera;
//now move and zoom the camera

You can’t perform that action at this time.