Scratch Tile Scrolling Game | Introduction & Base Tile System! (#1)

Sdílet
Vložit
  • čas přidán 22. 07. 2024
  • In this Scratch tutorial, I introduce a new series on coding a tile scrolling game with procedural world generation, an inventory system, a lighting engine, an infinite shop system, and much more! This game is inspired by games like Paper Minecraft, Miner Cat, Cube Miner, and even Terraria! :D (Terraria Trailer: • Terraria - Launch Trai... )
    🎨 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
    06:45 - Project Setup
    08:09 - Setting Up Needed Variables
    09:44 - Creating Clone Grid
    12:39 - Scrolling
    15:35 - Tile Looping
    19:59 - Showing Possible Bugs
    21:07 - Outro
    ❗ DISCLAIMER:
    This video is family-friendly! Hostile and/or rude comments will not be tolerated!

Komentáře • 530

  • @lordlem
    @lordlem Před 2 lety +13

    Even after making the switch to non-visual programming, I still love watching these videos. The code is well explained and I learn a lot!

  • @ShiftClickLearn
    @ShiftClickLearn  Před 2 lety +29

    Thank you all so much for watching this video! I hope you guys like this game! :D
    Edit: You can play my Tile Game here: scratch.mit.edu/projects/685142261/

    • @ITZME10101
      @ITZME10101 Před 2 lety +5

      do you like my new logo

    • @ShiftClickLearn
      @ShiftClickLearn  Před 2 lety +6

      @@ITZME10101 Yeah, it's really cool!

    • @ITZME10101
      @ITZME10101 Před 2 lety +5

      @@ShiftClickLearn i made it in scratch :edit: because scratch is a svg

    • @ITZME10101
      @ITZME10101 Před 2 lety +4

      @@ShiftClickLearn btw paddler games is doing a stream tonight

    • @candykid44
      @candykid44 Před 2 lety +2

      Very interesting.

  • @Fudgecrumb
    @Fudgecrumb Před 2 lety +7

    We’ve been waiting for months, and we finally got this absolute *MASTERPIECE!*

  • @_Seasoned
    @_Seasoned Před 2 lety +5

    I'm SOOOOOOOOOOOOOO EXCITED FOR THE NEXT EPISODE. I'VE BEEN THINKING ABOUT IT ALL DAY! I CAN'T WAIT

    • @ShiftClickLearn
      @ShiftClickLearn  Před 2 lety +2

      Wow, that's great! I am working on the next video! :DD

    • @Kuro-GD
      @Kuro-GD Před 2 lety +1

      @@ShiftClickLearn I cant wait too

  • @vortexloophole
    @vortexloophole Před rokem +5

    I finished nearly all of Griffpatch’s tutorials, great to finally find other content creators that also make cool scratch tutorials to satisfy my needs!

  • @lilkangarooo
    @lilkangarooo Před rokem +3

    This is SO amazing! I'm gonna be following the tutorial series. I'm planning on making a Terraria / Paper Minecraft like game and my sister will do the art!

  • @Death_Omen
    @Death_Omen Před 11 měsíci +1

    I hope for this to certaintly be useful for my new game! Cant thank oyu enough for making this series understandable, I have big hopes!

  • @thefunniguy89
    @thefunniguy89 Před 2 lety +5

    this is really good! when i grow up i want to make games but i keep messng up my code and ruining the whole thing, but your vids are so inspirational! thank you and good job on the coding!

    • @ShiftClickLearn
      @ShiftClickLearn  Před 2 lety +4

      Thanks WhalesTuna! Hey, that's ok, coding can be really hard! Keep practicing and you'll get it! :D

    • @RoundedIce
      @RoundedIce Před 2 lety +2

      I always just mess up a single block or variable number and it just ruins the entire thing, but really good videos!

  • @vii-ka
    @vii-ka Před rokem +3

    GAHH!! My head exploded from you going so fast! Sorry, I am just so used to Griffpatch's tutorials...

  • @thetechpanda6151
    @thetechpanda6151 Před 2 lety +2

    woah your understanding of coding and scratch is amazing!

  • @LuvvyLaurah
    @LuvvyLaurah Před rokem

    We’ve been watching for ages now,it’s very beautifully Made!

  • @TochedGrass3742
    @TochedGrass3742 Před rokem

    Waiiiiit a second! This is a tutorial! I’ve been scrolling forever for a new tile scrolling game to make and I thought this was just a dev log or something because it did not have tutorial in the title😂

  • @YourBoiUltra
    @YourBoiUltra Před 8 měsíci

    This is great! Thank god I found this channel otherwise my game, Calamity wouldn’t be out on time and I would have to delay it again!

  • @crovat5218
    @crovat5218 Před 2 lety +2

    that is SKILL over there!! great stuff owen! keep up the drip!

    • @ShiftClickLearn
      @ShiftClickLearn  Před 2 lety +1

      Thanks a ton CrovatTutorials! It means a lot to me! ♥

  • @grape968
    @grape968 Před 2 lety +4

    This is so cool! Can't wait to try making my own! :D

  • @overflowguy
    @overflowguy Před rokem +2

    I made all my sprites by myself and i was very proud with them! I trained pixel art yesterday and ive improved so much. And when i made my sprites and put them in a folder, i was like: Hmm i can make a mine and sell game!
    And then this perfect tutorial comes up.

    • @aaaaaaaaaaa.a
      @aaaaaaaaaaa.a Před rokem

      Underrated comment

    • @megagamingteen
      @megagamingteen Před rokem

      I always take a screenshot of pixel art like that and put it in a online color picker website and draw it

  • @thetechpanda6151
    @thetechpanda6151 Před 2 lety +2

    And also Thank you so much for posting this Im gonna watch part 2 right now! your vids are great and inspire me to be a better scratcher!

  • @weegie3343
    @weegie3343 Před 2 lety +5

    Nice. This looks amazing! I never knew how to do light engines.

  • @kingsclothing2024
    @kingsclothing2024 Před 2 lety +2

    Amazing Tutorial! Your coding is as good as a hacker. Helped me so much to make my 2d tile mining game. (I am also making the game on your tutorial.) I can't wait for the next episode!

  • @flauschfell932
    @flauschfell932 Před 2 lety +2

    Even griffpatch cant make this better. its just WOW

    • @ShiftClickLearn
      @ShiftClickLearn  Před 2 lety +1

      Thanks! Griffpatch's tile scrolling engine is really good! :D

  • @thegamingmachine2.066
    @thegamingmachine2.066 Před 2 lety +3

    Im now currently working on a doom inspired game but this game you made has more effort than most games nowadays

    • @ShiftClickLearn
      @ShiftClickLearn  Před 2 lety +2

      That is really cool! Thanks, that means a lot to me! :D

  • @blurrysquire6671
    @blurrysquire6671 Před 2 lety +4

    "Da Blok" - ShiftClickLearn
    10/10 English, it sounds accurate.

  • @nicksgames7010
    @nicksgames7010 Před 2 lety +2

    Amazing tutorial Shift!

  • @verglas_hydra
    @verglas_hydra Před 2 lety +2

    Nice im excited for the next episode

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

    looks great so far!

  • @cakesrus3852
    @cakesrus3852 Před 2 lety +2

    Woo hoo this series is exciting

  • @PingvinPlayz
    @PingvinPlayz Před 2 lety +2

    Your videos are amazing and funny! :D

  • @scratchtools
    @scratchtools Před 2 lety +3

    that art is amazing!!

  • @greengreenanimations
    @greengreenanimations Před 2 lety +3

    Epic tile scrolling platformer!

  • @ericeddie8656
    @ericeddie8656 Před 2 lety +3

    You teach your tutorials so well and so clearly! Thank you so much for this episode, I struggle a lot with tile scrolling but this was really helpful! Also, when is the next episode coming out?

    • @Abby-dg9ym
      @Abby-dg9ym Před 2 lety +1

      Tuesday 🙂

    • @ShiftClickLearn
      @ShiftClickLearn  Před 2 lety +3

      Thank you so much! It's coming out this Tuesday!

    • @jingxiawu8094
      @jingxiawu8094 Před 2 lety

      @@ShiftClickLearn Great! What have you planned for the next episode?

  • @benthecool
    @benthecool Před rokem

    hey so uh i am making a Terraria fan game and the tiles are supposed to be 20 x 20 and i am seeing white lines for a split moment on the sides before its filled in please help me

  • @scnhappytunes1800
    @scnhappytunes1800 Před 2 lety +3

    Wow, your games are outstanding!

  • @n1ckm.s
    @n1ckm.s Před rokem +1

    My sprite size was off but at 16 x 16 so halfing the numbers worked! Thanks for this amazing tutorial!

  • @petep3069
    @petep3069 Před 2 lety +2

    You and griffpatch are both amazing

  • @coolman36kmaway34
    @coolman36kmaway34 Před 2 lety +3

    This looks cool !!

  • @kuphead
    @kuphead Před 2 lety +2

    Awesome! (Ngl this is better than a griffpatch tutorial)

  • @Kuro-GD
    @Kuro-GD Před 2 lety +2

    wow so nice keep it up dude its so good!

  • @rosacarchi267
    @rosacarchi267 Před 2 lety +1

    The Most EPIC SERIES EVER!!!!!!!!!!
    i LOVE THIS!!

  • @scnhappytunes1800
    @scnhappytunes1800 Před 2 lety +2

    Thank you So much for you tutorials!

  • @potatopatch4563
    @potatopatch4563 Před rokem

    10:22 for some reason my tile stays in the right corner and won't do anything else, even though I copied your programing exactly?

  • @samllea1
    @samllea1 Před 2 lety +2

    pls reliese ep.2 bc i only get wifi at library and i only get to go to the library like once a month i love your work ,sam

  • @legalego1studios946
    @legalego1studios946 Před 2 lety +2

    cant wait for the next episode

  • @DrTophat278
    @DrTophat278 Před 2 lety +2

    This is the most underrated youtuber I’ve ever seen.
    And he’s the best at explaining in scratch

  • @scratchtutorials-nf9zq
    @scratchtutorials-nf9zq Před 6 měsíci

    This is So Awesome 😻

  • @SideswipeLegends-ls9yf
    @SideswipeLegends-ls9yf Před rokem +1

    Please help me! I’m up to 13:40 and it’s not working! One of the tiles is misplaced and has gaps around the edges! Why is this happening and how do I fix it?!

  • @MINTGREENYT369
    @MINTGREENYT369 Před rokem

    though i said that to say, i imported textures from minecraft alpha to get this working, and was too lazy to downsize every tile, so i just changed a few values and it works with a size of 250 or a scale of 2.5, with the clone count x and y values floored. basically im saying even though you may not have intended for it to be this flexible, you literally made something very flexible to modify, as i, a complete idiot, was able to mod it :) your a genius

  • @fadwr6519
    @fadwr6519 Před rokem +1

    I love your Videos It always Helps me sooo much thank you !

  • @8o899
    @8o899 Před 2 lety +2

    This is awesome!

  • @deividsdziedatajs3819
    @deividsdziedatajs3819 Před rokem +1

    Thx you are the best its also my birthday so it is like my present from you

  • @kevinjarz4383
    @kevinjarz4383 Před 2 lety

    my not working well the trees making the generation going like "\" i dont know how to say it but it looks like that

  • @MINTGREENYT369
    @MINTGREENYT369 Před rokem +1

    sprite size in scratch is wierd, though to sum it up, scratch suppourts half pixels, so when you import it, it displays the size from a floored input of pixels, the half pixels are bitmap brush size 1, as a 2x2 in brush size 1, results in a 1x1 size display, but because you can export images in bitmap, it has to be doubled in size if it has any half pixels...

  • @footballnews9038
    @footballnews9038 Před 2 lety +2

    This is So Awesome 😻
    If You Are Free After This Series and decide to make another, just a opinion, can you make a Top down survival game?
    BTW, Love This series!

  • @NEXNGHXST
    @NEXNGHXST Před 2 lety +2

    I luv ur projekt and expainations

  • @jirenceigtiben9135
    @jirenceigtiben9135 Před 2 lety +2

    Awesome!

  • @mathildawaw
    @mathildawaw Před 6 měsíci

    Hallo!! I have a small problem when creating the clone grid of the last step, my tiles doesn't show, and the one that shows is only one tile. I am at 10th grade in a vocational school in Indonesia (and yes, i am an indonesian) i have a project to make a game, and i find your videos are easy to understand. Yet, i haven't get the hang of it, i wonder how can i contact you to help my project progress and also learn. Thank you soo muchh

  • @meenabirdi4899
    @meenabirdi4899 Před rokem

    why does there be a gap at the very right hand side?

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

    I am happy to code this

  • @yaninamilano9746
    @yaninamilano9746 Před 2 lety +1

    i even subd to you. Thankyou for making those beautiful videos

    • @ShiftClickLearn
      @ShiftClickLearn  Před 2 lety

      Hey, thank you so much for the kind words and the sub! 💖

  • @beckybryan4362
    @beckybryan4362 Před rokem

    I was doing the tutorial and I
    Mine was the exact same as urs but tile x went all the way up 540 and tile y to 420 does anyone know how to fix this

  • @k-popidols1060
    @k-popidols1060 Před rokem +1

    can you help me? my project code is just like yours but the tiles are only showing at the top

    • @ShiftClickLearn
      @ShiftClickLearn  Před rokem

      Are you sure you copied everything correctly? It's REALLY easy to accidentally put the wrong variable in an input somewhere in your code.

  • @simoneyob1031
    @simoneyob1031 Před 11 měsíci

    but how you going to do it with tiles from 18 by 18

  • @itzhaaz______
    @itzhaaz______ Před 2 lety +2

    I've checked a few times and I don't see any differences with the code but when I press play the TileManager won't cover the screen? I've made it to 11:37.

    • @ShiftClickLearn
      @ShiftClickLearn  Před 2 lety

      Did you show the tiles?

    • @itzhaaz______
      @itzhaaz______ Před 2 lety

      @@ShiftClickLearn Yes, i showed it and made it the same size but it only quadrupled and then stopped duplicating.

  • @ThatScratchKid
    @ThatScratchKid Před rokem

    I was wondering why at the start the tiles were not filling up the screen, but I checked back through the code and I saw that I accidentally put 480 instead of 360 for the _TileAmountY variable!

  • @TotallyNormalbruv
    @TotallyNormalbruv Před rokem +1

    When griffpatch has a 20 minute video: kalm
    When shiftclicklearn has a 5 minute video: panik

  • @jamunachowdhari3838
    @jamunachowdhari3838 Před 2 lety +2

    This video is amazing thanks for that

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

    Could this work well in top down

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

    it wont fill the bottom it is 2024 did i do something wrong or is it because it is a different vresion

  • @user-qx1dh9sj3z
    @user-qx1dh9sj3z Před rokem

    where do you find turbo war

  • @D0nut3d1tZ
    @D0nut3d1tZ Před rokem +1

    at the most replayed (tile looping), my "hello!" didnt pop up. i dont know where i went wrong. could you are anyone help?

    • @D0nut3d1tZ
      @D0nut3d1tZ Před rokem

      cause i worked so hard for it to just not work for me

  • @AlienDeveloperYT
    @AlienDeveloperYT Před 2 lety +3

    This amazing. I wish the next episode released

  • @dog_2
    @dog_2 Před rokem

    Can i add a control stick for mobile?

  • @FadeTheStupidCat
    @FadeTheStupidCat Před rokem +2

    Thanks a lot!
    i will be making a game called cheese eater with this!

  • @TheBadGamer2-
    @TheBadGamer2- Před 2 lety +2

    For the tiles getting stuck you could also make a bigger costume and switch before the positioning and then switch back after

  • @AviationFish_001
    @AviationFish_001 Před rokem +1

    I like smashing the shift key so I can learn!

  • @arvidenglund9155
    @arvidenglund9155 Před 2 lety +2

    what video editor do u use? and how do u do that squeeze thing in your videos? Thx😀

  • @random-username_
    @random-username_ Před 2 lety +1

    after following 12:16 no clones appear? is this a mobile glitch or something as i have the code blocks set the exact way you have

  • @RonicTheEgg
    @RonicTheEgg Před 2 lety +2

    OMG I LOVE THIS

  • @jaydennggg
    @jaydennggg Před 2 lety +3

    YAAAYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY ANOTHER EPIKKKKKKKKKKKKKKKKK TUTORIALLLLLLLLLLL

  • @ThanhNguyen-yy1td
    @ThanhNguyen-yy1td Před rokem +1

    So Good!!!!!!

  • @zwlw
    @zwlw Před 2 lety +20

    I've been working on a 2d farming sandbox game for about a year now (almost in beta maybe tomorrow) cool to see others doing things like this too :)

    • @ShiftClickLearn
      @ShiftClickLearn  Před 2 lety +4

      Oh wow, that's impressive! Can't wait to see your game! :D

    • @ermxlfn
      @ermxlfn Před 2 lety +1

      whats the name

    • @zwlw
      @zwlw Před 2 lety

      @@ermxlfn natuaria

    • @nx_vt
      @nx_vt Před 2 lety

      nice

    • @uncolorr
      @uncolorr Před 2 lety

      amazing

  • @TheWeirdPantsCharacter
    @TheWeirdPantsCharacter Před 2 lety +2

    Very good job 😃👍

  • @Whodidyoudieto
    @Whodidyoudieto Před rokem

    what do you call water that is frozen

  • @switchkidslol
    @switchkidslol Před rokem

    This is so good i wish i could do something like this

  • @marcboss
    @marcboss Před 2 lety +4

    Very well made! Crafting would be nice but the game looks awesome!

  • @kieranatkinson7617
    @kieranatkinson7617 Před 2 lety +2

    Mind if I ask Owen when does the new episode come out?

  • @cheryltaylor5658
    @cheryltaylor5658 Před rokem +1

    seems like a good tutorial, but I might come back once I started making smaller games on scratch, seems like a good tutorial series though!

  • @LunasBiscuits
    @LunasBiscuits Před rokem

    Hello!
    I encountered an issue with this code. When I move right and left, the scrolling is seamless, but if I move up and down, I can see the tiles looping. I followed your instructions carefully and double-checked to make sure I did it correctly. Could you let me know what I might have done wrong?
    Thanks! :)
    Edit: Never mind, I fixed it. Very helpful tutorial!

  • @sivertsivert607
    @sivertsivert607 Před 2 lety +1

    I tried following this because i would like to know how map generating was but unfortunantly when i made the tile looping for up and down it just got rid of the tiles that was supposed to change place( i figured it out)

  • @JoyzaInnovations
    @JoyzaInnovations Před 2 lety +3

    Exactly what I needed! Imma mod the crap out of this 😆

  • @inaayel922
    @inaayel922 Před 2 lety +1

    i noticed in some of your videos you have a way to kind of type the brodcasts faster what is that called in scratch addons

  • @loth_cat
    @loth_cat Před 2 lety +1

    At the end was the tile loop cap still supposed to be 260 cuz mine switched down to 200 but the scrolling still works (up down left right)

    • @ShiftClickLearn
      @ShiftClickLearn  Před 2 lety

      That's strange, did you change the tile scale?

    • @loth_cat
      @loth_cat Před 2 lety

      @@ShiftClickLearn i dont the think so

  • @Mistereee
    @Mistereee Před 2 lety +2

    Nice video!

  • @roblox.com-sg.lets-go

    my scrolling needs help it stop scrolling at x20 and y20

  • @tapmakesgames1104
    @tapmakesgames1104 Před 2 lety +1

    Nice! Is it possible to use stamping though? (I'm currently making my own game using an isometric grid but the clone count is really tricky to get round)

    • @ShiftClickLearn
      @ShiftClickLearn  Před 2 lety

      I'm sure it is, although I think that'd be pretty complicated!

    • @tapmakesgames1104
      @tapmakesgames1104 Před 2 lety

      @@ShiftClickLearn Yeah, especially with animations xd

  • @shanebarrett91
    @shanebarrett91 Před 2 lety +2

    You should turn on "separate for this sprite only variables " in scratch addons for explanation purposes

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

    can you add monsters to the game???

  • @GaelEnglish
    @GaelEnglish Před 6 měsíci +1

    love it

  • @aBeachTrooper
    @aBeachTrooper Před 2 lety +1

    Why does it say 77 x 26 instead of 8 x 8 in my tilemanager sprite?

    • @ShiftClickLearn
      @ShiftClickLearn  Před 2 lety +2

      The costumes must be really big! Try drawing the costume how I showed in the video. (7:18)

  • @QuantumScratcher
    @QuantumScratcher Před 2 lety +1

    this is much better than griffpatch's series

  • @yosephdawson7045
    @yosephdawson7045 Před 2 lety +2

    0:47 why does that sound like me on the toilet after chugging a bottle of tapatio hot sauce at 3 am