Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Help with Scrolling Platformer Tutorial
- randomcoder234
- Scratcher
77 posts
Help with Scrolling Platformer Tutorial
In Part 1 of Griffpatch's Scrolling Platformer Tutorial, he makes two variables that are “for this sprite only” called “x” and “y”. Although he made these variables in the “Player” sprite, they appeared in the “Platforms” sprite and he used them to signify the x and y coordinates of the platform with no issues even with no “set variable to” blocks. I am confused by this as this doesn't work in Scratch 3.0 although he says in the description that even though he is using 2.0, everything will work the same in 3.0. Can somebody please explain how he did this, why I can't do it, and a good workaround so I can continue to follow his tutorial?
when green flag clicked
if <Evil Kumquats are Fighting> then
Fight and Destroy them
else
repeat until <Evil Kumquats are Fighting>
Get people to protect siggy from Evil Kumquats
define Get people to protect siggy from Evil Kumquats
set [Lenny Warriors] to [(∩ ͡ ° ʖ ͡ °)⊃▬▬ι═══════ﺤ]
Hire (Lenny Warriors)
Train (Lenny Warriors)
Get Ready to fight with Evil Kumquats
- TeamLucario
- Scratcher
11 posts
Help with Scrolling Platformer Tutorial
Hi, I used that tutorial and had problems with it as well. What I'd suggest is that you either: try a new tutorial or try a different method. The way I make some platformers, is that I use something I like to call a transition border. This isn't exactly scrolling,but hear me out. Basically, you have a line at the top of the screen and have it poking out enough so the player can touch it. You could it on the sides or bottom as well. What it does is that you can code it to make it change your sprite/backdrop you are using for a level using messages. I know this isn't exactly what you asked for, but I hope this helps!
- angrybirdsali
- Scratcher
1 post
Help with Scrolling Platformer Tutorial
you could use the “thing of sprite” blocks
([x v] of [Player v])(if the block i tried to send doesn't load, it's because i just started using forums and have no idea how to use them. i hope you understood my message either way)
- Spheric_YT
- Scratcher
31 posts
Help with Scrolling Platformer Tutorial
NintendoRemastered, please do not necropost. (Posting on a forum that already has a solution to it's original problem)
It is against the Scratch Community Guidelines. Thank you.
It is against the Scratch Community Guidelines. Thank you.
Yooooooooooooo!
It's Spheric_YT!
— Kumquat Defense 3000 —
I'm working on Out of the Box Assets, take a look: https://scratch.mit.edu/studios/34640357
I have aspirations, but I fell asleep so now I don't.
Give me aspirations so I don't fall asleep.
— Kumquat Defense 3000 —
— The Kumquat House —
- CJJR-GOD-777-OG
- Scratcher
50 posts
Help with Scrolling Platformer Tutorial
We need more backdrops!!! Scratch 4.0????? Why does false reporting exist
- CJJR-GOD-777-OG
- Scratcher
50 posts
Help with Scrolling Platformer Tutorial
We need more backdrops!!! Scratch 4.0????? Why does false reporting exist
- Discussion Forums
- » Help with Scripts
- » Help with Scrolling Platformer Tutorial