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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.