Skip to content

Functional leg tutorial slice#64

Open
artmouse155 wants to merge 10 commits intokaiiboraka:FixedCharacterfrom
artmouse155:Leg-Room
Open

Functional leg tutorial slice#64
artmouse155 wants to merge 10 commits intokaiiboraka:FixedCharacterfrom
artmouse155:Leg-Room

Conversation

@artmouse155
Copy link
Copy Markdown
Contributor

@artmouse155 artmouse155 commented Apr 21, 2026

Taking my hand at merging my previous leg tutorial slice PR with the new branch!

  • Added functional leg tutorial slice from main branch
  • Added a new basic TriggerPredicate Node that lets you combine triggers into a single trigger
    • Can be used for scenarios such as "any button should trigger this door" or "all buttons must be pushed to trigger this door". For an example use case, check out leg_tutorial_slice.tscn!
  • Deprecated InteractiveButton and ButtonDoor now that WeightedButton exists. Also, any Door is now a valid activation target, meaning it implements on_button_activated and on_button_deactivated methods.
  • Also, added some documentation to Door and TriggerPredicate because I love documentation 🙂

kaiiboraka and others added 10 commits April 18, 2026 16:40
- `ButtonDoor` takes in an array of `InteractiveButtons` connected to it
- Made `InteractiveButton` live on the `Button` layer and Masked for `PushesButtons`
  - `PushesButtons` has been added to `character.tscn` and `SimpleBox.tscn`
- `chase_door_test.tscn` lets users test out the door mechanics
- Updated some UID things regarding `extendable_wall.gd`
- Also renamed `button.gd` -> `interactive_button.gd`
As much as I like `@export` notation to refer to nodes, it was just causing problems sadly. This seems the most robust fix.
Now, both leg parts of the tutorial have functional slices
Adding a trigger_predicate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants