How to Make a Subway Surfers Game - Episode 1
ฝัง
- เผยแพร่เมื่อ 18 พ.ค. 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
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
The star wars clone wars, I watched it, its so good.
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!😎😎😎😎
this would help me a lot on my computer project so a big thanks
I have always wanted to make scratch like Subway Surfers
You could also just make a jumper, with player animations so it looks like the player is running, it is way faster.
what is the game mechanics in this game?
Thank you 🙇🏻
You’re welcome 😊 Make sure to subscribe!
thank you!
good job but I have a question how do you jump
I love it
I’ve been wanting to make a endless runner sort of game for a while now awesome thanks
pls quandale dingle
I've been looking for this thank you!!!
TYSM ITS SO GOOD IM DOING THIS AND IM STARTED SCRATCH 2 YEARS AGO COOLEST THIGY
love your tutorials
its fun
Thanks!
pls upload part 2
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.
which keys do I jump with
sthi tutorial helped me a lot👍👍👍😀😀😀
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 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
6:31 what sprite are we supposed to go to??
i love this channel i always like
can you make an scratch tutorial with scratch addons
OMG THIS GAME IS SICK! Keep up the awesome work!!
i did exactly what u said but it seems to not be working? how do i fix this.
where can I find the part 2?
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
great!!!!!!!!!!!
Plz sho ep 2 soon!
What a grand tutorial!
Agreen
I'm playing fortnite
LMAO
@@JacksonAcademy1 ME TOOO
please make an episode 2
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?
cool!!
Please make part 4
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
I would enjoy a second episode! Btw, that is SO cool!
Not working
dude there is a second Episode
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
your tutorial save me :')
make sure to subscribe
Can you tell me hw to do it so as to make it counts scores
thanks
good job
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
thank you so much
Welcome 😊
Quandale Dingle would be proud! 👏🏽
Thanks so much for this coding tutorial
(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
جيد على هذا الءشياء
where is the second episode i need I link
wow that great
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
Fine! I'm subscribe
PLZ do how to make Tank Stars sully
Just so you know if you have problems with selecting the truck, you can put your cursor on the costume (the editing area) and press crlt/fn + A
bruh....
THANKSS IT WORKS FOR MEE
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
love this
You are the best scratcher ever :) i have subscribed and liked the video :)
hi I did it but how do I make in jump?
thak's for this game i like it while playin thank you so much
pls episode 2
nice
THanks man now I'am passing computer science
bro i cannot unders stand when u are making ur block but then on which page u are coming
can you make a help video or just comment because my truck keeps glitching and cloning too much, one after the other
The character can't touch the ground! What can I do?
i have the same script as you but my sprite like falls instantly after clicking the flag button
it's work bro it is nice method
I have followed every instruction but I cannot make it land and stay on trucks.
I tried making this but now my 2 secs spawn truck is spawning to many clones that's making my pc lag >:(
thanks. man 😊
I tried that but when I started as a clone thing on the truck I won't be stared (from Nikos kid
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?
coooooooooooooooooooool nice editing
Thanks 😄
I was kinda lazy lazy on this tutorial though, I only spent about 30 minutes with editing. If I had more time i could do sound effects and better transitions.
@@JacksonAcademy1 no problem i love yor videos!
@@tabbyearth8377 Thank you 😊
@@JacksonAcademy1 no poblem
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
doesn't work for me, the truck keeps hiding whenever i click the flag. im sure the game would have been sick tho
My player is falling through the ground whenever i start the project. Any way to fix this?
try to edit your physics block so that the 'run without screen refresh' is ticked
@@mutyaqurratuayuni4697 i know it's one year later but thanks. i couldn't figure out what was wrong with my physics
can you send me the link to the project at the start of the video?
same here
When I click to play the truck is stoping in middle
im followin
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
The car sprite coding disent go at the same time
how many episdes are there?
i got to 4:04 but when i pressed the green flag my truck wasnt there please help
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
The cat is not jumping
i make it its so cool my rate for this 5stars
Oh this is you do! I love this game ! Thank you you do this!
when i click Space it just flies.
I cannot stand on the truck. plz help
Why when is click greens flag Allq of your code works but i have to click my secondq code?
How do you get the mask on the cat?
I drew it in the costume editor and pasted it on.
hey how is everything? clarify my doubt? Is it possible to publish in stores (play store, apple)? Or is there any way to monetize a game developed on the Scratch platform?
I think there is a way to monetize, but you can't publish it in stores.
@@_greeek and what would this ''monetization way'' look like?
Thank you
I can’t die when I hit the trucks
Or jump on top of them
Can you share the project and givem the link?
Yeah
Well it’s messed up now
U get it?
Hello, please you can remake the video but in Spanish 🙏
I dont know why but my cat is just passing through the trucks when i am trying to jump to the top of it
Why do i fall through the truck when i tri to jump on the truch
can you make it 3d?
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.
I made it so that the truck would wait from 2-5 secs before making a clone of itself so players would not easily be able to make momentum.
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😢
good bro thanks