Skip to content

Doors demo: Flip doors so the level is symmetric #2949

Closed

Description

@manuq

And also as a way of testing the new feature added in #2836

Flip these doors:

Image
XP Summary (total 150)
Subdomain Skill XP
Art: Aesthetics & Visual Design Problem Solving 50
Art: Aesthetics & Visual Design Creativity & Design Thinking 50
Art: Aesthetics & Visual Design Technical Literacy 50

Activity

  1. BFoster-BF commented on Sep 22, 2026

    @BFoster-BF
    Contributor

    Hi @manuq my PR #2935 added a flip to the horizontal doors only, and has not been added to the vertical doors but this should be a straight forward implementation if you would like me to add this to the vertical doors so that they too can open to the right or left.

  2. manuq commented on Sep 22, 2026

    @manuq
    CollaboratorAuthor

    Hi @manuq my PR #2935 added a flip to the horizontal doors only, and has not been added to the vertical doors but this should be a straight forward implementation if you would like me to add this to the vertical doors so that they too can open to the right or left.

    The door.gd script is used in both! But for now the vertical door doesn't have symmetry, I'm sure it will work once #2940 is merged.

  3. BFoster-BF commented on Sep 22, 2026

    @BFoster-BF
    Contributor

    Hi @manuq my PR #2935 added a flip to the horizontal doors only, and has not been added to the vertical doors but this should be a straight forward implementation if you would like me to add this to the vertical doors so that they too can open to the right or left.

    The door.gd script is used in both! But for now the vertical door doesn't have symmetry, I'm sure it will work once #2940 is merged.

    OK, Understood. In theory the script should work as the script implements the flip using the absolute position.x of the sprite either setting it to -abs() or abs() depending on the boolean valaue. If there are any issues with this then I would be happy to review the flip implementation again if needed. Thanks for clarifying.

  4. BFoster-BF commented on Sep 28, 2026

    @BFoster-BF
    Contributor

    HI @manuq I plan to work on this.

  5. manuq commented on Oct 8, 2026

    @manuq
    CollaboratorAuthor

    Completed by #2997

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions