Skip to content

Comments

Issue 69 add landing sparkles and explosions#125

Open
phillipnguyenn wants to merge 24 commits intomainfrom
issue-69-Add_landing_sparkles_and_explosions
Open

Issue 69 add landing sparkles and explosions#125
phillipnguyenn wants to merge 24 commits intomainfrom
issue-69-Add_landing_sparkles_and_explosions

Conversation

@phillipnguyenn
Copy link
Collaborator

@phillipnguyenn phillipnguyenn commented Feb 21, 2026

Change Summary

Completed:
Created 3 images for Pixel Art Sparkles, 2 of which will be randomly selected to be displayed in the event highlight section upon a load. Pixel Art Images are created by Yours Truly ™ (Me).

Added an Explosion react component that can display an explosion of pixels. Parameters can be passed to the component to display different amount of colours and particles. To account for the bomb, the component can take an X and Y offset to center the explosion effect behind the image art.

In Progress:
Changing the sparkles to reuse the Explosion component for a sparkle/explosion effect.
Fix the Sparkle re-render bug (on click of the explosion of the bomb, see attached below).

Change Form

  • The pull request title has an issue number
  • The change works by "Smoke testing" or quick testing
  • The change has tests
  • The change has documentation

Other Information

The sparkles re-render upon clicking the bomb for an explosion although cool is not intended.
The possible fix is to localise the logic in the component for setting an explosion and unsetting.
The logic for the explosion setting is currently on the landing page (index) which may be the reason why it is causing a re-render of the sparkles.

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

Successfully merging this pull request may close these issues.

1 participant