Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimise explosions #46

Open
Kroc opened this issue Jun 24, 2018 · 1 comment
Open

Optimise explosions #46

Kroc opened this issue Jun 24, 2018 · 1 comment
Labels
gfx Moar pixels -- for when we need bitmaps / sprite images, not for text-based stuff like the menus speed More sanics

Comments

@Kroc
Copy link
Owner

Kroc commented Jun 24, 2018

Explosions cause major chug. They appear to be essentially a bunch of space 'dust', the same as the star-field in the background. I'm not sure what to do but optimising the star-field handling will probably go a long way, but the explosions themselves will need to be looked at -- reduce particle count?

@Kroc Kroc added the speed More sanics label Jun 24, 2018
@Kroc
Copy link
Owner Author

Kroc commented Apr 8, 2019

Some suggestions:

  • Render the explosion into a sprite? (limits size)
  • Separate the explosion from the regular dust, and transform it in 2D only; I.e. the dust particles do not spread in the Z-direction. Could also be rendered to a buffer, like the sprite option

@Kroc Kroc added the gfx Moar pixels -- for when we need bitmaps / sprite images, not for text-based stuff like the menus label Apr 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gfx Moar pixels -- for when we need bitmaps / sprite images, not for text-based stuff like the menus speed More sanics
Projects
None yet
Development

No branches or pull requests

1 participant