Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 293 Bytes

Optimizing-Bitmap-Usage.md

File metadata and controls

9 lines (7 loc) · 293 Bytes

Optimizing bitmaps

Some tips:

  • Use power of 2 sizes for textures
  • For fast tile rendering, use h2d.TileGroup
  • Have a lot of separate bitmaps? Combine them in one texture.
  • For particle rendering, use h2d.SpriteBatch
  • Use engine.drawCalls to see draw calls. Less is better.