• Content Count

  • Joined

  • Last visited

Everything posted by canvasman

  1. I got it Used BMFont to generate bitmap font of all numbers with large size to fit all my scales.
  2. I need to render current score of players in the game scene. There might be bunch of those in the screen same time. I tried pooling PIXI.Text's but with many of those it wont perform really well. I looked in to but it says that it's efficient way for WebGL. I still need to have canvas fallback, would it work with both or only with webgl renderer? Also I tried bitmap texts but those take sometime load if its large.
  3. Which renderer should I set as default in my game. I noticed that with WebGL renderer, when I tried with my laptop it was performing super slow. That was because chrome by default used the integrated GPU rather than the better one. That made me wonder if that happens on production environment, many players might never come back to give second try if the performance is so bad on the first try. I tried with Canvas Renderer and it works fine (+144 FPS) with "average" amount of sprites (relative to my game). Should I use forceCanvas: true by default and give users choice in settings if they want to use WebGL renderer instead if available? In what situations Canvas Renderer is better choice, does it perform better in old computers than WebGL renderer? Is it common that chrome doesn't pick the better GPU by default? My CPU: i5-4460 @ 3.20ghz Thanks!
  4. I can create texture of PIXI.Graphics with renderer.generateTexture() function. I could also create new render texture and use renderer.render() function to render the circle to that, am I right? Which one of those I should use? Is there any performance benefits?
  5. When I load image with PIXI.loader or with PIXI.Texture.fromImage(), does it reserve memory from GPU before adding the texture to actual sprites and them to stage?