My Dear Pet
Pet collecting with acceleration and braking for movement, plus phase-offset animation

A pet collecting game.
Project information
Maintained by: Decentraland DAO
License: Not identified in this catalog. Consult the upstream repository and maintainer for applicable terms before reuse.
Explore the code
These links point to a specific source snapshot so the explanations remain useful as upstream development continues. They are learning references, not a security assessment.
Give moving pets acceleration and braking
petMotionStep keeps a speed per entity, limits the target speed using the remaining stopping distance, and returns a frame-sized movement step. The caller still supplies the route and updates the transform.
Project context: Read the arrival-distance, acceleration, and braking values in shared/config alongside this helper when studying its movement feel.
Source references:
Animate editor-placed props with different phases
setupEggShake finds named egg entities, remembers their original rotations, and applies a small sine-wave rotation with a different phase for each egg. This adds variation while retaining each prop's authored orientation.
Project context: It depends on the egg names generated from the Creator Hub scene.
Source references: