Scratch Tile Scrolling Game | Block Placing + Particles! (#9)

SdĂ­let
VloĆŸit
  • čas pƙidĂĄn 22. 07. 2024
  • In this Scratch tutorial, I show how to add block placing into the Tile Scrolling game! I also add particles, a lighting vignette effect, and tile dependencies.
    🎹 GET THE GAME'S ART: scratch.mit.edu/projects/6921...
    🔗 LINKS: All Videos In This Series: ‱ Scratch Tile Scrolling...
    Scratch Profile Page: scratch.mit.edu/users/ShiftCl...
    Night Ninja Scrolling Platformer: ‱ Scratch | Scrolling Pl...
    Cat Clicker tutorial: ‱ Scratch | Cat Clicker ...
    Tower Defense tutorial: ‱ Scratch | Making a Tow...
    How-to tutorials: ‱ Scratch | How-To Tutor...
    Get Scratch Addons: scratchaddons.com/
    đŸ§ŸCHAPTERS:
    00:00 - Intro
    00:45 - New Sprites
    01:57 - Darkness Vignette
    04:10 - Tile Dependencies
    10:18 - Particles!
    22:14 - Block Placing
    27:04 - Block Placing Bugs + Fixes
    30:38 - Outro
    ❗ DISCLAIMER:
    This video is family-friendly! Hostile and/or rude comments will not be tolerated!

Komentáƙe • 150

  • @Luted09
    @Luted09 Pƙed rokem +4

    down below

  • @ShiftClickLearn
    @ShiftClickLearn  Pƙed 2 lety +15

    Thank you all so much for watching! :D

    • @enzo_6416
      @enzo_6416 Pƙed 2 lety +1

      Great job

    • @ElmoGorilla
      @ElmoGorilla Pƙed 2 lety +3

      Could you publish the game and give us the link please?

  • @CrystalKyryn
    @CrystalKyryn Pƙed 2 lety +7

    7:20 all the grass is so friendly :)

  • @htthong
    @htthong Pƙed rokem +5

    nice vid! Please do part 10!

  • @notapeanut6687
    @notapeanut6687 Pƙed rokem +3

    Jeez dude your really doing stuff. Cant wait the real game

  • @zararpadiath3612
    @zararpadiath3612 Pƙed rokem +4

    Amazing! Cant wait for the next one ⭐⭐👍

  • @Gabriel-tn1lx
    @Gabriel-tn1lx Pƙed 2 lety +3

    I cant wait to code this :D

  • @kaancelik5062
    @kaancelik5062 Pƙed 2 lety +6

    Epic tutorial as alwaysđŸ”„

  • @ericeddie8656
    @ericeddie8656 Pƙed 2 lety +5

    Looks good - can’t wait to get into it!

  • @ContentGaming1
    @ContentGaming1 Pƙed 2 lety +3

    Great Video

  • @chocolatebar583
    @chocolatebar583 Pƙed 2 lety +3

    Great tutorial! 😄

  • @acastejongames
    @acastejongames Pƙed rokem +1

    the Best tile game tutorial 😄

  • @hibiirdofficial5100
    @hibiirdofficial5100 Pƙed rokem +3

    I was able to add a "flowwater" block that allowed special blocks to preform actions. Such as: water and other liquids flow down, and a "sapling" block spawns a tree.

  • @animationsbelike
    @animationsbelike Pƙed rokem +3

    Nice! :D

  • @hurnal6198
    @hurnal6198 Pƙed 2 lety +2

    Lets gooo!

  • @lilyfox747
    @lilyfox747 Pƙed 2 lety +3

    I Just Watched Episode 8 Like 8 Minutes Ago ⏰

  • @IsaacMiller595
    @IsaacMiller595 Pƙed rokem

    I'm struggling with something, I follow this down to the bone and yet when I break the grass below some tall grass it drops gold. Do you know how to fix this?

  • @HasanImam144
    @HasanImam144 Pƙed rokem +1

    I cannot believe that there is little griffpatch here! Anyways, ShiftClickLearn you are an epic scratcher!!

    • @HasanImam144
      @HasanImam144 Pƙed rokem +1

      and by little griffpatch i mean you! Keep it up! (I didn't know what to say next so i said the most common bangladeshi comments)

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed rokem +1

      Haha thank you so much! :D

    • @HasanImam144
      @HasanImam144 Pƙed rokem

      @@ShiftClickLearn You are such an amazing Scratcher just like Griffpatch!

  • @DHSBros
    @DHSBros Pƙed 2 lety +3

    Cool

  • @WeepingAngel98ihbbh
    @WeepingAngel98ihbbh Pƙed rokem +1

    For the particles that spawn at the player's feet, I put and if InAir = 0 around the custom block so the particles don't appear when I turn In the air.

  • @tepestudios2572
    @tepestudios2572 Pƙed rokem

    Pls help me SCL I have a problem again
    What it supposed to happen: 22:04
    It works but the break particle for some reason tilted to the right 45 degrees

  • @Lukex305
    @Lukex305 Pƙed rokem +3

    I made so much new stuff before you made this video and i forgot how your original looks like. LOL

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed rokem +1

      Nice!! xD

    • @Lukex305
      @Lukex305 Pƙed rokem +1

      @@ShiftClickLearn I learned from you more then from griffpatch (sorry griffpatch).
      Btw things i added that you don't have are:
      Main Menu
      Settings - set music volume
      Crafting pickaxes with materials ( Wood pick = 3 wood and 5 long grass,Stone pick = 1 wood and 2 stone...) I deleted it later couse it was buggy and i couldn't fix it.
      I will try again :)
      Health bar - Lose hp when hunger bar is 0
      Hunger bar - Lose over time
      Health bar and Hunger bar i coded so it does exatly (spelling worse than you spelling paarttikclie XD) like in minecraft (ex. Ig you have 18+ hunger points you regenerate health,0 hunger lose half a heart every 4 sec,3 or less you walk slower...)
      Costimize inventory look
      Changed some stuff like (43 spacing slots to 28 spacing slots,with letters set to letterX to letterX-8,
      Made Letters 4 times bigger but set size to 50%...)
      REALLY LOOOOOOOONG COMMENT. (Sorry)

  • @noahcouturier6408
    @noahcouturier6408 Pƙed rokem +1

    so what time are you going to make the tutorial on making the lighting engine for the Torches?

  • @F3RR4N333
    @F3RR4N333 Pƙed 2 lety +3

    Scratch Addons have an option to differentiate for this sprite only variables, so you don't need to use underscores.

  • @BallisticLyrics
    @BallisticLyrics Pƙed rokem +2

    sick

  • @der_leel
    @der_leel Pƙed 2 lety +2

    Particle is the new hardest word in the world
    speaking ability 11/10

  • @anasoares6476
    @anasoares6476 Pƙed rokem +2

    AYOOOO I MISSED THIS :C

  • @penguinpenguin3156
    @penguinpenguin3156 Pƙed 2 lety +2

    Happy day :)

  • @misterdot6923
    @misterdot6923 Pƙed 2 lety +2

    nice.

  • @Nikaxe
    @Nikaxe Pƙed rokem +1

    when you go out of bounds on the left side of the grid it repeats.

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed rokem

      Yup, that's why you need to limit the camera to the bounds of the level! :D

  • @Therealbluu
    @Therealbluu Pƙed 2 lety +2

    29:09 - 29:55 IS SO TRUE i always make games and the code never works!!! usually i give up bc i tried everything

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed rokem +1

      Yup, game development takes a lot of time and patience..

  • @TamzidDd
    @TamzidDd Pƙed rokem +1

    When will episode 10 come out, I’m so hyped

  • @patjed648
    @patjed648 Pƙed rokem +2

    I have unfortunately been having trouble getting this to work I have no idea what I did wrong, I’ve been working on it for a few hours now, and I cannot even get the item delete system working. Are there any tips that anyone thinks could make this easier? Please reply tnx.

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed rokem +1

      Hey, you could try to look at the final code of the project here: scratch.mit.edu/projects/685142261/

  • @vortexloophole
    @vortexloophole Pƙed rokem +1

    I’m confused - When I place a tile instead of removing a tile it gives a block of the next slot up (and giving a ? tile if the next one is empty)
    Pls help I am horrible at fixing bugs and I don’t want to have to go though the entire video again to find one spot where I messed up

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed rokem +2

      Hey, sorry you'll have to go through your code and compare it to my code. That's part of game dev: bug fixing. Lots and lots and lots of bug fixing. Maybe try looking at the final code here: scratch.mit.edu/projects/685142261/
      Hope this helps a little.

    • @MrBreast-gc4zi
      @MrBreast-gc4zi Pƙed 7 měsĂ­ci

      i think its better if u atleast understand what he says
      cuz i do and that way i know where i might have made some mistakes and fix them

  • @tepestudios2572
    @tepestudios2572 Pƙed rokem

    Pls help me SCL I have a problem.
    What is supposed to happen: 18:44
    What is happening:
    It works but the break particle isn't falling

  • @sethplayzminecraft2671
    @sethplayzminecraft2671 Pƙed rokem

    I have a problem, the "RemoveItemFromInventory" block only works for my first slot, pls help!

  • @Lukex305
    @Lukex305 Pƙed rokem +1

    Can you pwease help me xD
    I'm doing like a thing so you can buy pickaxes with materials in the inventory like
    Wood pick = 3 wood and 5 long grass
    ...
    When you buy it but u don't have enough materials you can't buy it but if you have all the materials you can buy and that works fine but the problem hwo i have is when you buy it you need to lose materials like for wood pick when you buy it you need to lose those materials for it.
    Like if you have:
    Ex.
    8 wood 5 grass
    And you buy a wooden pick
    You need to lose 3 wood and 5 grass
    And in the inventory it needs to have 5 wood and 0 grass.
    Can you please help me with that? 😱

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed rokem +1

      You'd need to use the remove item message and remove the amount of a certain item id from the inventory.
      Example:
      1. You craft a torch that takes 2 wood and 1 coal.
      2. Make sure you have enough materials to make the torch.
      3. Set the variable remove item id to the id of wood, then use the remove item id broadcast twice to remove the wood.
      4. Set the variable remove item id to the id of coal, then use the remove item id broadcast to remove the coal.
      I hope this helps you out! :D

  • @trangluulebao9559
    @trangluulebao9559 Pƙed rokem +1

    Where is the game link of this episode, I can't do it

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed rokem

      Here's the link to the game: scratch.mit.edu/projects/685142261/

  • @creepinggmr7521
    @creepinggmr7521 Pƙed rokem +2

    Great tutorial series but I have a bug with the block placing. when space key pressed the block doesn't place and the item is still in the inventory :(. (already finished Block Placing Bugs + Fixes but still have the bug)

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed rokem

      Hmm, it's hard to know the issue without seeing your code, but are you sure you copied everything correctly?

    • @creepinggmr7521
      @creepinggmr7521 Pƙed rokem

      @@ShiftClickLearnI have copied everything correctly from top to bottom

  • @ZaeNonQ
    @ZaeNonQ Pƙed 2 lety +1

    How can i get you to review my games and stuff? Also great tutorial ,tho i don't follow is but very good

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed rokem

      I mean you could tell me the name of the game you made, but that doesn't mean I'll make a video about it! Right now, I'm not making that many community videos... so I hope you can understand. :D

    • @ZaeNonQ
      @ZaeNonQ Pƙed rokem

      @@ShiftClickLearn Yeah i can,i also dont update it much as im to lazy,i just wanted you to give feedbacks and stuff :D

  • @ayeeizzack9513
    @ayeeizzack9513 Pƙed rokem +2

    how to make it not lag when placing block?

    • @nithinr3712
      @nithinr3712 Pƙed rokem +1

      In "Selector" sprite go to PlaceTile: ItemID: block. The last block in the script = instead of doing "broadcast Refresh Tiles and wait" do "Broadcast Refresh tiles" only.

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed rokem

      That should work! :D

  • @pllykmsp7701
    @pllykmsp7701 Pƙed rokem +1

    Hows The Next Episode Like?
    Like. Does it introduce A Seller?

  • @rexcreates6684
    @rexcreates6684 Pƙed 2 lety +4

    haha particle go brrrrrrrrrrrrrrrrrRRRRRRRRRRRRRRRRR

  • @Honey_Dreamz
    @Honey_Dreamz Pƙed rokem +2

    Nice tutorial! đŸ”„ also day 1 of asking for a farm simulator game!

  • @yorp.
    @yorp. Pƙed 2 lety +2

    Hello! :D

  • @olaideadeyemo3704
    @olaideadeyemo3704 Pƙed rokem +1

    please tell us how to copy and paste

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed rokem

      Right click and select "copy", then right click and select, "paste". Or just do ctrl c then ctrl v.

  • @ErizX123
    @ErizX123 Pƙed rokem +2

    There's a bug! If you mine something then keep walking away from it it follows you!

  • @Maciek-yn8li
    @Maciek-yn8li Pƙed rokem +3

    Can you make a video about my puzzle game? It's called Slime Box 1.0 the community series is dead :(. Can you bring it back ?

  • @RonicTheEgg
    @RonicTheEgg Pƙed rokem +1

    "2nd largest"
    then whats the largest one?

  • @Glitch10002
    @Glitch10002 Pƙed rokem +2

    how do i search on scratch mobile?

  • @theetechcodingchannel2075
    @theetechcodingchannel2075 Pƙed rokem +2

    Is this the last episode

  • @Car_On_Watermelon
    @Car_On_Watermelon Pƙed 2 lety +3

    can you do wrack a mole pls

  • @HammouaI0I0I0
    @HammouaI0I0I0 Pƙed rokem +1

    New Episode when

  • @dhanushpersaud9643
    @dhanushpersaud9643 Pƙed rokem +2

    can u add another biome and after showng us how to code it we will know how to add more biomes

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed rokem

      That would be really really cool!

    • @dhanushpersaud9643
      @dhanushpersaud9643 Pƙed rokem

      wait are u gonna add it

    • @dhanushpersaud9643
      @dhanushpersaud9643 Pƙed rokem

      also 1 more thing if trees spawn as structures a chance for a order of blocks to spawn that means we can make structures and biomes like that

  • @Negreb25
    @Negreb25 Pƙed 2 lety +2

    First. Noise

  • @dhanushpersaud9643
    @dhanushpersaud9643 Pƙed rokem

    reply if u changed the texture to make it ure own but still gave him credit for the code

  • @AVeryRandomDude
    @AVeryRandomDude Pƙed 2 lety +2

    :D

  • @QuantumScratcher
    @QuantumScratcher Pƙed rokem +1

    there are chapters but they are made useless by the lack of a seek preview (prob bc this video is so new)

  • @muhammedusaidsiddiqua2621
    @muhammedusaidsiddiqua2621 Pƙed rokem +1

    PArt 10 pls?

  • @kimberlysandoval680
    @kimberlysandoval680 Pƙed 2 lety +2

    hi

  • @endermanthony1246
    @endermanthony1246 Pƙed 8 měsĂ­ci

    It doesnt work properly 😭😭😭😡

  • @dracokinerek
    @dracokinerek Pƙed 2 lety +1

    Remember how I rickrolled you last video? Pin it please

  • @sohampine7304
    @sohampine7304 Pƙed 2 lety

    Yooooooooo
    Yoooooooooooooo
    Yoooooooooooooo
    Yoooooooooooo

  • @trangluulebao9559
    @trangluulebao9559 Pƙed rokem

    ok

  • @RonicTheEgg
    @RonicTheEgg Pƙed rokem +1

    I got banned on scratch for saying "abomination" 😐
    SCL did you fail your English exam
    *again*

  • @firstofthesame150
    @firstofthesame150 Pƙed rokem

    mobile only

  • @n4e_
    @n4e_ Pƙed rokem

    I'M COMMENTING ON MY OWN VIDEOOOOOOOOO

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed rokem

      wOwOW *except it's my video*

    • @n4e_
      @n4e_ Pƙed rokem

      @@ShiftClickLearn but i follow steps :(