Search the Community
Showing results for tags 'batching'.
Found 4 results
tembac posted a topic in Phaser 2I tried multitexture batching using Richard tutorial with hopes that the performance will be improved https://phaser.io/tutorials/advanced-rendering-tutorial/part4 I made the test on my demo using phaser 2.8.2 https://github.com/Tembac/ChimangoGamesDemo (Demo is not updated with multi texture batching yet) Draw calls are a lot less now but I don't see any performance improvement. On some devices that I tested it is is also showing graphical glitches with several of the sprites. Canvas is still the faster render option on all the devices I try phaser on. Why is this? Maybe I'm doing something wrong? I tested on Ipad 3 and Nexus 6p. I made other tests on the past with slower android devices and canvas is always the best option.
crowbar posted a topic in Pixi.jsI have some images as small as 32x32 and some as large as 512x512. Is there any reason to not put all of my images in the same sprite sheet? I want to take full advantage of sprite batching and my current understanding is that if all textures come from the same sprite sheet there will be huge performance gains? Jordan
hi all, I've been trying to improve performance on mobile devices. For that, I'm watching draw calls with a plugin I found on this forum ( can't seem to be able to find it again though ) What I've learn by testing it is that mutliple tilesprites using the same texture are inducing a draw call each. Is that something to be excpted? Does sprite batching only work for sprites? Thanks
vancura posted a topic in Phaser 2Hi, Is there a way to batch sprites together to save precious drawcalls (mainly on devices) when they originate from the same sprite sheet? From what I see it seems atlases are used only as sources of bitmaps, they don't batch sprites together. Or am I wrong? Is there any other way in Phaser? Sorry if I missed it somewhere in docs, examples or here on forum, but I completely failed to find any bit of the information. Thanks!