How to Make a Subway Surfers Game - Episode 1
Vložit
- čas přidán 4. 07. 2024
- Hey Hello Hi, Today we will be creating one of the most popular mobile games, Subway Surfers, IN SCRATCH!
ART RESOURCES: www.sully.studio/resources
I'll show you how to use broadcasts to send messages to other scripts, use hitboxes so we can walk on "subways", and the whole shebang.
Scratch is a programming language for kids, developed by Massachusetts Institute of Technology, and it is used by over 60 million children. You can publish awesome games, animations, and stories to the world.
Make sure to subscribe and turn on notifications so you get notified when we release a new video!
00:00 Introduction
00:19 Setup
00:33 Drawing Ground
01:03 Setup code
01:39 Hey guys, Quandale Dingle here, Today I'll be discovering gravity. Make sure to like and subscribe
01:59 Setting up the truck
03:29 Coding the "Subway" movement
04:18 Hey guys, Quandale Dingle here, Today we'll be making gravity.
05:29 Bruh moment
05:39 Coding again.
07:00 Creating Physics
07:15 TESTING
07:50 Adding hitbox costume
08:54 Coding hitbox
09:36 Hey guys, Quandale Dingle here. if you aren't subscribe. THEN SUBSCRIBE
OMG TYSM THIS GAME IS SICK!! I appreciate you for making all these epic games! KEEP UP THE GOOD WORK!!!
Glad you enjoy it! Make sure to subscribe
@@JacksonAcademy1 Is it true that you will do a face reveal once getting 100m subs?
@@JacksonAcademy1 my truck is going down
@@JacksonAcademy1 cool! I will try now!😎😎😎😎
@@gokublack8796 maybe its change y instead of change x
Jackson thanks bro. you carry my project but at first the cat would just fall down to the ground but i restarted the tutorial and got it working
I’ve been wanting to make a endless runner sort of game for a while now awesome thanks
pls quandale dingle
The star wars clone wars, I watched it, its so good.
OMG THIS GAME IS SICK! Keep up the awesome work!!
what is the game mechanics in this game?
I've been looking for this thank you!!!
I have always wanted to make scratch like Subway Surfers
6:31 what sprite are we supposed to go to??
My cat is not going over the truck can you pls help me?
You are right bro
Maybe try positioning it according to your own truck I did that and it worked
Yes you are right 👍😢
Yes same here what to do 😢 I am making it again 😭
Same
TYSM ITS SO GOOD IM DOING THIS AND IM STARTED SCRATCH 2 YEARS AGO COOLEST THIGY
hey jackson i need help on the hitbox. Im halfway thru ep.02 and when i jump on the truck, i land thru the truck and on the ground. I basically phase thru. Could u help me with this?
Hey, Do you know where's ep.2?
i did exactly what u said but it seems to not be working? how do i fix this.
You could also just make a jumper, with player animations so it looks like the player is running, it is way faster.
i love this channel i always like
I would enjoy a second episode! Btw, that is SO cool!
Not working
dude there is a second Episode
sthi tutorial helped me a lot👍👍👍😀😀😀
where can I find the part 2?
Can you tell me hw to do it so as to make it counts scores
love your tutorials
its fun
Thanks!
hi, i love the video but the collision between the player and the trucks only worked once then it stoped. Might you know why ?
Same why doesn’t it work?
Thank you very much for your meaningful content. I am watching you from my country, Egypt😍
What a grand tutorial!
Agreen
I'm playing fortnite
LMAO
@@JacksonAcademy1 ME TOOO
I can't find the second episode. Isn't it out yet?
You're doing a great job
yes, it is already released. In fact, there are 6 episodes in all.
Where are the episodes??
@@JacksonAcademy1 where
@@JacksonAcademy1 but where😢😢
@@GWxIPS www.udemy.com/course/ultimate-scratch/?couponCode=JACKSONACADEMYYT
pls upload part 2
hi could you please reply asap?? i followed all the codes properly but the sprite doesnt walk on the truck, it falls off
yeah i have the same problem
I love it
Thank you, i waited this!
Hope you like it!
No I don't
@@adnanyt9786 I’m glad you don’t like it. I appreciate your honest opinion.
good job
Thank you 🙇🏻
You’re welcome 😊 Make sure to subscribe!
omg i want to use it in a competition in our school about scratch but i can't remember all this stages just because i wan't to win the legos
thank you!
this would help me a lot on my computer project so a big thanks
your tutorial save me :')
make sure to subscribe
how many episdes are there?
bro i cannot unders stand when u are making ur block but then on which page u are coming
Quandale Dingle would be proud! 👏🏽
THanks man now I'am passing computer science
I followed the same steps but I’m facing an issue where the truck and the hit box keeps glitching. It kinda have a flash effect from start to end and it’s visible. Please.. let me know of a solution
Hi AnonVisitor! It would be much easier to help you if you have your shared project link so we can see what's wrong with it. Go ahead and post it and we can get back to you.
@@JacksonAcademy1 I have the same problem I could share my project with you should I put the link here?
Fake
1 on end of name 2:09
awesome video dude! but I am sort of confused on how we can jump on the trucks. someone please explain
My Player Jumps till the sky in change y by 1
When I made the truck clones, it started cloning many trucks instead of just one. Do you know how I can fix this?
Can you read out the code in the truck sprite?
i know what happned: you forgot the '"hide" before the forever loop
@@darkvenomgaming9724 accualy no with me the same thing i did hide before forever but still and i cant figure out how to walk on the truck
Can you send me your code to see where the problem is
Same problem with me there are so many trucks can anyone tell me how to fix this
Why when is click greens flag Allq of your code works but i have to click my secondq code?
why does my player keep falling off out of bound, can you help me??
great!!!!!!!!!!!
Plz sho ep 2 soon!
where is the second episode i need I link
You are the best scratcher ever :) i have subscribed and liked the video :)
hi I did it but how do I make in jump?
pls do how to code a play 700 robotis set robot
thanks. man 😊
Thank you
(P.S. why did u comment "bad" on shiftclicklearn's "making clones better" video lol what was bad about the video)
for me it just made my game worse
*he, because i wasnt following the cat way i was making it different
@@jaf5569 he was skillless
جيد على هذا الءشياء
When switching costumes It does it too slow and it looks like it’s flashing . How do I make it faster?
I have the same issue. Did you find a solution?
can you make an scratch tutorial with scratch addons
Thanks so much for this coding tutorial
i did what you did but my player sprite is going backwards can you please tell me what i did wrong?
thank you so much
Welcome 😊
PLZ do how to make Tank Stars sully
Are we take all of the blocks?
i got to 4:04 but when i pressed the green flag my truck wasnt there please help
cool!!
im followin
doesn't work for me, the truck keeps hiding whenever i click the flag. im sure the game would have been sick tho
None of your scratch things is working I tried this but no I checked everything but no it didn't work I tried your shooting zombie game it didn't work idk why
4:13 I added the same code and when i click the green flag, the truck moves to the other and and just disappear as more trucks come from the right
same
can you make a help video or just comment because my truck keeps glitching and cloning too much, one after the other
i did this but i fall thorugh the truck, i can only walk along the top of the red hitbox. How do i fix?
same
thanks
Please make part 4
please make an episode 2
sir when I click the flag my truck won't move and my truck won't createa clone of itself
sorry sir but am still a beginner
Make sure the scripts are connected to If Green Flag Clicked blocks. If they aren't, try sharing your porject using the orange button, copy the URL in the search bar, and reply to this comment with the URL. You'll be able to be helped better.
bro whenever i try to use ur code it always dosent wrk. The query is that when i jump, the cat collides with the hitbox but not with the rest of the truck. I am very dissapointed of u
I tried that but when I started as a clone thing on the truck I won't be stared (from Nikos kid
I tried making this but now my 2 secs spawn truck is spawning to many clones that's making my pc lag >:(
wow that great
The jumping code is not working when I click the gteen flag its just going up at the top of the page and not coming down please help😢
nice
pls episode 2
the art of this game pls
Fine! I'm subscribe
"Hey guys quandale dingle here. today were making gravity" BAHAHHAHA
Oh this is you do! I love this game ! Thank you you do this!
omg there’s like 50 trucks at a time
When I click to play the truck is stoping in middle
i make it its so cool my rate for this 5stars
thak's for this game i like it while playin thank you so much
which type pf scratch are you using is it online or not
How do you get the mask on the cat?
I drew it in the costume editor and pasted it on.
Hey um so I’m at 4:03 and multiple trucks are showing up and idk whats with that
Hello, please you can remake the video but in Spanish 🙏
The physics thing doesn't work like in yours, I have it identically made like yours, everything, it keeps going from top spot to bottom and it repeats this motion endlessly without needing to push space, so it doesn't necessarily jump, it simply appears again on top and then falls.
can you send me the link to the project at the start of the video?
same here
So I can’t rlly jump or control my cat and it keeps going backwards, I don’t rlly know how to fix this and I have a project tmrw- 😭🙏
post your project link? Or you can ask someone's help in the discord, which is posted on our link.
Is it 3.29.1 scratch?
love this
Sir I am coding on mobile and I cannot press key space what should I do now
In that case, you can choose another starter key, the most simple is the green flag stater key
i have the same script as you but my sprite like falls instantly after clicking the flag button
Sorry but when I clicked the green flag a 'coding the subway' the truck went left and then when it went to y-300 it didn't stop it made a clone and it never stops pls help
Is it because you are using y instead of x? X is left and right, y is up and down. Try changing it to x, or set the value instead to something like -240
good
i can't go on top of the trucks and i don't know why. i don't die but i still can't go on top do you know why? i think i did something wrong but i can't see anything. ( nvm i fixed it i did some thing wrong. )
How bro please explain