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

Sdílet
Vložit
  • čas přidán 22. 08. 2024

Komentáře • 77

  • @Fuelvin
    @Fuelvin  Před 4 měsíci +10

    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 Před 4 měsíci

      CHERRY BOMB

    • @Kaius333
      @Kaius333 Před 4 měsíci +2

      Wall-nut and Sunflower

    • @MrSharkOfficial
      @MrSharkOfficial Před 3 měsíci

      Sun producing and sunflowers

    • @user-qu2ii9gc7q
      @user-qu2ii9gc7q Před 3 měsíci

      CHERRY 🍒💣

    • @khangabang4105
      @khangabang4105 Před 2 měsíci

      W tutorial but when my pea shooters start shooting when i try to drag my peashooters its a seed can you help?

  • @Orsonster
    @Orsonster Před 4 měsíci +5

    You have such a unique approach to programming that I've never seen before!

  • @mickeymouseplays13
    @mickeymouseplays13 Před 4 měsíci +5

    Now can you add sun now

  • @thienhainguyenhuy521
    @thienhainguyenhuy521 Před 4 měsíci +2

    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

  • @MattAndPock-uk7tz
    @MattAndPock-uk7tz Před 4 měsíci +2

    In Part 3, can you add coneheads and bucketheads

  • @worldballfilms8271
    @worldballfilms8271 Před 2 měsíci +1

    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?

  • @glade2216
    @glade2216 Před 4 měsíci +2

    Great as always! :D

  • @Beerusa
    @Beerusa Před měsícem

    This is too op great job I think you must have *100 likes on this Video

  • @yoguysitsdrak
    @yoguysitsdrak Před 3 měsíci +1

    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 Před 2 měsíci

      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.

  • @THUNDER__PLAYZ13
    @THUNDER__PLAYZ13 Před 4 měsíci +1

    You are the best

  • @PhongThanh-gz5zk
    @PhongThanh-gz5zk Před 2 měsíci

    i'm a new subscriber baucause i want you to be the biggest youtuber
    😍

  • @DrBoneJones
    @DrBoneJones Před 4 měsíci

    Another tutorial! yes I've been waiting!

  • @babyjace4512
    @babyjace4512 Před 3 měsíci

    Helps a LOT if your a game dev

  • @user-cu1eg8tx2q
    @user-cu1eg8tx2q Před 2 měsíci

    my dad loves pvz and thank you for this video

  • @coder_sai
    @coder_sai Před 4 měsíci +1

    Can you add the sunflower plant, the sun, the sun generator, and the sun cost? you have to do it in part3

  • @gikyo
    @gikyo Před 4 měsíci

    Fuelvin, you are awesome!

  • @videosofYAY
    @videosofYAY Před 13 dny

    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!

  • @ameero9146
    @ameero9146 Před 2 měsíci

    This helped a lot. Thanks!

  • @mickeymouseplays13
    @mickeymouseplays13 Před 4 měsíci +1

    Can I donate to you you did so good with your stuff

  • @HorrorBuddies381
    @HorrorBuddies381 Před 4 měsíci +1

    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 Před 4 měsíci +1

      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  Před 4 měsíci +2

      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.

  • @jojits2103
    @jojits2103 Před 4 měsíci

    This helped me out so much!

  • @Zipper122
    @Zipper122 Před měsícem

    My peashooter spawns the peas at the very bottom and then treat another clone of peashooter as the pea

  • @eulalioignacio7081
    @eulalioignacio7081 Před 11 dny

    had a problem with the zombies, when the second zombie comes, one zombie gets shorter
    or taller, how do i fix this?

  • @Lightningaplesock
    @Lightningaplesock Před 4 měsíci +1

    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 Před 3 měsíci

      Had the same problem, double check your variables and rewatch the vid.

  • @larrycao4458
    @larrycao4458 Před 2 měsíci

    the pea shooters keep shooting when i haven't even placed them

  • @scratchwithboboiguess
    @scratchwithboboiguess Před 3 měsíci

    Bro everyday: cool :D

  • @yassin-animation
    @yassin-animation Před 3 měsíci +1

    So uhhhh my game had an animation for shooting peas so combining the pea and pea shooter missed up the code
    Help please?

  • @semvermeulen7039
    @semvermeulen7039 Před 4 měsíci +1

    Please add sun and plant health next time

  • @traimitnguyen
    @traimitnguyen Před 3 měsíci

    Thank you ❤❤❤

  • @Axolot800
    @Axolot800 Před 2 měsíci

    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?

  • @Wacker-du9rd
    @Wacker-du9rd Před 4 měsíci

    wheres part 3??? but take ur time!

  • @Zipper122
    @Zipper122 Před měsícem

    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?

  • @RekkordWH
    @RekkordWH Před 3 měsíci

    why isnt it working :(, when i take my peashooter for the second time it becomes the bullet, WHY?

  • @sohumbrahmbhatt
    @sohumbrahmbhatt Před 4 měsíci

    Good Job I wish I could code like you!!

  • @henrystickmin8812
    @henrystickmin8812 Před 3 měsíci

    the (Distance to ___) block must feel very sad that nobody uses it

  • @SouthDragonFood
    @SouthDragonFood Před 4 měsíci

    its 2am when i watched this video

  • @SquidoWuido
    @SquidoWuido Před 3 měsíci

    The Peashooter doesn’t snap onto the grid 😭

  • @whizardfurcorn
    @whizardfurcorn Před 3 měsíci

    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 Před 4 měsíci

    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

  • @heatherboofer9641
    @heatherboofer9641 Před 2 měsíci

    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?

    • @Zipper122
      @Zipper122 Před měsícem

      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

  • @weichaozhang2555
    @weichaozhang2555 Před 4 měsíci

    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

    • @Zipper122
      @Zipper122 Před měsícem

      I have tthe same issue

  • @DaBoxGuy
    @DaBoxGuy Před měsícem

    14:05 for later

  • @avgprogamer
    @avgprogamer Před 2 měsíci

    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 Před měsícem

      Did you select "For this Sprite only"?
      That fixed it for me

    • @avgprogamer
      @avgprogamer Před měsícem

      @@Idiotic_Fortnitehe fixed it later in the tutorial, thanks for the tip though!

  • @yayadaou3351
    @yayadaou3351 Před 4 měsíci

    good!

  • @user-fb6xc6zv4o
    @user-fb6xc6zv4o Před měsícem

    hi😀

  • @The_Real_Block5
    @The_Real_Block5 Před 4 měsíci

    Can you make a next update of hobo simulator?

  • @yorkxz-dog
    @yorkxz-dog Před 29 dny

    pls add zombie eating

  • @mickeymouseplays13
    @mickeymouseplays13 Před 4 měsíci

    Of much parts are their

  • @anhtuhoang9058
    @anhtuhoang9058 Před 4 měsíci

    awe yeah

  • @user-df6jm7on9y
    @user-df6jm7on9y Před 4 měsíci

    Make pls sun and sunflower

  • @n0_one-mc5to
    @n0_one-mc5to Před 4 měsíci

    Can you add animation?

  • @Hamoody15
    @Hamoody15 Před 4 měsíci

    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 Před 4 měsíci

      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 Před 4 měsíci

      @@thetwoRascalsmaybe 🤷‍♂️

  • @RobloxSpeedruner-mj9zx
    @RobloxSpeedruner-mj9zx Před 3 měsíci

    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

  • @user-pi3re2bj4v
    @user-pi3re2bj4v Před 2 měsíci

    12:54

  • @Plushy_shorts
    @Plushy_shorts Před 4 měsíci +1

    It doesn’t work

  • @I_AM_SURGE
    @I_AM_SURGE Před 29 dny

    not working👎

  • @ElementalV
    @ElementalV Před 4 měsíci

    First