Parallax effect on characters

  • #1, z ke4Saturday, 04. February 2017, 11:45 hodinky 8 years ago
    Hi,

    i just run into new issue. I'm creating a scene with parallax effect ( by setting scroll factor for X ) And there's no option to set this scroll factor for characters. I have some characters standing in the foreground so i would like them to be affected by the scroll factor.
    So i've tried to create these characters as objects and create their animations just as regular animations however the scroll factor affects only the object's image not the animations created in the object. Would not work for characters that are supposed to talk though.

    I guess there's no solution for this. Can't see any.
    I suppose it would be a nice feature for the future. It would be nice for objects as objects too. Let's say you have some object with animation in the foreground you want it to be affected by the scroll factor.

    Zabiják klíčů

    810 Posts


  • #2, z sebastianSaturday, 04. February 2017, 12:01 hodinky 8 years ago
    DO you use 4.2.5 or the 5 beta?
    In 4.2 parallax for object animations definitely work

    Kapitán

    2346 Posts

  • #3, z ke4Saturday, 04. February 2017, 12:06 hodinky 8 years ago
    Still 4.2.5

    Zabiják klíčů

    810 Posts

  • #4, z sebastianSaturday, 04. February 2017, 16:03 hodinky 8 years ago
    Just tested with 4.2.5 and it works for me. The animation of that object is set to the default animation and loops. Scroll factor X is at 110%

    Kapitán

    2346 Posts

  • #5, z F_KalFriday, 14. April 2017, 00:50 hodinky 8 years ago
    Hey, did you find a workaround/solution on that issue? I bumped onto something similar (on 4.2.5 that I'm running):

    I have a few scene objects with a couple of animations each. There is no (default) image set for those objects, but I've selected one of the animations as default. While initially the parallax (scroll factor) works fine, if for some reason I decide to swap the animation(with a play/hide animation action part) I lose their position. Moving around, also does't exhibit any parallax effect.

    Seems to me it's got to do with some animation+scroll factor weirdness - is there a chance that @ke4's characters in the foreground had animation and @sebastian's didn't?

    Fanoušek fóra

    107 Posts

  • #6, z ke4Friday, 14. April 2017, 09:32 hodinky 8 years ago
    Hi i didn't find a workaround. I put the characters in the middleground. It would be nice if the scroll factor affects characters either but i suposse it's not that simple due to fact that they need to stay inside of the waysystem area.

    Zabiják klíčů

    810 Posts

  • #7, z F_KalFriday, 14. April 2017, 15:48 hodinky 8 years ago
    Thanks for the feedback @ke4!
    I feel I missed your point though (other than the fact that you didn't find a solution)
    Could you please rephrase?


    PS. Now that I have a more clear head, I can see that @Sebastian had also defined a default animation for his objects; and like in my case, it worked fine (up to the moment that I had to swap it for some other animation)

    Fanoušek fóra

    107 Posts

  • #8, z ke4Friday, 14. April 2017, 16:06 hodinky 8 years ago
    Yeah and i was starting with a static image, it got messed up when the animation started. So i guess it doesn't matter if you're starting with animation or static image it gets buggy on change.

    What i meant is that you can move around the objects as you wish. It doesn't really matter. What i suppose is that if you start moving the NPC differently than the scene ( or the layer with way borders ) you could theoreticly get the NPC out of the way borders. Maybe?
    It would mean to change their position but what if the NPC is standing at the edge of the way borders?

    Not sure if that makes sense, but i think moving around with NPCs means issues grin

    Zabiják klíčů

    810 Posts

  • #9, z F_KalFriday, 14. April 2017, 17:21 hodinky 8 years ago
    ah, yes! I see what you mean now @ke4! Yes, parallax on the NPCs would by definition be wonky! Unless one could apply ScrollFactor X on the border system/path ways too and skew it accordingly :-P

    But the ScrollFactor X should had been fine with animated scene objects, but it isn't ... Well that's life!

    Fanoušek fóra

    107 Posts