Mark Asteroids and Bullets with a lifetime component so they despawn #14

Closed
opened 2025-07-29 11:50:36 -07:00 by robert · 0 comments
Owner

The asteroids and player's bullets should not continue indefinitely. Mark them with a component that will despawn them after they've been moving long enough.

Player bullets could live for a short time so they can't fly entirely across the screen.

Asteroids will need to completely exit the screen. Assign lifetime according to WorldSize (screen bounds) resource and their generated velocity.

The asteroids and player's bullets should not continue indefinitely. Mark them with a component that will despawn them after they've been moving long enough. Player bullets could live for a short time so they can't fly entirely across the screen. Asteroids will need to completely exit the screen. Assign lifetime according to `WorldSize` (screen bounds) resource and their generated velocity.
robert added this to the Finish the Game project 2025-07-29 11:50:36 -07:00
robert added a new dependency 2025-07-29 11:51:56 -07:00
robert moved this to In Progress in Finish the Game on 2025-08-10 12:13:29 -07:00
robert moved this to Closed in Finish the Game on 2025-08-10 15:14:43 -07:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: robert/another-asteroids#14