Globale Zeit statt lokaler Zeit #30
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Blocks
#32 Sequenzierte Animation
sebastian/Dicewars-Siedler
Reference: sebastian/Dicewars-Siedler#30
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
AnimationSystem::update(em, time) übergibt die globale Laufzeit. Das bedeutet: Jede neu erstellte Entity startet ihre Sine-Animation mitten in einem Zyklus – bei welchem Phase-Offset hängt davon ab wann die Entity erstellt wurde.
Für den Preview-Pulse ist das OK (Phase egal). Für eine "scale in from 0"-Animation wäre das ein Bug.
Lösung: pro Track eine localTime akkumulieren, statt globale Zeit zu übergeben:
Das AnimationSystem übergibt dann deltaTime statt time.
Acceptance Criteria:
sebastian referenced this issue2026-04-17 04:32:45 +00:00