frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register

how to make a second background layer?

when i went inside pixelpizza's awakening game, i noticed he had managed to create multiple background layers, so for example, mountains would move to the side slower than clouds would while the player was moving. i went inside the code of the objects but i was still confused. does anyone know how and explain to me how to produce the same double background effect?

Comments

  • I wondered how to do that too @soethan1 , and it'd be very helpful to know. I'd ask @grazer , or @PixelPizza himself.
  • edited August 6
    Hey, didn't know that people still played that. However, for your luck, the moment I finished it I made a post explaining almost everything about the "multiple backgrounds" (They are game objects but with no collision) and the complex parallax. Even tho it was not perfect it works.

    So here is the link:
    Page 2 of my Affrayer/Awakening Devlog
    http://forum.flowlab.io/discussion/6028/affrayer-unleash-the-storm-inside-you/p2

    If you scroll a little bit you will find a comment that starts with "Parallax Effect & Arms Rotation:"
    You can start reading from that point. Even though you are welcome to read the rest of it if you are interested.

    Good luck, hope this helps :)
    @rcreger @soethan1

  • Thank you so much @PixelPizza - I'll definitely take a look into this!
Sign In or Register to comment.

flowlab.io

| make games in your browser
@ 2017 Flowlab.io, All rights reserved.

Contact us

Get In Touch