saibotlive

Pixelated BitmapText

Recommended Posts

My last game was created with phaser 2.4 and I used bitmaptext, which worked well but the game itself had performance issues. 

Since updating to phaser version > 2.6, my bitmaptexts now look pixelated, especially when used at smaller font sizes and scaled down.

Had anyone experienced this? How can it be fixed?

Share this post


Link to post
Share on other sites

Currently with later Phaser versions, my game runs steadily with full 60fps, this bitmaptext problem is the only issue that I have now. The only other option I have is to create bitmap fonts with the exact sizes that I use in-game but I hope there's another way to fix this.

Share this post


Link to post
Share on other sites

I do exactly that: create bitmap fonts at the exact size they'll be in game. That's the only I know of to control how they look. Another option might be to generate the text you'll need during preload and store them in the cache at the proper size. When you need them you could then pull them out of the cache like any other image.

Share this post


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.