Animation scenes draw every part separately, costing hundreds of draw calls a frame
Maintainers usually reply within 1 day
@JamesVanBoxtel is already working on this.
Since Nov 14, 2026.
Assessment
This issue has not been assessed yet.
Description
Animation scenes, such as stage backgrounds like Esme's Terrace (#812) and the title screen, draw each part from its own image, so LÖVE can't batch them into one draw call. Esme's Terrace makes 943 draw calls a frame from 98 images, and the title screen makes 55. Most parts never move, yet each one is still transformed, coloured and blended every frame. This costs the most on phones and tablets, and it grows with every part a scene adds.
Proposed fix, done when animation data loads:
- Pack the loader's images onto shared texture atlas pages, so draws from different images batch together.
- Bake each run of still parts into one image drawn in the run's place, so the draw order stays the same.
It touches AnimationLoader.lua and graphics_util.lua, which the #199 UI rework also changes, so the two need to land in a coordinated order.
- Dominant language
- Lua
- Stars
- 30
- Forks
- 20
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 17
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from panel-attack/panel-game
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
panel-attack/panel-game#822 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
panel-attack/panel-game#779 ·
Maintainers usually reply within 1 day
-
bug Client-side priority: 0 - high
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
panel-attack/panel-game#776 ·
Maintainers usually reply within 1 day
-
enhancement priority: 1 - middle
Difficulty 4/5 3-5 days Newbie friendliness 48/100
panel-attack/panel-game#821 ·
Maintainers usually reply within 1 day
-
Better loss animationPossibly taken @JamesVanBoxtel claimed this 5 days ago. OpenClient-side enhancement
panel-attack/panel-game#813 · 1 assignee ·
Maintainers usually reply within 1 day
All issues in panel-attack/panel-game
Similar issues
-
bug discord guide:01b-riverglades locale:enUS triage v4.1.1
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
petertriho/nvim-scrollbar#127 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
FallenShard/PrettyTooltip#66 ·
Maintainers usually reply within 1 day