Sprite Batching

0 favourites
  • 3 posts
From the Asset Store
Minimal Sprite Font with Stroke for Pixel Art games.
  • Dear Scirra Team,

    I recently your blog entry about Tilemaps. I waited for this feature quite long and I am really happy you are starting to implement it! Great Work! But as a read further, I found something I was a little bit "shocked", because most of all other libraries I know in the 2D game development does this as well: Sprite Batching. Even though this is not your target, but the performance will especially increase for the mobile platform when you support internal batching. Why didn't you implemented this? Even for multi layered tilemaps this will kill your framerate. So you will have constantly ONE drawcall in your current tilemap system instead of dependent on the current tile map complexity. Is this difficult in WebGL because not all browsers support ArrayLists? Do you need help to implement a system like this? I was a little bit disappointed... :(

    Best Regards,


  • The WebGL renderer has internally batched all calls for a long time now, and Tilemap draw calls are batched in together with Sprite and Tiled Background draw calls as well. It should all be running pretty efficiently and good batching is part of the reason our WebGL renderer often benchmarks 10x faster than canvas2d. In the blog post, a "draw call" actually refers to calling in to our WebGL wrapper, which internally batches calls in to a very small number of actual WebGL calls. Maybe it was a little confusing, but does that clear it up?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Yeah, that really answers my question. It is a little bit confusing because batch call referes usally to Render-API draw-calls like IDirect3DDevice::DrawPrimitive() or glDrawArray(), not to the framework specific ones ;)

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)