Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

phaser enable pixel art

var config = {
    type: Phaser.AUTO,
    parent: 'phaser-example',
    pixelArt: true,
    width: 800,
    height: 600,
    scene: {
        preload: preload,
        create: create
    }
};
Source by github.com #
 
PREVIOUS NEXT
Tagged: #phaser #enable #pixel #art
ADD COMMENT
Topic
Name
6+4 =