Skip to content

[M1-S5] Camera follows with parallax layers #32

Closed

Description

@arudaev

User story

As a player, I want the camera to lead where I'm going and the layers to drift at their own speeds, so that the small hero reads in a big, deep world.

Acceptance criteria

  • Look-ahead in the move direction; smooth vertical follow
  • Each layer scrolls at its docs/04 factor (0.1 sky → 1.2 foreground)
  • Clamps to the chunk grid bounds; no sub-pixel shimmer

Design and references

Layer table: 04 – Layers.

Dependencies

Needs the chunk loader. Owner: Vatsal – lane B, game code (docs/13).

Verification

Walk the whole route; no seams between chunks, no shimmer at 1× and 2× scale.

Activity

  1. added
    area:playerHero movement, animation state, camera
    area:stageChunks, layers, collision, clean/anomaly states
    on Oct 23, 2026
  2. changed the title [-]Camera follows with parallax layers[/-] [+][M1-S5] Camera follows with parallax layers[/+] on Oct 23, 2026
  3. added
    type:storySomething a player can do or see afterwards; one PR
    and removed on Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area:playerHero movement, animation state, cameraarea:stageChunks, layers, collision, clean/anomaly statestype:storySomething a player can do or see afterwards; one PR

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions