For the complete documentation index, see llms.txt. This page is also available as Markdown.

Slide Penguin

Penguin sliding with timed sweeping that modifies deceleration and scoring based on distance from the target.

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.

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:

Last updated