Slide Penguin

Penguin sliding with timed sweeping that modifies deceleration and scoring based on

Slide a penguin toward a target and use timed sweeps to affect how quickly it slows down.

Deployment note: Not currently deployed.

Project information

Maintained by: Community · ToxSam

View upstream source

License: Not identified in this catalog. Consult the upstream repository and maintainer for applicable terms before reuse.

Community-maintained code — review before use

This community project is maintained outside the Decentraland Foundation and DAO GitHub organizations. Its source code and live deployment may change independently.

Inclusion in this catalog does not imply a security audit or guarantee of safety. Review code, dependencies, and installation scripts before running or reusing it.

Report a catalog concern. For suspected vulnerabilities, follow the upstream project's security policy. Do not include exploit details or credentials in public issues.

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.

Turn sweeping into a temporary movement modifier

handleSwipe applies a cooldown to the deceleration reduction and records when that effect expires. penguinMovementSystem restores the base deceleration after that window, updates speed, and advances the transform using frame time.

Project context: Follow the project's PenguinMovement and SwipeBox components and tuning constants to understand the connection between input and motion.

Source references:

Score how close an object lands to a target

calculateDistance2D and calculateScore ignore height, normalize horizontal distance against a maximum distance, and map it to a rounded score capped by MAX_SCORE.

Project context: This small module is a useful starting point for understanding proximity scoring; its inputs are the final penguin position and target position.

Source references: