fmonniot / pathfinder-wotr-editor

0 stars 0 forks source link

Support character alignment modification #10

Open fmonniot opened 4 years ago

fmonniot commented 4 years ago

Alignment is found in party.json, path /Descriptor/Alignment/m_History/<last>/Position. Example:

       "Position": {
            "x": -4.28543032E-08,
            "y": 1.0
        }

x is describing the lawful/chaotic axis and y the good/evil one. Needs to find out when the neutral switch happens but it looks like that follow the disc-shape layout of the game.

Alignment wheelsamples/pfkm_alignment_wheels

fmonniot commented 3 years ago

As of 82e86cd6d82233c456ecb541e5db19f5a194c7bd, we display the alignment.

Modification will require canvas interactivity (drag&drop on the pin), and this comes with https://github.com/hecrj/iced/pull/325. So we have to target iced master instead of 0.1.1 before we can tackle the remaining tasks of this issue.

fmonniot commented 3 years ago

iced released a new version (0.2). Once we have updated to it, we can tackle this issue

fmonniot commented 3 years ago

Update done in eb2eca4