faboon

How to turn phaser group into an image

Recommended Posts

I have a lot of sprites for the background in a phaser grohp and they don't move. I'm thinking it would be a lot more efficient on mobile devices to have them all turned into one big image at runtime as their position won't change or anything.

How would I go about doing this?

Share this post


Link to post
Share on other sites

1. mobile devices have less maximum texture size than pc.

2. rendering big sprite gives alot sampling ops, which is one of the most time consuming operations.

3. for static geometry you should make decal mesh (which can be done by spritebatching with subsprites with the same texture atlas).

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.