Merge pull request #699 from thecodingmachine/pixelartmode
Switching Phaser to pixelart mode
This commit is contained in:
commit
c8fc8a2834
@ -84,6 +84,11 @@ const config: GameConfig = {
|
|||||||
dom: {
|
dom: {
|
||||||
createContainer: true
|
createContainer: true
|
||||||
},
|
},
|
||||||
|
render: {
|
||||||
|
pixelArt: true,
|
||||||
|
roundPixels: true,
|
||||||
|
antialias: false
|
||||||
|
},
|
||||||
physics: {
|
physics: {
|
||||||
default: "arcade",
|
default: "arcade",
|
||||||
arcade: {
|
arcade: {
|
||||||
|
Loading…
Reference in New Issue
Block a user