How To Make a Scratch Tile Game | Finale! (#12)

Sdílet
Vložit
  • čas přidán 22. 07. 2024
  • Welcome to the final episode in the Tile Game series! Today, I show how to complete the shop system, fix some bugs, and finish the game.
    🎮 PLAY THE TILE GAME: scratch.mit.edu/projects/6851...
    🔗 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:37 - Shop Item List
    05:46 - Shop Button Setup
    06:45 - Shop Scrolling
    09:57 - Buying Stuff From Shop
    21:53 - Patching Dupe Glitch
    25:25 - Light Blocks
    30:20 - Climbable Blocks
    35:33 - Fixing Shopkeeper Showing While Loading
    37:28 - Performance Helper
    37:44 - Selling Items
    40:21 - Outro
    ❗ DISCLAIMER:
    This video is family-friendly! Hostile and/or rude comments will not be tolerated!

Komentáře • 129

  • @ShiftClickLearn
    @ShiftClickLearn  Před rokem +8

    Thank you all so much for watching the final episode in the Tile Game seires!! :D
    ⛏ Check the game out here: scratch.mit.edu/projects/685142261/

    • @ericeddie8656
      @ericeddie8656 Před rokem +1

      You're welcome!

    • @CrystalKyryn
      @CrystalKyryn Před rokem

      its how shift speels, heis the beest speelier in the wrild.

    • @kuolettavahiiri
      @kuolettavahiiri Před rokem

      And i know i am annoying but how do you make the picture when People search an there is the photo before you go in the game?

    • @kuolettavahiiri
      @kuolettavahiiri Před rokem

      I dont know how to explain

    • @ericeddie8656
      @ericeddie8656 Před rokem

      @@kuolettavahiiri the thumbnail?

  • @Pixelmen426
    @Pixelmen426 Před rokem +3

    This was I SICKK series!

  • @anasoares6476
    @anasoares6476 Před rokem +3

    YAAAAAY

  • @woutervanduin7415
    @woutervanduin7415 Před rokem +3

    The finale!

  • @ericeddie8656
    @ericeddie8656 Před rokem +5

    Yes, it’s finally done! I don’t know what to say! Thank you so so much! 🎉

  • @CrystalKyryn
    @CrystalKyryn Před rokem +5

    i messed up with the layering but it ended up looking cool when you buy an item because in the shop there is a bunch of dark glowy stuff and as you click the item goes behind the glowy stuff and then infront again, making it more obvious you got that item

  • @CrystalKyryn
    @CrystalKyryn Před rokem +5

    things i changed in the making of my one.
    - i changed where the ores spawn, and their sizes
    - addinge more ores such as topaz, sapphire, ruby.
    - adding a set size to 999999 at the top of the selectors Tick:PositionTiles then under the change y by, you set it back to normal (just makes the selector able to go off screen more)
    - adding more pickaxes for the new ores.
    - making the background transition more slow, so it fits in better (i did repeat 50 for both the loops in the switch background message)
    - i added more ores so i added more tile drops.
    - i made the background and backdrops both get darker using the GlobalSpriteBrightness block.
    these changes should be easy to add to your game if you want and also try to not do what shift did, where he allowed an item (ladders) to sell for more than it cost, (you could dupe money(i got the spoon in around 10 mins just from one leaf... and a bit of duping))

    • @ShiftClickLearn
      @ShiftClickLearn  Před rokem

      Ooh, nice additions! Also, thanks for pointing out the ladder bug. I got a bunch of comments telling me that you could dupe money with the ladders, so I fixed that issue. Thankfully people noticed that problem bc I didn't lol.

  • @Iminsanealr
    @Iminsanealr Před rokem +2

    Tysm! I’ve been waiting for this my whole life!

  • @Wallee580
    @Wallee580 Před rokem +3

    I was just "scratching" for some Scratch content xD

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

    you should revamp this series and add a day/night cycle and a quota you have to make each week

  • @prodannau
    @prodannau Před rokem +2

    Thank you so much bro!! this is very useful

  • @Silver-li7fw
    @Silver-li7fw Před rokem +1

    My Silver Ore has no Texture when i place it Please Help !

  • @xBZZZZyt
    @xBZZZZyt Před rokem

    01:48 why add BuyLock as input if it's always true?

  • @goebro2
    @goebro2 Před rokem

    Is there a way to make it multiplayer?

  • @_apehuman
    @_apehuman Před rokem

    I used you tile engine to make a top down survival game
    Can't figure out how to add a working inventory

  • @wallwraf
    @wallwraf Před rokem +2

    i just realised that the player and shopkeeper are red and green with blue overalls

  • @TamzidDd
    @TamzidDd Před rokem +2

    amazing tutorial, good stuff shift

  • @shahinma221
    @shahinma221 Před rokem +2

    hello
    just here to inform you that i won't be on this channel much
    life stuff
    sry..hope u reach 100k one day :)

  • @kuolettavahiiri
    @kuolettavahiiri Před rokem

    How do you do the thumbnail

  • @AVeryRandomDude
    @AVeryRandomDude Před rokem +2

    I was at school but... this is awesome!!

  • @teletimespace8961
    @teletimespace8961 Před rokem +3

    This is very cool

  • @sohampine7304
    @sohampine7304 Před rokem +2

    Can you make a history or geography game btw great video and series

    • @ShiftClickLearn
      @ShiftClickLearn  Před rokem

      Thanks. What do you mean history or geography game? Like a quiz or something?

    • @Demid_scratch
      @Demid_scratch Před rokem

      @@ShiftClickLearn something like a very interesting game related to geography for people to play and pump the brain

  • @austinmanhero1
    @austinmanhero1 Před rokem +1

    Please tell me how to make sprites run away from mouse pointer or other sprite

    • @ShiftClickLearn
      @ShiftClickLearn  Před rokem +1

      You could try this:
      forever {
      point towards mouse pointer
      move -1 steps
      }
      Hope this helps. :)

    • @austinmanhero1
      @austinmanhero1 Před rokem

      @@ShiftClickLearn thanks, but I'm trying to make an ecosystem game when the prey runs away from the predator if it gets close but the predator can still catch up, that would actually be a good video idea. You should make a tutorial on ecosystem games!

  • @Lukex305
    @Lukex305 Před rokem +2

    I made so you start with the fist.
    Then you can buy wooden pick but it dosen't equip it. Can you please help me?

    • @ShiftClickLearn
      @ShiftClickLearn  Před rokem

      It's really hard to know what's going on without seeing your code. Does the equipping work for the other items? Does the pickaxe just not show up? I'd start by checking the item meta to make sure ids are set correctly. I hope this helps. :D

    • @Lukex305
      @Lukex305 Před rokem +1

      @@ShiftClickLearn Fist is just blank costume.
      With the ID of 20.

    • @thepackdevil422
      @thepackdevil422 Před rokem

      @@Lukex305 try if the wooden pickaxe works? If it does not work you probably did something wrong(restart the whole series hehe) if does work its cause it a blank costume i think or the animation just does not like blank costumes. While i was reading this
      I realised how would you know if it equipped it blank costume lol

  • @kimberlysandoval680
    @kimberlysandoval680 Před rokem

    Why have you not been uploading since?

  • @glitchesdun3338
    @glitchesdun3338 Před rokem

    Can you play milym adventure on scratch?

  • @negararia5398
    @negararia5398 Před 16 dny

    how to place item in your game?

  • @EtechMC
    @EtechMC Před rokem +1

    Selll items O_O
    Also how do you scroll though the block inputs in the editor? I can’t figure out how to do it

  • @CrystalKyryn
    @CrystalKyryn Před rokem +1

    the shop scrolling for me isnt working, probably because its wednesday, ya know it doesnt want to work today.
    i have no idea wha i messed up. 0 clue

    • @CrystalKyryn
      @CrystalKyryn Před rokem

      once again im dumb and decided in the last video to SET the variables in the loopitem custom block. everything is working now

    • @CrystalKyryn
      @CrystalKyryn Před rokem +1

      tbh im kinda paranoid that im gonna come across a single variable somewhere that is supposed to be the other option of "for this sprite only" or "for all sprites".
      i probably already have done that kinda mistake

    • @ShiftClickLearn
      @ShiftClickLearn  Před rokem +2

      I'm glad you figured it out! :D It can be really easy to accidentally make variable the wrong thing for sure- if it helps, there's an addon in Scratch Addons that will categorize variables into "for this sprite only" or "for all sprites". :)

  • @rickhodge6482
    @rickhodge6482 Před rokem

    I have played this game

  • @GBeb
    @GBeb Před rokem

    Not save ?

  • @Jaguar9diego
    @Jaguar9diego Před rokem +1

    Hi! I wanted to ask you if you still have your discord server? I really want to join.

  • @stellarblx_
    @stellarblx_ Před rokem

    can you make an platformer obby made to make ppl rage like a troll obby?

  • @gamingmachine6042
    @gamingmachine6042 Před rokem +1

    make a save system and pls make an ep 13 with it i mean ik this is finale but still it could bee like extras

    • @thepackdevil422
      @thepackdevil422 Před rokem +1

      Yeah i want a save system too btw you can kinda save how? Like this show the tile grid list then right click you should see
      Somethings but the main is Export and import just export it and save it somewhere then when you start the it is different but you
      Show tile grid list again and import the thing you exported(the save) then you should see what you builded in the save but the shop guy might be under ground you might be underground too btw do not import on the new spawn platform move somewhere else then
      Import cause you cant mine spawn platform but atleast you get what you build. This was way longer than i expected

    • @ShiftClickLearn
      @ShiftClickLearn  Před rokem

      That'd be cool (and very complex)!

  • @CrystalKyryn
    @CrystalKyryn Před rokem +1

    i'm working on making a shoot em up game using the algorithms i have learnt from you shift. im using the sin stuff and the smOOthing Algorithm but i have a problem and its kinda wierd and annoying, when i die i put a set size to 0% and when i start the game up its still 100% even though there is no code that does that. i have a when flag clicked set player lives to 5, set ghost effect to 100, set size to 0% and hide, i have the same code in a when i receive player died. and for the main brainz of the lives i switch the costume to 5 (5 lives), i again set the player lives to 5 (because sometimes its inconsistant and wierddd), wait 1 sec, show, repeat 100 (change ghost effect by -1, change size by ((100 - size)/6)), forever(switch costume to player lives + 1 (its also kinda wierd and i have to do that +) if player lives < 1 then(broadcast player died, stop this script))
    that was probably impossible to follow so i will try to type it in a more scratchy form
    when flag clicked - - - - - - - -
    Set (playerLives) to 5 |
    Set Ghost effect to 100 |
    set size to 0% | = = = they are the same
    |
    when i receive PlayerDied - - - - - -
    Set (playerLives) to 5
    Set Ghost effect to 100
    set size to 0%
    When i Receive (StartGame)
    Switch Costume to (5)
    Set (playerLives) to 5
    wait (1) second
    show
    Repeat 100:
    change ghost effect by -1
    change size by (( 100 - Size ) / 6 )
    Forever:
    Switch Costume to playerLives + 1
    if playerLives < 1 then
    Broadcast PlayerDied
    Stop this script
    so yeah in short the lives are supposed to do the smoothing algorithm but they dont the second time, the 1st time when you click the flag it works, but when you die and it sends you to the title screen and you press play it doesnt do the size algorithm thingy it just fades in (ghost effect).
    Dang i wrote half an essay in a youtube comment lol

    • @ShiftClickLearn
      @ShiftClickLearn  Před rokem +1

      Thanks for explaining your game's issues!
      Maybe try changing the broadcast to a broadcast and wait. It looks like the smoothing stuff runs on the when I receive StartGame which stops the script if the health reaches 0. So it could mean that if you restart through the title screen, it won't broadcast the StartGame again which does the smoothing stuff (idk that's my best guess).
      I hope any of this helps. :D

    • @CrystalKyryn
      @CrystalKyryn Před rokem

      @@ShiftClickLearn that didnt fix it, but im so dumb (for the 543683956th time) why did i not think about setting the size to zero before the smoothing algorithm stuff. anyway i fixed it :)

    • @CrystalKyryn
      @CrystalKyryn Před rokem

      the cool thing about using the smoothing algorithm on the player is that you cant (if your on mobile) just click anywhere and go through like 268 bullets at a time, you smoothly move to the mouse x so you'll take all the hit

  • @tuano5144
    @tuano5144 Před rokem +2

    Hi bro 🙃

  • @TamzidDd
    @TamzidDd Před rokem +1

    Yo shift I got a question, is it possible to make doors and chests, if one is possible can u explain how to do it, I need it for my sequel of my Minecraft game, thanks :)

    • @ShiftClickLearn
      @ShiftClickLearn  Před rokem

      Hey, good tutorial idea! I'm sure it's possible with enough time and effort put into it. :D

    • @MrBreast-gc4zi
      @MrBreast-gc4zi Před 7 měsíci

      if 3D is possible
      then that should be possible too

  • @thepackdevil422
    @thepackdevil422 Před rokem +2

    Before 1000 views yayayyayaayyayayyaa and before 50 comments yayyayayyayayyayayyaya

  • @vozifyvr
    @vozifyvr Před rokem

    Heya! Do you know how to make it where you can teleport back to the spawn? I added a health bar so when you die, it clears your inventory and (should) teleport you back to the spawn but it's not working... Can you maybe tell me the code for it?

    • @vozifyvr
      @vozifyvr Před rokem

      Resolved! Just had to use a when I recieve "DEATH" set _x to _playerSpawnX, and set _y to playerSpawnY! This works! (after 3 days...😔)

    • @vozifyvr
      @vozifyvr Před rokem

      PS. I used Griffpatch's health bar tutorial to make the health bar (for anyone wondering...)

    • @ShiftClickLearn
      @ShiftClickLearn  Před rokem

      Glad you figured it out. :D

  • @hossambarakat
    @hossambarakat Před rokem +1

    Can you make a video how to make a Diamond Pickaxe And Diamond ore

    • @ShiftClickLearn
      @ShiftClickLearn  Před rokem

      I would do it the same way I did for all the other picks/ blocks. :D

    • @hossambarakat
      @hossambarakat Před rokem

      @@ShiftClickLearn but i do not understand the item meta so can you make a video about it please?

  • @thepackdevil422
    @thepackdevil422 Před rokem +2

    I so dumb in the shop scrolling part when i pressed up it did not work i was trying to find what was the problem for a 6 hours
    The i realised to scroll you use the middle mouse ahhhhhhhhhhhhhhhhhhhhhhhh i have no knowledge hahahahah
    By the way i finished the game 2 days ago dont ask why i did not say this 2 days ago

    • @ShiftClickLearn
      @ShiftClickLearn  Před rokem

      I'm glad you figured out the issue!! That sounds like something I would do lol.

  • @austinmanhero1
    @austinmanhero1 Před rokem +1

    Shiftclicklearn, can you make a tutorial on how to do a platformer shooter like madness combat?

  • @yellowlightning4417
    @yellowlightning4417 Před rokem +1

    Hey! You can show me "How to make 3D ped game" ? 😃😃

  • @misterdot6923
    @misterdot6923 Před rokem +2

    hi

  • @voidergd5445
    @voidergd5445 Před rokem +3

    WWOOOOOWWW I'M COMMENTING ON MY OWN VIDEOOOOOOO

  • @CrystalKyryn
    @CrystalKyryn Před rokem +2

    im early yey 9th leik

    • @CrystalKyryn
      @CrystalKyryn Před rokem +2

      i'm gonna make my game's light system really dark so i almost force the players to buy torches, because you could easily play the game without needing torches.

    • @ShiftClickLearn
      @ShiftClickLearn  Před rokem

      That's a good idea!

  • @GeckoTech_Engineer
    @GeckoTech_Engineer Před rokem

    What’s a tile game?

  • @azarathgaming366
    @azarathgaming366 Před rokem +2

    WWOOOOOWWW IM COMMENTING ON MY OWN VIDEOOOOOOO

  • @felixdagami8827
    @felixdagami8827 Před rokem +2

    hello
    -skip skip

  • @WeepingAngel98ihbbh
    @WeepingAngel98ihbbh Před rokem +2

    Ur Tile Dependencies fail to work on ladders.

    • @ShiftClickLearn
      @ShiftClickLearn  Před rokem

      The tile dependencies work fine, I just didn't make the ladders have to be placed on the ground. :)

    • @WeepingAngel98ihbbh
      @WeepingAngel98ihbbh Před rokem

      @@ShiftClickLearn I did that for mine.