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

Bug: Missing lightning effect among some units' attack. #33

Open
bearU369 opened this issue Apr 8, 2023 · 1 comment
Open

Bug: Missing lightning effect among some units' attack. #33

bearU369 opened this issue Apr 8, 2023 · 1 comment

Comments

@bearU369
Copy link
Contributor

bearU369 commented Apr 8, 2023

Some units like Thunder Lizards and Bronze Dragons have a chain lightning effect when attacking a unit. These units have a passive ability called Lightning Attack that do this lightning effect. In Warsmash, that ability is not yet defined so these units have a missing lightning effect in their attacks.

@Retera
Copy link
Owner

Retera commented Apr 16, 2023

In order to fix this issue, it will also be necessary to implement a Lightning Effect system into the render pipeline, which can spawn animated lightning art into the 3D scene based on Splats\LightningData.slk or whatever. The mathematics of a camera-centric geometric plane (or series of planes when using the 3D noise animation) that tilts along a particular axis to face the camera will most likely be similar to the mathematics of a ParticleEmitter2 that emits in TAIL mode, although the start and end point that form the axis are based on two designated locations instead of the particle outward velocity.

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

No branches or pull requests

2 participants