Configurable GUI Power Tree branch side #314

Open
Spyeedy wants to merge 3 commits from Spyeedy/Palladium:26.1/dev into 26.1/dev
Contributor

Each child ability has the option to choose the branch origin side of their parent's ability.
The property parent_connection_side valid values are: top, right, bottom, left.

Example of an ability configuration

{
  "type": "palladium:dummy",
  "properties": {
    "title": "Bottom Left",
    "parent_connection_side": "right"
  },
  "state": {
    "unlocking": {
      "type": "palladium:ability_unlocked",
      "ability": "main"
    }
  }
}

If the property name is too wordy, feel free to change it 😂

Some images below are various configurations of a tree

Each child ability has the option to choose the branch origin side of their parent's ability. The property `parent_connection_side` valid values are: top, right, bottom, left. Example of an ability configuration ```json { "type": "palladium:dummy", "properties": { "title": "Bottom Left", "parent_connection_side": "right" }, "state": { "unlocking": { "type": "palladium:ability_unlocked", "ability": "main" } } } ``` _If the property name is too wordy, feel free to change it 😂_ Some images below are various configurations of a tree
The logic is wonky for abilities that reside on the opposite vertical axis of the vertical sides
Added minimum distance for the initial branch from parent node
Author
Contributor

My tree test powers files, if required.

My tree test powers files, if required.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u 26.1/dev:Spyeedy-26.1/dev
git switch Spyeedy-26.1/dev

Merge

Merge the changes and update on Forgejo.
git switch 26.1/dev
git merge --no-ff Spyeedy-26.1/dev
git switch Spyeedy-26.1/dev
git rebase 26.1/dev
git switch 26.1/dev
git merge --ff-only Spyeedy-26.1/dev
git switch Spyeedy-26.1/dev
git rebase 26.1/dev
git switch 26.1/dev
git merge --no-ff Spyeedy-26.1/dev
git switch 26.1/dev
git merge --squash Spyeedy-26.1/dev
git switch 26.1/dev
git merge --ff-only Spyeedy-26.1/dev
git switch 26.1/dev
git merge Spyeedy-26.1/dev
git push origin 26.1/dev
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ThreeTAG/Palladium!314
No description provided.