Jump to content

Can pixelArt be applied only to a scene instead of all game?


Recommended Posts

Hello,

I am working on a game using Phaser 3 with scale mode Phaser.Scale.FIT, which scretches the whole game full screen.  This causes the antialising to stretch a lot of the textures.  For most, it's ok (like the fonts and images), but for some specific tiles to give a retro look, it simply doesn't work with all the smoothing.

I can set "pixelArt: true", but then it's the opposite: fonts look bad, buttons, etc.  As my game has different scenes for different display (Hud on a scene, Screen another), I can't seem to specify on a scene level that I want pixelArt enable only for it.

Any suggestions?

Thanks.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...