nvminhtu / LearnPhaser

Tutorial, Experience, Coding with Phraser
1 stars 2 forks source link

[Responsive] Trong Phaser muốn làm 1 game hiển thị responsive thì xài gì? #16

Open nvminhtu opened 7 years ago

nvminhtu commented 7 years ago

Có thêm cách nào khác cùng bổ sung nhé!!! Thanks cu!!!

thanhtungtnt commented 7 years ago

Tao xài scalemanager đó ku. M set ShowAll = true thì lúc nào cái màn hình cũng show full cho mình xem hết.

On Mar 25, 2017 12:52 AM, "Tu Nguyen" notifications@github.com wrote:

  • Hiện tai đang tìm hiểu cách của Tùng. Đang xài SCALE MANAGER phải không @thanhtungtnt https://github.com/thanhtungtnt hay đang xài gì khác ko? cho xin từ khóa search nhé

Có thêm cách nào khác cùng bổ sung nhé!!! Thanks cu!!!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nvminhtu/LearnPhaser/issues/16, or mute the thread https://github.com/notifications/unsubscribe-auth/AYHlqoBHedV0boS_hFjFEFWiBnNPIiu_ks5rpALagaJpZM4MolGn .

nvminhtu commented 7 years ago

/Responsive Screen/ this.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL; this.scale.pageAlignHorizontally = true; this.scale.pageAlignVertically = true;