Scratch Tutorial: How to Make a Shooter Game (Part 1)
Вставка
- Опубліковано 7 лют 2025
- In this Scratch tutorial, I will be showing you how to make a zombie-survival shooter game. In this video I show you the basic player movement and bullets using clones, as well as zombies with health. If you want to check out my Scratch profile (all of my 8 games were front-paged), click this link here: scratch.mit.ed...
Know enough Scratch and want to move on to making REAL web games? Check out my course here!
www.fuelvin-ac...
Join my Discord for major announcements, sneak peeks, and more!
/ discord
Be sure to follow my Twitch channel for livestreams!
/ fuelvin
I recently published a new mobile game, Flingy Fruit (available on iPhone and Android)! Check this video out if you want to see how I made the game:
• How I Made My (Second)...
You can also check out this video for the other mobile game I made, The Last Chicken On Earth:
• Mobile Game Announcement!
Outro music (I only used part of it): bensound.com
For business inquiries: contact@fuelvin.com
If you use a newer version of Scratch you may get stuck on the time 3:40 , because you can't find the correct block. You need to pick up a "backdrop# of stage" block and change "stage" to "sprite1" then "x position" will appear and you can change that to "direction". Like so others can see! :)
Thank you. I was stuck for like 10 minutes
Hvala buraz :D
@@Frrn1gaaa Make sure that you are on the correct sprite and putting it under "go to sprite1" on the "when i start as a clone". Hope it helps!
Oh my god thank you so much i was wondering what i could do so i looked in the comments and you helped me.Thank you so much man!
Hrvatski Mapper ur a life saver 😂
Join my Discord for major announcements, sneak peeks, and more!
discord.gg/QXWMrSNg38
Know enough Scratch and want to move on to making REAL web games? Check out my course here!
www.fuelvin-academy.com/
I like This!
my zombies are not spending
Can u make a multi-player??
I kept the recoil a bit to create a trigger effect
I love it!
Quick tips:
1. Remember to set the bullet clone layer to back otherwise it might look like it's coming from the head and not the gun (Fuelvin used a go back (99) layers because a go to [back] layer doesn't exist in scratch 2.0).
2. *DON'T* use the move step plain when the bullet clone spawns, instead, use a ((x position) of (Sprite1) + (offset)), I recommend 75 but it depends on the width of the player
how to get offset block
Bro there is no X position in Scratch 3.0
@@kumaranshumansingh8603 Yes there is
but there is no offset though
We learn with Scratch in School, it's so much fun and this helps sooo much, thank you! 🙏♥️
Super scrach progect in sri lanka ua-cam.com/video/ouXYIB8jeB4/v-deo.html
@@getsetgeek lol, what?
I wanted this to happen here in Brazil.
@@mariusblp as a Sri Lankan, I don't think you should click on that link. might be a rick-roll.
Thank you very much! We are form Vietnam and we need to learn from you, to bring Scratch to Vietnamese students!!! GOOD LUCK
i'm Vietnamese
This reminds me of The Vietnam War
if anyone face problem like bullet coming position or rover turning direction is wrong then change the center of the sprite how to chnage
1)click custome
2)right side you can see a + button click and change have a fun
You literally solved half the problems I ran into making my game. Thanks dude!
same
If you use a newer version of scratch you may get stuck on the shooting alignment part
The solution is you have to put the gun as centered not the player and put the move 30 steps one (the one
After the direction of sprite 1 block) as "move 0 steps" so that it looks like its coming out of the gun oh
And the if touching edge or sprite 3 creates bugs so put that in the zombie sprite and replace sprite 3 with
Sprite 2 in the selection
Or just change the centering of the bullet. (Thanks Anthony irons)
just change the centering of the bullet
@@anthonyirons9274 thanks
just use ((x position) of (Sprite1) + (your offset here)), mine was 75
@@edilbertleyson I don't use scratch anymore but thanks
how to make the bullet same as the cannon direction
idk if you're going to see this, but thanks for making this all those years ago, I made this game as a kid and I really enjoyed making it. Just remembered it's existence so thank you
Awesome job dude, if you want to learn scratch just follow along cant believe it actually works and is even beginning to make sense!
The dislikes are from teachers who couldn’t teach as well as warfame
ahah
yeah yes
@الوارث قيمر alwarith gamer yea
yea
aka all teachers
I have a feeling that youre right! 😂
Damn man you’re a life saver, I was trying to figure out the shooting for ages
same dude
SAmE
I already did this and I am creating a new project were meteorites spawn and you have to shoot them and I needed help with the spawning so thanks a lot
grifpatch made a tutorial for that if you want it after 3 years
U can also make a costume with the zombie filled in red and have it change to that costume for about 0.1 secs when it’s shot or killed
This is very impressive I am learning scratch in school but simple stuff like what is your name and how to make a simple calculater I am trying to get ahead of the people in my class by watching this btw I am year7/grade6 and I am 11 years old
Okay so, 3:40 was confusing. I am using the newer version of scratch, and I couldn't find that block. I soon figured out that if you go to sensing you need to get a backdrop# of stage block and what you need to do is take the stage and put it at sprite 1 and then take the x position which will appear and then make it direction and put it in the point in a direction. I really hope this helps:) Sorry if it was confusing. Quick tip! If the video is too fast pause the video, go to the settings icon, and go to .75 it will be better.
thank you sir!
really helped thanks
Thanks. I’m just getting into Scratch and you have helped me sooo much!! I have subscribed to you and liked the video. Keep up the good work 👍🏻
excellent work youngster! so easy and quick. no annoying back ground music and straight to the point.
good my brudda played it dont let comments ever hurt you some people are just horrible or having a bad day dont let them take you down
Omg thank you it helped get me started on making my game for the scratch community it is called beat the beast 1 you all can play it if u want it is on scratch
Thanks, this is way more easier than visual studio code, thanks for your help bud.
“If you want I can make a part two,” proceeds to make 10
*proceeds to make 12*
*PROCEDS TO MAKE A 💯*
absolutely mad lad
@@LRexChess ua-cam.com/video/ouXYIB8jeB4/v-deo.html go to this link i know you wont it
your stressing me out!
This Guy Deserves More Subscribers. Quality!!
bro you got me into scratch 5 years ago and I'm grateful.
we've gotta respect the fact that he is doing this entire series (12 parts) on windows 7
F for respect 👊👊
@@drunkpatrick8051 F
I used the first 2 minutes of this to learn how to make a moveable sprite! I figured it out, thanks to you, and made a homemade car parking game! Thanks so much for the lesson!
Wow dude, you eased my life with this video, AMAZING !!! Now I can create a game for my presentation tomorrow and I owe u for that , keep making lots more videos !
This KUNAI is nise
hehe
anybody else has this as their ICT classwork?
me
me
same
me lmao
I wish
Quick note, great lesson. If you are trying to make the robot rotate in the latest version of scratch you need to "set rotation style "all around" right under the main flag :) New feature.
no, you just need simple scripts to make it spin around, when flag clicked forever loop if left arrow key pressed? then turn 5 degrees clockwise, if right arrow key pressed? then turn 5 degrees counter clockwise. Hope that helped!!
This is the video that started my coding journey years ago, amazing video
I tried to make an exact replica of your game.
It was amazing, thank you!
Hi. I have one more video which my daughter made ua-cam.com/video/1G7ZpBQVl_I/v-deo.html You will see it is funny and useful in the same time.
Very good tutorial and entertaining. I have followed it through in scratch and am playing it.
Thank you, I've made a side-view shooter based on this
I just love your game bro
I got 10 marks of 10 in computer science because of this game and I personally play it in my free time with my brother .
I used this tutorial years ago. It's amazing to see people still following it ;)
Same, i did that when this came out
Thank you so much I watched it when I was younger and forgot about it then I started using scratch and I’m going to use your tutorials
Hi. I have one more video which my daughter made ua-cam.com/video/1G7ZpBQVl_I/v-deo.html You will see it is funny and useful in the same time.
Really nice tut mate! Keep up the great work :-) Gonna teach the kids this now! (And a hot tip to everyone that can't make it work properly.. Calm down and pay attention to the details!)
dz16 i dont believe a teacher plays pubg
Corey Edits I’m pretty sure he/she means their own children because I know a lot of parents that play videogames
Me doing this for a school project feeling guuuuuuud
If you get stuck at 3:40 on the newer version of scratch
So create a variable called “direction”
Pull out a direction input from “motion”
Then use a “set variable to __” block
Then set “direction” to direction
Then go to your bullet sprite
Then set its direction to “direction”
2:35 is when they start shooting tutorial
Tysm btw
Fantastic way to learn this stuff, keep it up dude!
Instead of Brightness affect i would recommond to use the "ghost effect (75)" it looks cooler and when it dies it fades away
Wow That Was Really Cool 👍
Wow dude I loved this and now I'm making my own game with my own mechanics very cool
Wow dude I finally know how to assign a variable for each clone tysm you don't know how much it means to me
Him-
Use right arrow for clockwise and left arrow for counter-clockwise
Me- uses point towards mouse pointer
Him- use top arrow to make him move a certain amount of steps
Me- thinking about the most common keys
Me- uses q for move knowing that I'll use e for fire 😎😎😎
😎😎
You should also name your sprites because it will save you a couple of precious seconds as it will remove the trouble addressing the sprites their name and costume.
Anyways it was good
Great tutorial! Thank you for making it. I use it in my class.
for people who are screwing up with the character spinning , basically you need to place the character's circle in the middle of the painter , if you didn't do that it will spin like crazy , so make sure to place it in the middle
hi, i cannot see the words of blocks in your video even at 720P model clearly, since they are too small and vogue for me. anyway, so great job! thanks for sharing
ОЛЛШГШЛН
Fact: the first part was uploaded on my birthday :)) i guess this was a gift
To work the shot use forever (move ... steps) and place it under the if touching block and in if block place the delete clone
Great Tutorial, Keep up the good work!
Damn.
Nostalgia is hitting me harder than a brick already.
I have a different version and it doesnt have blank of blank in the sensing category. Anything I can do?
Hello! If you have the "Zombie_Lives" variable stuck on your screen, I can help with that! Just go to the variables tab, grab a block that says hide variable, and put it in between when flag clicked and hide. It still has the variable work, it just doesn't show on screen.
Guys,You can use block go to pick random -360 - 360 for x and y.Zombie will spawn anywhere.
THIS IS AMAZING! Thank you! Also, I subscribed. :)
FAC.YOU MAN
cool cool! I've went to How to Make a Shooter Game (Part 4) FINALY!!!! You made my have lots of fun!!!!!!
For some reason, my bullet would only stay in one play and never come out of the gun :(
Don't know why but it just is
look at the first comment
Did you put move 1 step?
Bro ffs my bullet shoots at lightning speed 3 feet away from the gun
u need repeat until not repeat
@@ImBop__ I did but it still does not work
thank you sir i saw 3-4 videos on youtube for a shooting scratch game but i didn't found an easy for me my hopes was no more but i thought that let's see only one more video and it was your's i found it very easy and unique .☻☻☻ thank you sir so much
you are best♦♦♦
if you guys wanna add backwards, just make another working pressed key, change to S or arrow down and then make the move step to negative
I love it, I made a couple adjustments to change the game mechanics so I can present it as a project in class
the bullets dont come out, i even centered the both sprites like a 20 time PLEAASE HEEELP
give me the link and i will help u
Just restart that’s all I cans say
do the code again
Ok, first and foremost, thanks for this tutorial, it's really great. Secondly, I'm altering this slightly to make it a space shooting game. It's gonna be a similar style though, with enemy ships coming towards the player, but I have one question I can't seem to figure out. I would like the enemy ships to come from all different directions. I tried using x pick random and y: pick random but quickly figured out this just makes them spawn anywhere on the canvas, not at the edges where I want them to lol. I can't quite figure the parameters to put in so they only spawn on the edge of the canvas. Any ideas/suggestions? Thanks for your time dude :)
You could to a repeat touching edge and in that you could do go X Position Random And Y Position Random, so it will keep doing that until touching the edge.
You could watch griffpatch space shooter tutorial,
Hi so little tip you can reverse the move forward to go backwards too.
I don’t recommend but it’s pretty cool
yo lucas u a legend thank u bro i was about to quit until u said that thank u soooo much
My childhood❤❤❤❤❤❤❤❤
PLZ PART TWO!!!!
WBVROHUSVAOHBSVJBHOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Part 2?
yes
yes plz man
and make a 2 player mode that would be cool
YES PLZZ
YES
thank you bro
from India
THANK YOU! This helped me so much with my skills in coding, any time I feel confused I just look at your videos. I also love how specific you are.
Hi. I have one more video which my daughter made ua-cam.com/video/1G7ZpBQVl_I/v-deo.html You will see it is funny and useful in the same time.
@@verasadventures5494 Hey, that looks cool!
btw this is how many times he said *forever loop*
⏬
edit:good 21 likes guys! just 5 more till we stop
The fact there is only three is just sad
Im sure much more. But i will help u out with a like!
i love forever loops
now there is 16
6:35 is my bookmark right now
I want the old scratch back the new layout is messed
can u make a new video of the same thing on the newer version of scratch, because I am struggling to programme such a game and u r the only one who can help.
i know this was a while ago but i used this to make my first game which led me to make even more games on scratch, thank you very much.
IM GONNA SHOW MY SCHOOL TEACHER... THAT I CAN MAKE A GAME!
lol me too
i remember back in the fourth grade when i was making games while keeping up with the class and every ounce in a while someone would ask me where i found an unblocked game and i would reply with “i made it”. the good ol days XD
yeah i'm in fifth gonna tell ma teacher that i made it
@@riddhkuruba5812 thatl go considerably better than it did for me considering its mostly online classes and summer school online classes at that.
Love the great and amazing tutorials these are really helping me with coding but you should go a bit slower so I don’t have to pause the video every few seconds
ikr
By me teh bullets are coming from the side
Help
they are coming from the outside
Can you help me?pls
Same
Yes me too.
@@wer44yer tev vajag to lodi tur kur ir zīmēta viņa pavilkt uz leju un apskatīties kur viņa šaus tur viņu vajag nocentrēt pret pistoli pašam
@@valtersplaudis386 paldies
@Warfare,I followed your advice of the bullet fires but it shoots upwards and not towards the gun
This tutorial is so good! i had fun coding!!👍👍👍👍😊😊😊😊😊👌👌👌👌👌👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍
For some reason the bullets were coming out of my back
me to
LOL same
Turn the first sprite 180°😊👍
a scratch video with over 1m views wow
I WANT PART TOO NAW
@@tomvandebroeken603 you think THEYRE the bitchboy, huh?
look in the mirror.
Stop being so mean! This is a tutorial for new scratchers to learn not to be CALLED NAMES!
May i just know which key are you using to make the bullets come out?
This Kid is Really Smart like: he barely even hesitated.👏👏
The bullets don't come out of the gun for me :(
I no listen
Your right we in the comments no ones talking your just typing
I'm glad i'm not replying to an old comment so you can actually see this! I had the same issue where they were misaligned and the best way to fix this is detach the code that makes it move and shoot a bullet, it should be stationary and you can adjust your sprite accordingly. another thing is your bullet might not be centered so make sure it is!
Gamer_l3g3nd27 Thanks alot
@@Niksstuff you're welcome! were you able to fix the issue? in the newer versions of scratch there's a little plus sign in the middle and a lock on feature when you get to the middle
Make a part two plz
He did like 2017 dumbo
I happen to be human and not an elephant.
He did like 2017 tho
make a part 2
What 's your name?
@@anhkhoatranduy7752 joe MAMA! EHEHEHEH
This is the video that got me into game dev / programming.
if you want to make it so the bullet comes out of the gu in the new version of scratch just change the bullet centering
the bullets come out of my the side of my character, and i can't fix it
Reposition the bullet at the Drawing tab. That should fix it.
@@alpkahro i've tried this, and the bullet has started to come out of my back
@@faiviz8113 so did I get it right? The bullets are going in the right DIRECTION but coming from the wrong place?
@@alpkahro yea
@@faiviz8113 well repositioning the bulet shouldve fixed it. Try repositioning it just a little at a time
6:30 How do you remove the gun?
Did you group the player with the gun? If you have then you'll have to create a new sprite
Make a sprite of your character not holding a gun and then switch the character to him
I know how to code python yet scratch coding is confusing me xD
same
lol
same but with me its JavaScript
Same
I’m the absolute opposite and I hate python
Hi, War fame. This video really helped me, but can you make another video using the Scratch in the 3.0 version? I'm getting confused......
50K subscribers mark! 👏😎
I am from turkey but I can understand you I subbed :)
i have a friend who is turkish
When I make my guy turn, I use, "if right/left arrow key pressed, then. Point in direction, direction -/+(mines or add) 5"
this is so good im bout to get an A in me class
You should get A plus
bro this helped me so much i am making a game with multiple enemies and stuff, thank you
This channel is the only reason im good at using this website