Harmonizing Animations – Arrow Keys

  • #1, by markus-creativeWednesday, 26. February 2020, 18:37 5 years ago
    Hello!

    I’m relatively new to VS5. When trying to harmonize animations I stumbled across an unpleasant and annoying thing.

    It’s not possible – as it was in 4.2.5 – to move the animation center and the adhered graphic with the arrow keys on the keyboard. I have to do it by mouse, which is quite annoying when trying to do pixel accurate positioning respectively harmonizing.

    Did I miss anything? Can I configure key positioning somewhere in the options?

    Any help would be great.

    Newbie

    47 Posts


  • #2, by afrlmeThursday, 27. February 2020, 00:01 5 years ago
    To be honest, it's much better to get the positions correct in the animation frame images than it is to mess about repositioning each animation to try & line them up that way, then you can set the same animation center for each animation that belongs to the same character. Less hassle overall methinks...

    Imperator

    7285 Posts

  • #3, by MachtnixThursday, 27. February 2020, 15:15 5 years ago
    Ich habe einen Trick angewandt. Ich belegte z.B. die Pfeiltaste rechts mit einer Funktion: ermittle die Position des Charakters. Zähle z.B. 30 Pixel in x-Richtung hinzu (je nach Größe der Spielkulissen). Setze ein unsichtbares Objekt auf diese Position. Lass den Charakter zu diesem Objekt gehen. Dasselbe für die anderen drei Richtungen links, oben, unten. Um nicht die Ränder zu überschreiten, musste ich jedesmal eine If-Abfrage einbauen.
    Den Code habe ich hier schon mal eingestellt. Ich suche mal. Er funktioniert bei mir.

    Google-Translator (not sure if it's correct...):

     I used a trick. I use e.g. the right arrow key with a function: determine the position of the character. Count e.g. and add 30 pixels in the x direction (depending on the size of the game backdrop). Place an invisible object on this position. Let the character go to this object. The same for the other three directions left, up, down. In order not to exceed the margins, I had to insert an if-query every time.
    I have already set the code here. I'm looking for. It works for me.

    Edit: Sorry, I think it was another problem. You mean the fine movement to merge animations in the editor?

    Thread Captain

    1097 Posts

  • #4, by markus-creativeThursday, 27. February 2020, 15:47 5 years ago
    @Machtnix


    Edit: Sorry, I think it was another problem. You mean the fine movement to merge animations in the editor?
    I meant fine movement of animation within the harmonizing window. 

    Danke für die Antwort trotzdem smile

    Newbie

    47 Posts

  • #5, by esmeraldaThursday, 27. February 2020, 16:13 5 years ago
    Yes, sadly it's no longer possible to move the animation center via the arrow keys.
    On the plus side you can now insert the exact posion (x,y) of the animation center in the character view.
    Not the same thing, but in most cases even better.

    Key Killer

    533 Posts

  • #6, by afrlmeThursday, 27. February 2020, 16:51 5 years ago
    You can also offset animation frames individually with the toolbar button to the left of the animation center button, but they have to be moved individually.

    Actually if you specified the animation center as Esmeralda said using the input boxes you could just left click on the animation & drag it to the correct position - you can also nudge it with arrow keys too once you left click on it.

    Imperator

    7285 Posts

  • #7, by MachtnixThursday, 27. February 2020, 17:19 5 years ago
    If the frames or outfit animations don't have the same size, the animation center isn't the same? So you need to move with mouse for overlapping nevertheless?

    Thread Captain

    1097 Posts

  • #8, by afrlmeThursday, 27. February 2020, 21:32 5 years ago
    If the frames or outfit animations don't have the same size, the animation center isn't the same? So you need to move with mouse for overlapping nevertheless?

    Hence why I said it's best to try & make sure all animations belonging to a character all have the same canvas size & position. Less messing around later on.

    & yeah you have to drag it, but think about it like this... you could set the animation center as the same value for each animation. Then just left click on the animation sprite & drag it more or less, then use the arrow keys to fine tune the position. It's not going to be as pixel perfect as the animation harmonizer, but you can at least use the arrow keys & animation center lines.

    Maybe Simon can fix/reimplement nudging support for the animation harmonizer for the next update?

    Imperator

    7285 Posts

  • #9, by markus-creativeFriday, 28. February 2020, 01:42 5 years ago
    Yes, sadly it's no longer possible to move the animation center via the arrow keys.
    On the plus side you can now insert the exact posion (x,y) of the animation center in the character view.
    Not the same thing, but in most cases even better.
    Thanks, I'll try this.

    Newbie

    47 Posts