Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Here you go https://mega.nz/file/mF9yhTLK#H9wThQ8agn17ETP9TI_Qj3DGDzJx0cO-7-23jL0QgJk

I am curious what got changed. I also added a small message if there is ever any need.

(2 edits)

Thanks for the quick test again! It looks like it worked too, although I'm reminded that I still need to figure out why the bullet casings going left are black for you. Have even less of an idea why that happens.

The problem had to do with the way I handle animations, in short its all flipbook animations handled in shaders in an attempt to optimize it for the CPU. Now this is all speculation but it seems like trying to fix what I think the problem was fixed it; the way I had it set up with handling different properties for different projectiles created a massive amount of branches that caused the slowdown. How shader branching is handled seems pretty dependent on hardware, drivers, etc so its possible that how its handled on some systems caused it. Could be because of some difference between Linux or Vulkan or something, not sure.
So I made a change to avoid branching that is much more convoluted and probably ~80 more instructions per frame but if it works...

I don't use Discord much but I'll add you for sure.

It makes sense. Branching in shaders can make huge differences the more convoluted they get. I am happy you managed to solve the issue. As for discord, I was in the same boat, but everyone I know uses it.