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

Particle System Overhaul #302

Open
rm-code opened this issue May 4, 2019 · 2 comments
Open

Particle System Overhaul #302

rm-code opened this issue May 4, 2019 · 2 comments

Comments

@rm-code
Copy link
Owner

rm-code commented May 4, 2019

The current particle system isn't really a system at all. Back when I started with this project I had no idea how to solve the issue of timing the animations with the actual impact of the shots (see explosions).

The presentation of those effects also is pretty rudimentary and the code is way too complex and coupled to the logic itself (e.g. explosions only hit the tiles that are touched by the animation).

What we really need is the logic (e.g. an explosion hits tiles in an area of xx) and then apply the animations accordingly. This can be done by using particle systems which can be shot around the world, collide with world objects (particles themselves will also need those collision physics), and spawn other particle system.

The particles themselves need to be mapped to the game's grid and we need some way of blending the colors between overlapping particles.

@rm-code
Copy link
Owner Author

rm-code commented May 4, 2019

First tests:
ps
ps3

@rm-code
Copy link
Owner Author

rm-code commented May 5, 2019

Applied to game world with simple collision detection:
ps4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant