Parallax Background, Change Directions

Discussion in 'How Can I...?' started by danabot, Jun 25, 2020.

  1. danabot

    danabot Boxer

    Joined:
    Apr 2, 2018
    Messages:
    34
    Likes Received:
    2
    Does anyone know how to make parallax backgrounds change direction as the character moves left or right in a platformer?
     
  2. Marclb

    Marclb Boxer

    Joined:
    Jul 20, 2020
    Messages:
    9
    Likes Received:
    7
    I was wondering the same thing, how can the background movement be linked to the speed of the player. Can the speed of the background = the speed of the player -2
     
  3. Josh (Nology Games)

    Josh (Nology Games) Community Manager Staff Member

    Joined:
    Nov 27, 2017
    Messages:
    754
    Likes Received:
    243
    This is a great question. If you jump on our discord and ask in JavaScript-Help, you should be able to get help to create either a code or a node structure to achieve this.
     

Share This Page