Discuss Scratch
- Discussion Forums
- » Questions about Scratch
- » Using tutorial from Scratch 2.0 gone wrong.
- Magudragon
-
1000+ posts
Using tutorial from Scratch 2.0 gone wrong.
https://scratch-mit-edu.ezproxyberklee.flo.org/projects/1137642031
I did everything it said in the Griffpatch tutorial for scrolling platformer part 1
I need an answer.
I fixed the scroll x variables while a couple of people looked. But something is still wrong.
I did everything it said in the Griffpatch tutorial for scrolling platformer part 1
I need an answer.
I fixed the scroll x variables while a couple of people looked. But something is still wrong.
Last edited by Magudragon (Yesterday 17:41:09)
- medians
-
1000+ posts
Using tutorial from Scratch 2.0 gone wrong.
You're setting SCROLL X to x, and so x - SCROLL X = 0. Remove the part where you're doing that, this isn't caused by 3.0 (I think this is what you're trying to do)

Edit: nvm to this I guess LOL

Edit: nvm to this I guess LOL
Last edited by medians (Yesterday 18:29:39)
- Magudragon
-
1000+ posts
Using tutorial from Scratch 2.0 gone wrong.
I just removed that and It's still not functioning correctly, I'm linking the video while I'm at this: You're setting SCROLL X to x, and so x - SCROLL X = 0. Remove the part where you're doing that, this isn't caused by 3.0 (I think this is what you're trying to do)https://www.youtube.com/watch?v=sebnyhBsXug
- medians
-
1000+ posts
Using tutorial from Scratch 2.0 gone wrong.
Oh dude the x and y variables are local in his project xD meaning you had to check “for this sprite only” when making the variables, that's why (I can send a fixed file so you don't have to recreate the blocks, though please try to understand the code if you don't)I just removed that and It's still not functioning correctly, I'm linking the video while I'm at this: You're setting SCROLL X to x, and so x - SCROLL X = 0. Remove the part where you're doing that, this isn't caused by 3.0 (I think this is what you're trying to do)https://www.youtube.com/watch?v=sebnyhBsXug
Last edited by medians (Yesterday 18:17:44)
- medians
-
1000+ posts
Using tutorial from Scratch 2.0 gone wrong.
https://github.com/medlans/Sbdownloader-projects/blob/main/Assets%20for%20Scrolling%20Platformer%20fixed.sb2
You can upload this to 3.0 and then add gravity
You can upload this to 3.0 and then add gravity
Last edited by medians (Yesterday 18:18:37)
- Magudragon
-
1000+ posts
Using tutorial from Scratch 2.0 gone wrong.
If you go to 10:20, you could see that he was able to use them in the “platforms” spriteOh dude the x and y variables are local in his project xD meaning you had to check “for this sprite only” when making the variables, that's why (I can send a fixed file so you don't have to recreate the blocks, though please try to understand the code if you don't)I just removed that and It's still not functioning correctly, I'm linking the video while I'm at this: You're setting SCROLL X to x, and so x - SCROLL X = 0. Remove the part where you're doing that, this isn't caused by 3.0 (I think this is what you're trying to do)https://www.youtube.com/watch?v=sebnyhBsXug
It seems to work now, but it makes no sense, how was he able to get x and y variables from another sprite if it was for the player sprite only?
Last edited by Magudragon (Yesterday 18:23:34)
- medians
-
1000+ posts
Using tutorial from Scratch 2.0 gone wrong.
It's because he duplicated the player sprite to create the platforms sprite, which resulted in the x and y variables also being local in the platforms spriteIf you go to 10:20, you could see that he was able to use them in the “platforms” spriteOh dude the x and y variables are local in his project xD meaning you had to check “for this sprite only” when making the variables, that's why (I can send a fixed file so you don't have to recreate the blocks, though please try to understand the code if you don't)I just removed that and It's still not functioning correctly, I'm linking the video while I'm at this: You're setting SCROLL X to x, and so x - SCROLL X = 0. Remove the part where you're doing that, this isn't caused by 3.0 (I think this is what you're trying to do)https://www.youtube.com/watch?v=sebnyhBsXug
It seems to work now, but it makes no sense, how was he able to get variables from another sprite if it was for the player sprite only?
Last edited by medians (Yesterday 18:25:43)
- Magudragon
-
1000+ posts
Using tutorial from Scratch 2.0 gone wrong.
Thanks for the explimation, but I'm worried if I run into a problem like this again, I won't figure out how to solve it (just like another tutorial I used where I was on part 4-5), + if I ask something on the “help with scripts” forums, most likely, no one is going to answer.
These tutorials would be more relevant if it weren't for them being made in Scratch 2.0.
These tutorials would be more relevant if it weren't for them being made in Scratch 2.0.
Last edited by Magudragon (Yesterday 18:34:00)
- Discussion Forums
- » Questions about Scratch
-
» Using tutorial from Scratch 2.0 gone wrong.