[Announcement] arcade-background-scroll now supports parallax!

Hey folks,

I updated arcade-background-scroll to support parallax! You can now have multiple layers to your backgrounds and scroll them all independently. Here’s a demo:

17 Likes

Also, this was a request from @Kiwiphoenix364! Thanks!

2 Likes

Great!

And this make me remembered my Parallex ext, did it long time before. It suit of project “small” objects in % chance.
image
(I changed physical engine a little at that time, and which has updated now, so the car jumping doesn’t work correctly, have not have time to debug it yet. But the parallex works.)

3 Likes

This is really cool

I’m going to make another request. Can we be able to use tiles in backgrounds? I’d imagine if a tile-based background (using the tilemap editor, maybe just without the option to add collision) was implemented it would be more efficient than a tilemap converted to an image. I just came up with this idea randomly, and Idk if it’s easy to implement or not.

1 Like

yeah, should be easy to add (famous last words)

8 Likes

Hi there !

Background-scroll is so cool !

How can I make those blocks appear on my tools panels when I am programming a tutorial ?

||scroller:scroll background with|| trying this. Nothing.

@sbergeroncp Vous devrez inclure le dépôt à la fin de votre tutoriel.

sbergeroncp You’ll need to include the repo at the end of your tutorial.

    ```package
    scroller=github:microsoft/arcade-background-scroll
    ```

Yes I did.

But it did not work yesterday for some reason.

The pink blocks showed in preview but in red.

Working now !

1 Like

is it possible to make some layers in front of everything?

@Jedi not currently. What are you trying to do?

well i want there to be a parallax background in front of everything, the sprites, the tilemap, etc. it would move faster making the illusion that it was closer to the camera.

1 Like

gotcha… I’ll add a block to set the z-index of each of the layers

8 Likes

Let’s go

1 Like

@Jedi done!

image

7 Likes

yes tysm!

2 Likes

Hmm could you also add more layers?

1 Like

OH MY GOD, YES oh MY GOD.

@Luke uhhhh… do you really need more than five?

9 Likes

I think it’s to do more complicated background scrolling like some donkey country sorta stuff

1 Like