How do I platforms on layers with paralaxx

0 favourites
  • 2 posts
From the Asset Store
A pack of 76 platform designs for a platformer game with a mushroom/jungle theme
  • IM playing with the idea of having platforms on 2 different layers with paralax. one has layer fx of a blur.

    the idea is when the character jumps to the back paralaxed layer he becomes blurred too.

    it looks cool, but when i jumps there is some kind of positioning problem...i guess because the platform at back has a slighty different positioning due to paralax.

    so i need to find a way to offset his position when he goes back so that his position doesnt get offset

    I know i could solve this just adding an FX ot the character and turn it on and off but would be good to know how to do it properly...maybe using layertoCanvas or canvas to layer is a solution but need more info on what are the right properties to tweak

    thanks

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi,

    Maybe you can test the following things:

    • add a sprite (call spritetestback)on top of the back platform

    then

    on player overlapping "spritetestback" at offset x ---> (action) move object (player) to layer "fx"

    else ---> (action) move object (player) to layer "origin"

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)