when getting a resource there should be an animation indicating that a resource got acquired #79

Closed
opened 2026-08-21 12:22:39 +00:00 by metaheavens · 1 comment
Owner

a small +1 with the resource logo should appear when dropping a resource with the fleet

a small +1 with the resource logo should appear when dropping a resource with the fleet
Author
Owner

Done in 54287d2, live at https://metaheavens.de/spaceship/

A +N with the resource's own mark rises and fades where the pickup happened, in that resource's colour. Wired into both collection points - rocks (including the ore dropped by shot asteroids) and gas vents.

Built from the same glyph scene the resource tables and transfer rows use, so a material added to the catalog later gets a correct pickup mark with no work, and can never end up with one mark in the HUD and a different one in the world.

A pickup the fleet hold refuses raises nothing - the marker never claims something the player did not actually get. test_pickup_feedback covers that case explicitly, along with the marker clearing itself up rather than accumulating one node per pickup.

Done in 54287d2, live at https://metaheavens.de/spaceship/ A `+N` with the resource's own mark rises and fades where the pickup happened, in that resource's colour. Wired into both collection points - rocks (including the ore dropped by shot asteroids) and gas vents. Built from the **same glyph scene** the resource tables and transfer rows use, so a material added to the catalog later gets a correct pickup mark with no work, and can never end up with one mark in the HUD and a different one in the world. A pickup the fleet hold **refuses** raises nothing - the marker never claims something the player did not actually get. `test_pickup_feedback` covers that case explicitly, along with the marker clearing itself up rather than accumulating one node per pickup.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
metaheavens/spaceship#79
No description provided.