Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tile sprite performance #1815

Closed
Skywalker-gamefu opened this issue May 25, 2015 · 3 comments
Closed

tile sprite performance #1815

Skywalker-gamefu opened this issue May 25, 2015 · 3 comments

Comments

@Skywalker-gamefu
Copy link

i made small test for tile sprite performance

1 - i created blank WEBGL game using phaser and tested it on cocoonjs launcher FPS = 60;

2- puting simple tile sprite " game.add.tileSprit(0,0,gameWidth,gameHeight) " tested it FPS = 30

3- however i tested PIXI tile sprite and the FPS = 60;

so i think you need to work on performance .

@ForgeableSum
Copy link

are you sure both were in webgl mode? what was the world width/height?

@Skywalker-gamefu
Copy link
Author

yes WEBGL and the world width is 1440 , height 960

@photonstorm
Copy link
Collaborator

Phaser uses Pixi directly for WebGL rendering of Tiling Sprites, there's no intermediate step, so no "performance" to be worked on. Pixi 3 uses a shader to render tile sprites, Pixi 2 used a canvas generated texture, make sure you're comparing both exactly as is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants