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

Поділитися
Вставка
  • Опубліковано 27 чер 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!

КОМЕНТАРІ • 150

  • @Luted09
    @Luted09 Рік тому +4

    down below

  • @ShiftClickLearn
    @ShiftClickLearn  Рік тому +15

    Thank you all so much for watching! :D

    • @enzo_6416
      @enzo_6416 Рік тому +1

      Great job

    • @ElmoGorilla
      @ElmoGorilla Рік тому +3

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

  • @CrystalKyryn
    @CrystalKyryn Рік тому +7

    7:20 all the grass is so friendly :)

  • @htthong
    @htthong Рік тому +5

    nice vid! Please do part 10!

  • @notapeanut6687
    @notapeanut6687 Рік тому +3

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

  • @ericeddie8656
    @ericeddie8656 Рік тому +5

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

  • @zararpadiath3612
    @zararpadiath3612 Рік тому +4

    Amazing! Cant wait for the next one ⭐⭐👍

  • @Gabriel-tn1lx
    @Gabriel-tn1lx Рік тому +3

    I cant wait to code this :D

  • @kaancelik5062
    @kaancelik5062 Рік тому +6

    Epic tutorial as always🔥

  • @ContentGaming1
    @ContentGaming1 Рік тому +3

    Great Video

  • @hurnal6198
    @hurnal6198 Рік тому +2

    Lets gooo!

  • @chocolatebar583
    @chocolatebar583 Рік тому +3

    Great tutorial! 😄

  • @hibiirdofficial5100
    @hibiirdofficial5100 Рік тому +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 Рік тому +3

    Nice! :D

  • @acastejongames
    @acastejongames Рік тому +1

    the Best tile game tutorial 😄

  • @lilyfox747
    @lilyfox747 Рік тому +3

    I Just Watched Episode 8 Like 8 Minutes Ago ⏰

  • @DHSBros
    @DHSBros Рік тому +3

    Cool

  • @BallisticLyrics
    @BallisticLyrics Рік тому +2

    sick

  • @Lukex305
    @Lukex305 Рік тому +3

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

    • @ShiftClickLearn
      @ShiftClickLearn  Рік тому +1

      Nice!! xD

    • @Lukex305
      @Lukex305 Рік тому +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)

  • @anasoares6476
    @anasoares6476 Рік тому +2

    AYOOOO I MISSED THIS :C

  • @penguinpenguin3156
    @penguinpenguin3156 Рік тому +2

    Happy day :)

  • @noahcouturier6408
    @noahcouturier6408 Рік тому +1

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

  • @HasanImam144
    @HasanImam144 Рік тому +1

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

    • @HasanImam144
      @HasanImam144 Рік тому +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  Рік тому +1

      Haha thank you so much! :D

    • @HasanImam144
      @HasanImam144 Рік тому

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

  • @F3RR4N333
    @F3RR4N333 Рік тому +3

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

    • @ShiftClickLearn
      @ShiftClickLearn  Рік тому +2

      Yeah, I just like naming them with underscores xD

  • @WeepingAngel98ihbbh
    @WeepingAngel98ihbbh Рік тому +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.

  • @der_leel
    @der_leel Рік тому +2

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

  • @misterdot6923
    @misterdot6923 Рік тому +2

    nice.

  • @Therealbluu
    @Therealbluu Рік тому +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  Рік тому +1

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

  • @TamzidDd
    @TamzidDd Рік тому +1

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

  • @IsaacMiller595
    @IsaacMiller595 Рік тому

    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?

  • @rexcreates6684
    @rexcreates6684 Рік тому +4

    haha particle go brrrrrrrrrrrrrrrrrRRRRRRRRRRRRRRRRR

  • @ZaeNonQ
    @ZaeNonQ Рік тому +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  Рік тому

      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 Рік тому

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

  • @tepestudios2572
    @tepestudios2572 Рік тому

    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

  • @pllykmsp7701
    @pllykmsp7701 Рік тому +1

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

  • @Car_On_Watermelon
    @Car_On_Watermelon Рік тому +3

    can you do wrack a mole pls

  • @Honey_Dreamz
    @Honey_Dreamz Рік тому +2

    Nice tutorial! 🔥 also day 1 of asking for a farm simulator game!

  • @Nikaxe
    @Nikaxe Рік тому +1

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

    • @ShiftClickLearn
      @ShiftClickLearn  Рік тому

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

  • @creepinggmr7521
    @creepinggmr7521 Рік тому +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  Рік тому

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

    • @creepinggmr7521
      @creepinggmr7521 Рік тому

      @@ShiftClickLearnI have copied everything correctly from top to bottom

  • @yorp.
    @yorp. Рік тому +2

    Hello! :D

  • @Lukex305
    @Lukex305 Рік тому +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  Рік тому +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

  • @patjed648
    @patjed648 Рік тому +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  Рік тому +1

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

  • @Maciek-yn8li
    @Maciek-yn8li Рік тому +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 ?

  • @theetechcodingchannel2075
    @theetechcodingchannel2075 Рік тому +2

    Is this the last episode

  • @Negreb25
    @Negreb25 Рік тому +2

    First. Noise

  • @trangluulebao9559
    @trangluulebao9559 Рік тому +1

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

    • @ShiftClickLearn
      @ShiftClickLearn  Рік тому

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

  • @vortexloophole
    @vortexloophole Рік тому +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  Рік тому +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 6 місяців тому

      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 Рік тому

    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

  • @ErizX123
    @ErizX123 Рік тому +2

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

  • @sethplayzminecraft2671
    @sethplayzminecraft2671 Рік тому

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

  • @ayeeizzack9513
    @ayeeizzack9513 Рік тому +2

    how to make it not lag when placing block?

    • @nithinr3712
      @nithinr3712 Рік тому +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  Рік тому

      That should work! :D

  • @HammouaI0I0I0
    @HammouaI0I0I0 Рік тому +1

    New Episode when

  • @olaideadeyemo3704
    @olaideadeyemo3704 Рік тому +1

    please tell us how to copy and paste

    • @ShiftClickLearn
      @ShiftClickLearn  Рік тому

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

  • @RonicTheEgg
    @RonicTheEgg Рік тому +1

    "2nd largest"
    then whats the largest one?

  • @AVeryRandomDude
    @AVeryRandomDude Рік тому +2

    :D

  • @kimberlysandoval680
    @kimberlysandoval680 Рік тому +2

    hi

  • @dhanushpersaud9643
    @dhanushpersaud9643 Рік тому +2

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

    • @ShiftClickLearn
      @ShiftClickLearn  Рік тому

      That would be really really cool!

    • @dhanushpersaud9643
      @dhanushpersaud9643 Рік тому

      wait are u gonna add it

    • @dhanushpersaud9643
      @dhanushpersaud9643 Рік тому

      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

  • @dracokinerek
    @dracokinerek Рік тому +1

    Remember how I rickrolled you last video? Pin it please

  • @Glitch10002
    @Glitch10002 Рік тому +2

    how do i search on scratch mobile?

  • @muhammedusaidsiddiqua2621
    @muhammedusaidsiddiqua2621 Рік тому +1

    PArt 10 pls?

  • @dhanushpersaud9643
    @dhanushpersaud9643 Рік тому

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

  • @QuantumScratcher
    @QuantumScratcher Рік тому +1

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

  • @trangluulebao9559
    @trangluulebao9559 Рік тому

    ok

  • @sohampine7304
    @sohampine7304 Рік тому

    Yooooooooo
    Yoooooooooooooo
    Yoooooooooooooo
    Yoooooooooooo

  • @maxmedina3031
    @maxmedina3031 Рік тому

    mobile only

  • @endermanthony1246
    @endermanthony1246 7 місяців тому

    It doesnt work properly 😭😭😭😡

  • @RonicTheEgg
    @RonicTheEgg Рік тому +1

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

  • @n4e_
    @n4e_ Рік тому

    I'M COMMENTING ON MY OWN VIDEOOOOOOOOO

    • @ShiftClickLearn
      @ShiftClickLearn  Рік тому

      wOwOW *except it's my video*

    • @n4e_
      @n4e_ Рік тому

      @@ShiftClickLearn but i follow steps :(