How to: New scrolling

So, the old scroll method is broken with the new update.

There is a simple fix, adding a wait milliseconds 0 block in between the variables. If you are wondering “what the monkey is GCC talking about” then here’s a very basic and bad scrolling tutorial.

Present are a bunch of blocks

These are the basics to scrolling. See how I added the wait block. This calculates the distance from last touch x between two frames. Since variables don’t count as frames anymore, this was, obviously, broken.

Ack, my objects aren’t scrolling and I implemented this code! What’d I do wrong?

Make sure you added this code! Else it won’t work :wink:
This is for Y scroll and the other was for x scroll. I apologize for doing that. Make sure that you have the same variables and they are in a repeat forever block.

Hope this helped you if you were confuzzled. This is just to notify people who don’t already know about this change:)

21 Likes

Good job :slight_smile:

9 Likes

Great tutorial! This’ll be super helpful

9 Likes

Ooo I didn’t notice this… thanks for the heads up

5 Likes

Nice tutorial and explaination

5 Likes

Yee I discovered it thought it would help to make a topic so bug reports of this won’t start popping up

5 Likes

Very useful and detailed tutorial! Great job, I’m sure this will help many!

5 Likes

great tutorial! keep it up!

3 Likes