Scratch Tutorial: How to Make a Shooter Game (Part 1)
Вставка
- Опубліковано 8 вер 2024
- 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 😂
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
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.
@@mabalupe 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
You literally solved half the problems I ran into making my game. Thanks dude!
same
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
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
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
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
Damn man you’re a life saver, I was trying to figure out the shooting for ages
same dude
SAmE
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
This Guy Deserves More Subscribers. Quality!!
“If you want I can make a part two,” proceeds to make 10
*proceeds to make 12*
*PROCEDS TO MAKE A 💯*
absolutely mad lad
@@LRexx ua-cam.com/video/ouXYIB8jeB4/v-deo.html go to this link i know you wont it
your stressing me out!
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
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
Thanks, this is way more easier than visual studio code, thanks for your help bud.
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 👍🏻
anybody else has this as their ICT classwork?
me
me
same
me lmao
I wish
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
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”
Thank you, I've made a side-view shooter based on this
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!
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! 😂
Awesome job dude, if you want to learn scratch just follow along cant believe it actually works and is even beginning to make sense!
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 .
Me doing this for a school project feeling guuuuuuud
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.
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 👍
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
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.
a scratch video with over 1m views wow
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
excellent work youngster! so easy and quick. no annoying back ground music and straight to the point.
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.
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.
Damn.
Nostalgia is hitting me harder than a brick already.
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
Thx a lot now I can prove that my friends SUCK at programming and SUCK at making zombies in game
This Kid is Really Smart like: he barely even hesitated.👏👏
6:35 is my bookmark right now
Great tutorial! Thank you for making it. I use it in my class.
cool cool! I've went to How to Make a Shooter Game (Part 4) FINALY!!!! You made my have lots of fun!!!!!!
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
yo lucas u a legend thank u bro i was about to quit until u said that thank u soooo much
Very good tutorial and entertaining. I have followed it through in scratch and am playing it.
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
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
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!!
bro you got me into scratch 5 years ago and I'm grateful.
Wow dude I loved this and now I'm making my own game with my own mechanics very cool
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
ОЛЛШГШЛН
Great Tutorial, Keep up the good work!
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
Fact: the first part was uploaded on my birthday :)) i guess this was a gift
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
Fantastic way to learn this stuff, keep it up dude!
PLZ PART TWO!!!!
WBVROHUSVAOHBSVJBHOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSOSFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
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
2:35 is when they start shooting tutorial
Tysm btw
I have a different version and it doesnt have blank of blank in the sensing category. Anything I can do?
I love it, I made a couple adjustments to change the game mechanics so I can present it as a project in class
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
English: This is crazy!
While I'm building my project with this nifty tutorial, when I click the green flag, the zombies multiply indefinitely!
Indonesia: Ini Gila!
Saat saya sedang merakit proyek saya dengan tutorial yang bagus ini, saat saya meng-klik bendera hijau, zombie nya bertambah banyak tanpa batas!
To work the shot use forever (move ... steps) and place it under the if touching block and in if block place the delete clone
I want the old scratch back the new layout is messed
THIS IS AMAZING! Thank you! Also, I subscribed. :)
FAC.YOU MAN
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
we've gotta respect the fact that he is doing this entire series (12 parts) on windows 7
F for respect 👊👊
@@drunkpatrick8051 F
When I make my guy turn, I use, "if right/left arrow key pressed, then. Point in direction, direction -/+(mines or add) 5"
Part 2?
yes
yes plz man
and make a 2 player mode that would be cool
YES PLZZ
YES
For some reason the bullets were coming out of my back
me to
LOL same
Turn the first sprite 180°😊👍
This is the video that got me into game dev / programming.
This is the video that started my coding journey years ago, amazing video
this is so good im bout to get an A in me class
You should get A plus
this seems more like a keyboard and voice asmr than a tutorial xD
yes
Make a part two plz
He did like 2017 dumbo
I happen to be human and not an elephant.
He did like 2017 tho
This channel is the only reason im good at using this website
I used this tutorial years ago. It's amazing to see people still following it ;)
Same, i did that when this came out
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
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!
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
50K subscribers mark! 👏😎
This helped my make a game for the first time and was quick also didn't make me watch multiple parts thank you.
make a part 2
What 's your name?
@@anhkhoatranduy7752 joe MAMA! EHEHEHEH
Every time I fire the bullet they always go forward they won't go where the sprite is looking. (Edit).Ok guysI fixed it to anyone who has the same problem so I put point towards but you have to do point in direction and then just the blue add on I know a lot of people already know this just in case anyone else needs to know it.
Thank you!
Im not getting it to work
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
if youd like you can do this:
when flag clicked
forever
point torwards mouse pointer
move (whatever u like) steps
the video that started my love in making scratch games
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
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.
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
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
Wow dude I finally know how to assign a variable for each clone tysm you don't know how much it means to me
thx so much! u are THE MAN! i wish i knew how to do this without watching his videos. like if u totally agree!
all you have to do is try to understand the code
when u do u dont even have to come back to this video. just keep reading the blocks in order and it will start to make sense!
I am from turkey but I can understand you I subbed :)
i have a friend who is turkish
THIS SUCKS
JK this is the best gun game i have ever seen
i will modify so it rotates to the mouse
I'm doing coding we just started scratch But me and one of my friends worked ahead and know how all of the blocks and operators work and function I'm gonna show it to my Coding teacher tommorow
The first Scratch tutorial I watched was this epic video!