1.0.4 • Published 8 years ago

ipixel v1.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

#IPixel

NO_BORDER fit usage

first

var ipixel=new IPixel(game) after new Phaser.Game.

second

call ipixel.utility.noBorder() at boot state or load state,then call ipixel.utility.centerCamera() at preload or create function every game state.

param

//unnecessary width
game.scaleConfig.deltaX,
//unnecessary height
game.scaleConfig.deltaY,
//scale factor of your game
game.scaleConfig.factor,

if you have called ipixel.utility.centerCamera(),unnecessary width on the left and right should be game.scaleConfig.deltaX/2. Unnecessary height is the same as unnecessary height.

1.0.4

8 years ago

1.0.2

8 years ago

1.0.0

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago