Skip to content

feat(isometric): add fireflies with green glow at night#7894

Merged
h0lybyte merged 1 commit intodevfrom
trunk/isometric-fireflies-1773192793
Mar 11, 2026
Merged

feat(isometric): add fireflies with green glow at night#7894
h0lybyte merged 1 commit intodevfrom
trunk/isometric-fireflies-1773192793

Conversation

@h0lybyte
Copy link
Member

Summary

  • New insects.rs module (extensible for future bees, worms, etc.)
  • 40 pooled firefly entities with individual point lights emitting faint green glow
  • Appear at dusk (~19:00), fade out at dawn (~5:30) using DayCycle night-factor
  • Characteristic double-flash pulse pattern per firefly
  • Figure-eight orbit paths with wind drift influence
  • Per-entity materials for independent glow/alpha control
  • Anchors reposition when player moves; reset at dawn so fireflies scatter fresh each night

Test plan

  • Verify fireflies appear after 19:00 game time
  • Confirm green point light glow is visible on surrounding terrain
  • Check fireflies disappear by ~5:30 game time
  • Verify no performance regression (40 entities + 40 point lights, shadows disabled)

Pooled firefly system (40 entities) with faint green point lights.
Fireflies appear at dusk (~19:00), pulse with a characteristic
double-flash pattern, orbit in figure-eight paths affected by wind,
and fade out at dawn (~5:30). Uses DayCycle for night-factor gating
and per-entity materials for independent glow control.
@github-actions
Copy link
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@h0lybyte h0lybyte merged commit 5042616 into dev Mar 11, 2026
5 checks passed
@h0lybyte h0lybyte deleted the trunk/isometric-fireflies-1773192793 branch March 11, 2026 03:24
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