this post was submitted on 26 Aug 2025
15 points (100.0% liked)

Game Development

5318 readers
9 users here now

Welcome to the game development community! This is a place to talk about and post anything related to the field of game development.

Community Wiki

founded 2 years ago
MODERATORS
 

Old one started to struggle at 5000 sprites, new one runs above 170FPS with 10000 spites (as long it doesn't need to switch context too much between shaders and textures), although it can tank to 60 if per-pixel collision detection is needed. Hit-box detection is already done, the likely issue is that in this example, it needs to pull the collision shapes too much (bit arrays, each line is aligned to 64 pixel wide to speed up checks as much as possible by ANDing together chunks, then check the result for non-zero value).

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here