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
@@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.
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
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?
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.
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
Why didnt you use the distance to mouse pointer for the grid snapping script, I used this: if distance to mouse pointer < 25 then (the place code) and it works just fine.
@@Lycervdaldwhen i clone pea shooter from pea shooter option why pea stops?,,and when i put the cloned pea shooter on the ground, the pea started walking again, maybe you can help me
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.
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.
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
I had a problem at the 7th minute where when I put the first bean shooter it was still safe, but when I was going to put the second bean shooter suddenly the bean got stuck in the second bean shooter
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
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?
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
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
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.
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?
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
i tried this tutorial but after i added the PrePlant thing all the clones of the pea shooter excluding the PrePlant clone started hiding (without any hide block)
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
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
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
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!
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🙂
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
CHERRY BOMB
Wall-nut and Sunflower
Sun producing and sunflowers
W tutorial but when my pea shooters start shooting when i try to drag my peashooters its a seed can you help?
@@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.
You have such a unique approach to programming that I've never seen before!
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
Mine goes to the hidden peashooter
me too lmao
My peo shot too tp in this coordinates@@thienhainguyenhuy521
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
Please put a screenshot of your entire code at the end of each video
had a problem with the zombies, when the second zombie comes, one zombie gets shorter
or taller, how do i fix this?
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?
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?
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.
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
I'm making it in my tablet and the pea/damage block is not showing
Why didnt you use the distance to mouse pointer for the grid snapping script, I used this:
if distance to mouse pointer < 25 then
(the place code)
and it works just fine.
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.
Check if the variables are for this sprite only
@@Lycervdald Thx
@@Lycervdaldwhen i clone pea shooter from pea shooter option why pea stops?,,and when i put the cloned pea shooter on the ground, the pea started walking again, maybe you can help me
why when i spawn a pea shooter it goes to the first collumn
When i place the first peashooter its fine but when i place the second one it spawns as a pea. How do i fix this?
Great as always! :D
Help me please i have a issue where it doesnt let me place the peashooters and ive tried to fix it 10 times
Fuelvin, you are awesome!
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?
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.
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.
bro tengo problemas cuanto pongo los puntos rojos no se disparsen por los cuadrados
Can you add the sunflower plant, the sun, the sun generator, and the sun cost? you have to do it in part3
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
Hey bro is it not work, I combining pea and peashooter but peashooter shoot himself😢
why isnt it working :(, when i take my peashooter for the second time it becomes the bullet, WHY?
So uhhhh my game had an animation for shooting peas so combining the pea and pea shooter missed up the code
Help please?
same
Same
Make sure checking the clonetype and costume block placement
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
In Part 3, can you add coneheads and bucketheads
I had a problem at the 7th minute where when I put the first bean shooter it was still safe, but when I was going to put the second bean shooter suddenly the bean got stuck in the second bean shooter
and when I put the peashooter on the ground, the peashooter came out with peanuts again
and when I put the second pea shooter on the ground,,, the first pea shooter came out with another pea
This helped me out so much!
While i have a plant selected and i hover over a planted plant, it moves the plant to the exact plant i selected.
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
Another tutorial! yes I've been waiting!
When i am placing plant the peashooters aren't shooting, how can i fix this?
SAME im having the same problem too
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
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
Did you select "For this Sprite only"?
That fixed it for me
@@Idiotic_Fortnitehe fixed it later in the tutorial, thanks for the tip though!
@@Idiotic_Fortnite which variable?
28:16 Thank you SO much for this!
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?
Same Problem
same problem
@@aparnabhanotra9348have you found a solution?
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?
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
Can you add animation?
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
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.
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?
same problem have you found a solution?
help for some reason all my zombies die when one dies
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?
same problem,,Have you found a solution?
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
it does get fixed
@@alejandromaldonado8817 thx
Helps a LOT if your a game dev
This helped a lot. Thanks!
i tried this tutorial but after i added the PrePlant thing all the clones of the pea shooter excluding the PrePlant clone started hiding (without any hide block)
ok i fixed this
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
Had the same problem, double check your variables and rewatch the vid.
This is too op great job I think you must have *100 likes on this Video
You are the best
Bro everyday: cool :D
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
I have tthe same issue
i'm a new subscriber baucause i want you to be the biggest youtuber
😍
my dad loves pvz and thank you for this video
Me get the problem when me do click to pea shot he getting 1000 clones and me can't logic of what this
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?
Thank you ❤❤❤
on chapter 5, whenever the zombie receives the hit message, it will still take damage even if touching a regular peashooter
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???
@@epikistrash true
There is a bug where the pea is shooting not the pea shooter
Can you make a next update of hobo simulator?
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
did you fixed the problem?
Omg im so stupid i was wondering why the bullet has triple damage because i forget to take out the repeat block in the zombie.
Good Job I wish I could code like you!!
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!
The Peashooter doesn’t snap onto the grid 😭
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🙂
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 😊
@@thetwoRascalsmaybe 🤷♂️
the pea shooters keep shooting when i haven't even placed them
good!
wheres part 3??? but take ur time!
Please add sun and plant health next time
7:34
14:05 for later
its 2am when i watched this video
My peashooter spawns the peas at the very bottom and then treat another clone of peashooter as the pea
did not work😥😥😥😥😥😥😥😥😥😥😥😥😥😥
6:28
12:54
awe yeah
hi😀
the (Distance to ___) block must feel very sad that nobody uses it
ummm actually ive use it try explaining how plant detective zombie to my friend
@@SisnistarisGD If you have a stroke, please go to the hospital instead of commenting on youtube
I didn't succeed :(
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)
Make pls sun and sunflower
In parts 3&4
NNIICCEEE
what really makes me mad is the fact you use yes and no and not 0 and 1 or true and false
pls add zombie eating
It doesn’t work
bros making everything in pure magic scam!
i love your mum hehehehehe
Your 6 years old lol
1110
not working👎
wrong code maybe??
First