Scratch 3.0 Tutorial: How to Make Plants vs. Zombies (Part 2)

  Рет қаралды 23,872

Fuelvin

Fuelvin

Күн бұрын

Пікірлер: 110
@Fuelvin
@Fuelvin 7 ай бұрын
Hope you enjoyed this video! What do you want to see me add next? My Unity From Scratch course is now 70% OFF for a limited time! Enroll here: www.fuelvin-academy.com/ Join my Discord: discord.gg/qUgyF8M5
@user-SPEEEDDD
@user-SPEEEDDD 7 ай бұрын
CHERRY BOMB
@Kaius333
@Kaius333 7 ай бұрын
Wall-nut and Sunflower
@MrSharkOfficial
@MrSharkOfficial 6 ай бұрын
Sun producing and sunflowers
@khangabang4105
@khangabang4105 5 ай бұрын
W tutorial but when my pea shooters start shooting when i try to drag my peashooters its a seed can you help?
@luanafinardi2798
@luanafinardi2798 2 ай бұрын
@@khangabang4105 it might be cause you're dragging the seed packet or you have the same problem i do, cause when i try to place down a second peashooter it doesnt work. try going back in the vid and looking at the code to see if you copied anything wrong.
@Orsonster
@Orsonster 7 ай бұрын
You have such a unique approach to programming that I've never seen before!
@FrightfulMC
@FrightfulMC 14 күн бұрын
For the grid you can just set the x and y to the x or y divided by grid part size rounded and then multiplied by the grid part size
@trikzzznlafzzz4027
@trikzzznlafzzz4027 Ай бұрын
Hi Fuelvin! I subscribed. I have an issue. my peashooter clone keeps on cloning itself and does not delete itself. The clones keep on coming until my PC lags. More clones of my peashooter spawns as soon as a pea comes out of it
@trikzzznlafzzz4027
@trikzzznlafzzz4027 Ай бұрын
Please put a screenshot of your entire code at the end of each video
@yoguysitsdrak
@yoguysitsdrak 6 ай бұрын
hey i have this problem, so whenever peashooter shoots his peas, the peas will somehow make another pea, AND DEAL TRIPLE DAMAGE, anyway to fix this?
@Ljossop
@Ljossop 5 ай бұрын
I think you can't have costume-based animations for the peashooter. You and I may never know how to fix this bug while keeping the animations unless the creator finally starts answering his comments, instead of just hearting them and not saying anything.
@luanafinardi2798
@luanafinardi2798 2 ай бұрын
i had the same issue and it got solved after i went back in the vid and found something wrong with my code i dont remenber exactly what it was but it was something to do with the clonetype variable
@thienhainguyenhuy521
@thienhainguyenhuy521 7 ай бұрын
I have a problem where when i try to place my pea shooter to the nearest thing after creating the grid, it always teleports to X : 271 and Y : -143
@ReddyTheCastler
@ReddyTheCastler 23 күн бұрын
Mine goes to the hidden peashooter
@thienhainguyenhuy521
@thienhainguyenhuy521 22 күн бұрын
me too lmao
@the_real_quack_456
@the_real_quack_456 14 күн бұрын
on chapter 5, whenever the zombie receives the hit message, it will still take damage even if touching a regular peashooter
@epikistrash
@epikistrash 6 күн бұрын
yep i saw that as well but shouldn't be a big issue. like who is gonna plant a plant right ontop of the zombie???
@the_real_quack_456
@the_real_quack_456 4 күн бұрын
@@epikistrash true
@Entity_608
@Entity_608 4 ай бұрын
Yeah, the combined pea and pea shooter sprite ruined my code again and I can't fix it. @Fuelvin, I have an idle animation for pea shooter so is that why?
@MattAndPock-uk7tz
@MattAndPock-uk7tz 7 ай бұрын
In Part 3, can you add coneheads and bucketheads
@coder_sai
@coder_sai 7 ай бұрын
Can you add the sunflower plant, the sun, the sun generator, and the sun cost? you have to do it in part3
@MarkDanielBelledo
@MarkDanielBelledo Ай бұрын
I'm making it in my tablet and the pea/damage block is not showing
@gabinlelievre2996
@gabinlelievre2996 Ай бұрын
32:30 thank you so much, I've been trying to make a game (where you shoot enemies) but I couldn't figure how to kill an enemy 1 by 1 instead of all of them
@rechellejamila3515
@rechellejamila3515 2 күн бұрын
i also have that problem, but i fixed it, heres how: first find the "health < 1" on the zombie sprite, and then change the "hide" into "delete this clone" if that didnt work add in the "touching then" after the "hitZombie" broadcast.
@blokesaintgaming-withit
@blokesaintgaming-withit Ай бұрын
Help!!! When I place the first pea shooter, it is fine but when i place the next ones, the pea shooters all go together in one big pile.
@Lycervdald
@Lycervdald 22 күн бұрын
Check if the variables are for this sprite only
@gikyo
@gikyo 7 ай бұрын
Fuelvin, you are awesome!
@jojits2103
@jojits2103 7 ай бұрын
This helped me out so much!
@homckach8817
@homckach8817 Ай бұрын
28:16 Thank you SO much for this!
@yael5090
@yael5090 4 күн бұрын
anyone knows when im placing another peashooter the pea stucks to the plant while i am still placing it and the other peas get stuck too?
@josephharris9393
@josephharris9393 Ай бұрын
While i have a plant selected and i hover over a planted plant, it moves the plant to the exact plant i selected.
@angelus9762
@angelus9762 2 ай бұрын
after adding the prevent overlapping plants my peashooters go invisible and the pea's fully and don't hit the zombies anymore but they are still in the log list
@AdlerAnimates
@AdlerAnimates 6 ай бұрын
Helps a LOT if your a game dev
@mietekztandolii
@mietekztandolii 2 ай бұрын
When i am placing plant the peashooters aren't shooting, how can i fix this?
@eulalioignacio7081
@eulalioignacio7081 3 ай бұрын
had a problem with the zombies, when the second zombie comes, one zombie gets shorter or taller, how do i fix this?
@TylerJackson-d9g
@TylerJackson-d9g 5 ай бұрын
my dad loves pvz and thank you for this video
@whizardfurcorn
@whizardfurcorn 6 ай бұрын
Whenever I place the first peashooter it works fine, but in the middle of placing the next one it shoots in mid-placement, any help?
@Insertgoofynamehere
@Insertgoofynamehere 7 ай бұрын
do u think u can do a tutorial on a clicker game like planet clicker where u can click arrows to buy planets and stuff like that
@glade2216
@glade2216 7 ай бұрын
Great as always! :D
@HorrorBuddies381
@HorrorBuddies381 7 ай бұрын
I don't know what I did but whenever I click the peashooter to place it, its fine but when I click it again it turns into the pea?
@HorrorBuddies381
@HorrorBuddies381 7 ай бұрын
I also have an error with the shadow for the pea shooter so when I press the green flag the pea shooter spawns in the middle without me pressing the button to spawn the pea shooter and then when I press the button the pea shooter in the middle disappears and their is no shadow to be seen.
@Fuelvin
@Fuelvin 7 ай бұрын
For both of those issues, make sure to double check that your CloneType names are being used correctly (PrePlant, Plant, Bullet)! Also, make sure you actually set them and that they are being set in the correct places.
@ILikeWafflez
@ILikeWafflez Ай бұрын
When ever The Peashooter Shoots It Shoots Twice Bullets , and sometimes the bullet even shoots another bullet , and also the bullet will get stuck when touching the zombie and it will keep dealing damage to the zombies since the zombies keep touching the bullet
@руслан-з8х1и
@руслан-з8х1и 15 күн бұрын
did you fixed the problem?
@Leonid3097
@Leonid3097 19 күн бұрын
Hey bro is it not work, I combining pea and peashooter but peashooter shoot himself😢
@yassin-animation
@yassin-animation 6 ай бұрын
So uhhhh my game had an animation for shooting peas so combining the pea and pea shooter missed up the code Help please?
@Entity_608
@Entity_608 4 ай бұрын
same
@1105ytytytyt
@1105ytytytyt 3 ай бұрын
Same
@DrBoneJones
@DrBoneJones 7 ай бұрын
Another tutorial! yes I've been waiting!
@THUNDER__PLAYZ13
@THUNDER__PLAYZ13 7 ай бұрын
You are the best
@ameero9146
@ameero9146 5 ай бұрын
This helped a lot. Thanks!
@evakoval2814
@evakoval2814 4 ай бұрын
This is too op great job I think you must have *100 likes on this Video
@Axolot800
@Axolot800 5 ай бұрын
when i first place the peashooter its ok but if i place it again i see the bullet sprite following my mouse pointer before placing the peashooter down. Do you know how to fix this issue?
@weichaozhang2555
@weichaozhang2555 7 ай бұрын
theres a bug where if you click the seed packet twice without placing the first one down, you'll get two on the same grid spot when you click on a grif
@Entity_608
@Entity_608 4 ай бұрын
I have tthe same issue
@luanafinardi2798
@luanafinardi2798 2 ай бұрын
Does anyone here know how to fix the problem where you cant place down more than one peashooter? i tried solving it but nothing i've tried seems to work
@scratchwithboboiguess
@scratchwithboboiguess 6 ай бұрын
Bro everyday: cool :D
@sohumbrahmbhatt
@sohumbrahmbhatt 7 ай бұрын
Good Job I wish I could code like you!!
@DostyBaguette
@DostyBaguette 6 ай бұрын
why isnt it working :(, when i take my peashooter for the second time it becomes the bullet, WHY?
@PhongThanh-gz5zk
@PhongThanh-gz5zk 5 ай бұрын
i'm a new subscriber baucause i want you to be the biggest youtuber 😍
@heatherboofer9641
@heatherboofer9641 5 ай бұрын
is anyone else's peashooter literary just becoming the pea while follow ing the pea bc mine is ive been copying everything exactly and just now the peashooter isn't staying in place its just following the pea then disintegrates when it hits the zombie, What did I do wrong?
@Entity_608
@Entity_608 4 ай бұрын
My peashooter is being treated like the pea. I wish I skipped the combined pea and peashooter sprites cuz they worked just fine, i only copied him cu I thought he knew what he was doing
@Golden_static
@Golden_static 7 ай бұрын
during adding the pea and peashooter when i run the game and place a peashooter the peashooter would just be gone but the pea would fly across the screen if you or anyone can help me i would be greatful
@leowang722
@leowang722 6 ай бұрын
Had the same problem, double check your variables and rewatch the vid.
@traimitnguyen
@traimitnguyen 6 ай бұрын
Thank you ❤❤❤
@The_Real_Block5
@The_Real_Block5 7 ай бұрын
Can you make a next update of hobo simulator?
@Hamoody15
@Hamoody15 7 ай бұрын
I think there is a problem in ur code that u broadcast a local message that is (HitZombie) which means that all zombies on screen will take damage, plus the Zombies wouldn’t flash if they didn’t receive the (Flash) that as will means that all the Zombies on Screen gets damage and a Flash effect, i hope it’s fixed soon🙂
@thetwoRascals
@thetwoRascals 7 ай бұрын
It won't since when it broadcast the message the zombie sees if it is touching the pea and if it is then it takes the damage 😊
@Hamoody15
@Hamoody15 7 ай бұрын
@@thetwoRascalsmaybe 🤷‍♂️
@avgprogamer
@avgprogamer 5 ай бұрын
i have a problem when i select a peashooter and place it, the next one i select creates the peas where im dragging the peashooter
@Idiotic_Fortnite
@Idiotic_Fortnite 4 ай бұрын
Did you select "For this Sprite only"? That fixed it for me
@avgprogamer
@avgprogamer 4 ай бұрын
@@Idiotic_Fortnitehe fixed it later in the tutorial, thanks for the tip though!
@videosofYAY
@videosofYAY 3 ай бұрын
PLEASE READ THIS PLEAAAASE problem:- Whenever i place my peashooter after combining PEA and PEASHOOTER then it just stands there menacingly no shooting It just doesnt work please make a video where you solve ALL the common problems including this one Really love it if ya do!
@Entity_608
@Entity_608 4 ай бұрын
My peashooter spawns the peas at the very bottom and then treat another clone of peashooter as the pea
@Planktonstolemypillow
@Planktonstolemypillow 6 ай бұрын
The Peashooter doesn’t snap onto the grid 😭
@semvermeulen7039
@semvermeulen7039 7 ай бұрын
Please add sun and plant health next time
@RobloxSpeedruner-mj9zx
@RobloxSpeedruner-mj9zx 6 ай бұрын
hi Fuelvin, am not sure if your gonna read this but on the start of the video when I placed a peashooter it was all fine, but when I click the seed package again, before I plant it it already starts to make peas and all the other peas of other peashooter spawn from that peashooter, can you help me? Or can someone tell me if its fixed later on te video
@alejandromaldonado8817
@alejandromaldonado8817 6 ай бұрын
it does get fixed
@RobloxSpeedruner-mj9zx
@RobloxSpeedruner-mj9zx 6 ай бұрын
@@alejandromaldonado8817 thx
@SouthDragonFood
@SouthDragonFood 7 ай бұрын
its 2am when i watched this video
@n0_one-mc5to
@n0_one-mc5to 7 ай бұрын
Can you add animation?
@larrycao4458
@larrycao4458 5 ай бұрын
the pea shooters keep shooting when i haven't even placed them
@yayadaou3351
@yayadaou3351 7 ай бұрын
good!
@Wacker-du9rd
@Wacker-du9rd 7 ай бұрын
wheres part 3??? but take ur time!
@henrystickmin8812
@henrystickmin8812 6 ай бұрын
the (Distance to ___) block must feel very sad that nobody uses it
@worldballfilms8271
@worldballfilms8271 5 ай бұрын
I have a problem the peashooter just snaps on the top right corner of my screen I made the grid and followed everything idk how to fix it?
@vanessastorr7325
@vanessastorr7325 2 ай бұрын
did not work😥😥😥😥😥😥😥😥😥😥😥😥😥😥
@anhtuhoang9058
@anhtuhoang9058 7 ай бұрын
awe yeah
@ДиманТоп2024
@ДиманТоп2024 7 ай бұрын
Make pls sun and sunflower
@leowang722
@leowang722 6 ай бұрын
In parts 3&4
@Fannysstudio-o2l
@Fannysstudio-o2l 3 күн бұрын
NNIICCEEE
@JaseCassibo
@JaseCassibo 4 ай бұрын
hi😀
@yorkxz-dog
@yorkxz-dog 3 ай бұрын
pls add zombie eating
@Giga_MRmars-tw2em9
@Giga_MRmars-tw2em9 8 күн бұрын
I didn't succeed :(
@TheDopeHat
@TheDopeHat 4 ай бұрын
14:05 for later
@YourFunnyManXD
@YourFunnyManXD Ай бұрын
28:23 coding to hack in pvz😂😂 (if you didn’t get it you can as many plants as you want in one square if you hack)
@Bryan_Anggoro
@Bryan_Anggoro 2 ай бұрын
7:34
@goomba_wave
@goomba_wave 5 ай бұрын
12:54
@Plushy_shorts
@Plushy_shorts 7 ай бұрын
It doesn’t work
@Wawayep
@Wawayep 13 күн бұрын
6:28
@Nicoliyap
@Nicoliyap 2 ай бұрын
i love your mum hehehehehe
@AlexFlores-lg1qo
@AlexFlores-lg1qo 2 ай бұрын
Your 6 years old lol
@KassondraSteffen
@KassondraSteffen 2 ай бұрын
1110
@Peashooter-v8n
@Peashooter-v8n 4 күн бұрын
Why i can't like your video🥲😭😭
@EKMEKSEVER_MC
@EKMEKSEVER_MC 4 ай бұрын
not working👎
@ElementalV
@ElementalV 7 ай бұрын
First
I Spent 100 Hours Making Plants Vs. Zombies in Scratch...
16:53
За кого болели?😂
00:18
МЯТНАЯ ФАНТА
Рет қаралды 2,8 МЛН
Scratch Isn't Dying. We're Just Growing Old.
15:22
-MBall-
Рет қаралды 14 М.
Plants vs Zombies on Scratch
8:26
T3rr0r
Рет қаралды 758 М.
I Turned Plants Vs Zombies into Minecraft...
21:28
ReniDrag
Рет қаралды 817 М.
Chess Civilization: THE MOVIE
42:30
DSDSD
Рет қаралды 141 М.
The Plants vs Zombies Iceberg Explained
12:39
ShaiiValley
Рет қаралды 2,7 МЛН
Plants Vs. Zombies But All Plants Are Flipped
25:01
Samen
Рет қаралды 632 М.
Chess, But Pieces Have Gravity
15:34
Aliensrock
Рет қаралды 943 М.
I Google Translated Plants VS Zombies 1 MILLION Times...
9:11