snake sprite: Green Flag clicked { forever { set var x to x pos set var y to y pos set var dit to direction } } Green Flag clicked { forever { if Key.up_arrow clicked { rotate 0 } if Key.down_arrow clicked { rotate 180 } if Key.left_arrow clicked { rotate -90 } if Key.right_arrow clicked { rotate 90 } } } Green Flag clicked { forever { create clone myself move 10 steps wait 0.1 } } Clone { forever { if touching HitBox { sell ImDeath💀 } } } When I get ImDeath💀 { stop all } HitBox sprite: Green Flag clicked { forever { rotate to Var:dir if direction=0 { set x and y to: Var:x Var:y+20 } if direction=90 { set x and y to: Var:x+20 Var:y } if direction=180 { set x and y to: Var:x Var:y-20 } if direction=-90 { set x and y to: Var:x-20 Var:y } } }
In snake spirit, you have to make a code "if touching edge" and broadcast the message game over! Make a new spirit of game over, in that make a code when "green flag" is clicked hide. And then take a block when I received the game over make that spirit show.
First, take the green flag block, then take go to a random position block. if you want that coin to move to a random position again n again then, under that random position take forever block and inside that put go to random position block and wait for 5 seconds block.
So helpful and awesome game... Please keep sharing . And i have followed you on UA-cam.. 😊
Thanks ♥ keep following this channel for more tutorial videos.
Im so like this
Thanks.
Please subscribe to my channel for more tutorial videos.
when i try to get my snake up wards then they show game over, and even i have not touched the edge then also it is comming game over.!!!
🤔
Please check the code again " When the up key is pressed - Change Y by 10 "
How would this work on iPad?
On web browser you can search for SCRATCH Software ( link is in description box) and then you can work on it.
@@CodersStudio19 no like how would I move the snake on an iPad? There are no up or down key?
@@TochedGrass3742 oh yes! you can make arrows left right up and down as a spirite and then you can easy work with it
I made this game
This game was superb
Thanks! Keep following this channel for more tutorials.😇
do we have to coppy your totorial or we can coppy your totorial and add some thing els
You don't have to copy it. if you want to add something else you can.
Its a really good tutorial but how do I remove snakes face when creating the clone ?
Its glad to hear.
You can put the hide block to hide the original snake face.
@@CodersStudio19 thank u
very helful just one qeustion can you have a different fruit than the strawberry
Yes any fruit you can use.
And keep following this channel for more tutorial videos.
wow, what a nice backdrop! I love it!
Thanks. 🙏 keep following this channel for more tutorial videos.
I like snake games this is amazing
Thanks 🙏 Keep following this channel for more tutorial videos
This helped me out a ton, but I have a question... how do I make it so the snake gets a game over if it crashes into its body?
Same bro
snake sprite:
Green Flag clicked {
forever {
set var x to x pos
set var y to y pos
set var dit to direction
}
}
Green Flag clicked {
forever {
if Key.up_arrow clicked {
rotate 0
}
if Key.down_arrow clicked {
rotate 180
}
if Key.left_arrow clicked {
rotate -90
}
if Key.right_arrow clicked {
rotate 90
}
}
}
Green Flag clicked {
forever {
create clone myself
move 10 steps
wait 0.1
}
}
Clone {
forever {
if touching HitBox {
sell ImDeath💀
}
}
}
When I get ImDeath💀 {
stop all
}
HitBox sprite:
Green Flag clicked {
forever {
rotate to Var:dir
if direction=0 {
set x and y to: Var:x Var:y+20
}
if direction=90 {
set x and y to: Var:x+20 Var:y
}
if direction=180 {
set x and y to: Var:x Var:y-20
}
if direction=-90 {
set x and y to: Var:x-20 Var:y
}
}
}
you get im really good 😎😎😎
ahh sorry fix bug , add this to snake sprite:
Clone {
wait 1 second
delete clone
}
@@ItsaMeReeheehee I wrote here to you children, questions?
Wow!!!!! The tutorial is awesome
Thanks 😀 you can subscribe to this channel for more tutorials.
Your tutorial was very helpful...and I think my Scratch app is glitching
Pls retry it !
it helped me sm thanks
Glad to hear!
Wonderful game😄
Thanks ♥️ keep following this channel for more tutorial videos.
@@CodersStudio19 true bro🧛
Is this a 3.0?
What?
@@CodersStudio19 I Meant do you like need to download Scratch 3.0 to make this game because i tried and didnt work like yours
@@varnikabhola2131 you can work with scratch 2.0 also or you can use online version of scratch.
Cool one!
Thanks ♥ keep following this channel for more tutorial
U helped me very much thanks
You're most welcome keep following this channel for more tutorial videos.♥️
awesomest game Ive ever seen!!!
Thanks 😇
SO HELPFUL!!!
Thanks! Keep following this channel for such more Tutorials!
I created this but when the snake touches the edge it will do nothing the game over wouldn't pop up
In snake spirit, you have to make a code "if touching edge" and broadcast the message game over!
Make a new spirit of game over, in that make a code when "green flag" is clicked hide. And then take a block when I received the game over make that spirit show.
Helpful
Glad to hear that,Thanks
Good
Thanks 🌈
Software version
It's the MIT Scratch 2.0 version.
can you give the link please?
What link?
@@CodersStudio19 Probably of the Scratch Website or the game link so he/she can play it..
WOW!!!! LOVE IT!😍
Thanks!🌻 Keep following this channel for more tutorial videos.
Wow........😊😊😊
Thanks 🌈
soooooooooooo gooooood
Thanks
❤️❤️👍👍
Keep following this channel for more tutorial videos 😊
IT awsome! i have a project
Thanks
Bug: when moving right and pressing left arrow. you move left. same for when moving left and pressing right arrow. you move right.
btw thx! Ill sub
Wonderful game buy when I want to change game it isn't turning immediately it is jumping a few steps then turning
Please helo
Good to hear you liked it! If it's jumping you can move steps.
Hi, how can I make the coin to a random position? Thank you!
First, take the green flag block, then take go to a random position block. if you want that coin to move to a random position again n again then, under that random position take forever block and inside that put go to random position block and wait for 5 seconds block.
bro mine is not working and every coding is fine but is not working
Maybe there is a bug you can retry it and make it again
thx alot it helped me alot!!!
You're welcome😇
nice
Thanks ♥️ keep following !!
i made this game
thanks
You're most welcome 🌈❤️ Keep following this channel for more amazing tutorial videos.
😍😍
♥️
Wow...
Thanks ♥ Keep following this channel for more tutorial videos.
@@CodersStudio19 sure
make geomettry dash
Level?
What ?
It's to bllure😅
ular no wow wow exe.
The Snake is leaving space and going after the score is above 100!!
So you can set the clone value 0.3 to 0.2
And then change the clone by 0.1
aku biasa galadis
Hello
Hey
nice
Thanks 😊