Scratch Tile Scrolling Game | Player Movement (#4)

SdĂ­let
VloĆŸit
  • čas pƙidĂĄn 22. 07. 2024
  • In this Scratch tutorial, I show how to code player movement into the Tile Scrolling game. Now, you can explore your randomly generated worlds!
    🎹 GET THE GAME'S ART: scratch.mit.edu/projects/6921...
    Griffpatch's Tile Collision Video: ‱ Tile Scrolling Platfor...
    🔗 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:35 - Project Setup
    01:57 - Creating the Tile Meta
    08:40 - Adding All Tile Data
    10:13 - Player Setup
    13:54 - Getting Player Tile Info
    16:05 - Gravity!!!
    16:39 - Player Collision
    21:17 - Horizontal Movement
    25:22 - aNti-gRAvIty (Jumping)
    26:25 - Player Animation
    28:48 - Outro
    ❗ DISCLAIMER:
    This video is family-friendly! Hostile and/or rude comments will not be tolerated!

Komentáƙe • 314

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

    Alrighty, this video is finally out- thank you all so much for watching! ♄

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

      first

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

      Second

    • @penguinpenguin3156
      @penguinpenguin3156 Pƙed 2 lety

      @@WhyAreYouReplingToMe ThIrD!!!111!!1!!1!!!!!1!!1 OmG1111!1!!112!112

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

      Hey we (Blob2763) were going to start a game jam and we really appreciate if you would like to join us to be a judge to review the games :)

    • @Proto23115
      @Proto23115 Pƙed 2 lety

      @@maxtr0b0t555 what is it

  • @YepItsSandro
    @YepItsSandro Pƙed 2 lety +9

    Griffpatch will be so proud

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

    Yay! Its finally out! I kept on checking your channel after school everyday just to see if you had released another episode!

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed 2 lety

      That's awesome! Thanks for watching!

    • @maciekmaliszewski568
      @maciekmaliszewski568 Pƙed 2 lety

      @@ShiftClickLearn yah soooooooooooooooooooooooooooooooooooooooooooooooooooooooooo good

  • @picklez4lunch
    @picklez4lunch Pƙed 2 lety +8

    I can’t wait to get started on this next episode! I’ve been waiting all week for it :)

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

      Glad to hear it! :D

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

      @@ShiftClickLearn Let me guess: next episode you’ll add a hotbar?

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

    Wow! I actually also watch Griffpatch's! When I was watching this, I thought "this reminds me of Griffpatch's Mario tutorial" and "What's this guy's favorite color?"

  • @Marshmellow_Cat
    @Marshmellow_Cat Pƙed rokem +1

    Love your videos, I watched griffpatch's tile scrolling game, and this one is kinnda the same, I still love your videos, keep making more! (I kinnda cheated and used some of my old code of griffpatch's game..)

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

    I have a problem with my player...
    My player trys hit the block on right side it stuck 2cm before he hit block and in left the player stuck 2cm inside the block..đŸ˜±
    Plz help me 😑🙏

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

    YESSSSSS! EPISODE 4! THIS IS GOING TO BE GREAT! 😃😃😃😃😃😃

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

    epicccc cant wait for the next one!

  • @Alpha_Shrek
    @Alpha_Shrek Pƙed 9 měsĂ­ci +1

    29:17 the loading screen ain’t loading out. I’ve rewatched till there for an hour, but it ain’t working. I’m super stressed cuz I have to do this for a project and only have a week left. I need to know asap pls..

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

    So exiced to see more awesome content!

  • @Rixxles.
    @Rixxles. Pƙed rokem +1

    I followed all the steps correctly but still have a problem, when I do all the collision points and subtract the costumeheight from the Reset. Then it still gets stuck. I made sure all my collision points were the same.

  • @Aihistory-d4c
    @Aihistory-d4c Pƙed 2 lety +3

    Thank You So Much This Helped Me a lot!! 😃😃😃

  • @LawrenceOpena-nc4gh
    @LawrenceOpena-nc4gh Pƙed 3 měsĂ­ci

    why does my costume hight so glitchly? when i set it to the right costume hight some of the blocks makes him go down (the grass bocks) there already true but they think its false some of the blocks is normal couse there not glitch but some arent

  • @chewchew9563
    @chewchew9563 Pƙed 11 měsĂ­ci

    Hi , i would like yo know how to get the grass collision to work because mine doesn't work ( i follow the exact same as yours )

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

    Hey, I just wanna ask a question, why do u put a _ as the first letter in every variable or custom block?

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed 2 lety

      I put a _ for any variable that is "for this sprite only"! :D

  • @pupchamp137
    @pupchamp137 Pƙed rokem +1

    I did not spend 2 hours on fixing why i am coliding on the grass forgeting that i set the meta to 0 instead of -1 in the backdrops
    Great video btw!

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

    yay another episode! :D

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

    How did you use that blur effect on the loading screen (because I might want to use it in my future games)

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed 2 lety

      I used Inkscape and blurred it! The blur bar is in the color page. :D

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

    Yeah Episode 4 wwooooohhh! You've come so far keep going

  • @lilkangarooo
    @lilkangarooo Pƙed rokem +3

    My AnimationController script looks just like yours but the last frame in every animation is always the turn frame. (which is the last costume in my sprite) And for the walk animation I changed it to 4 instead of 1 but it still makes the 1st frame be idle1. (which is 1st in the costumes) IDK why, and the animation I made is 3 frames for idle and 2 for walking and I told it those 2 numbers in the (mod) section.

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed rokem +1

      Hey, are you changing the _costume variable by a number larger than 1? That could make it skip frames.

    • @mhshaukat6888
      @mhshaukat6888 Pƙed rokem +1

      The real problem is if yours says 1 * playerCostume... then it does that, replace the * with a + then it works

    • @lilkangarooo
      @lilkangarooo Pƙed rokem

      I forgot to say I got it working.

  • @GooseOnoob
    @GooseOnoob Pƙed rokem

    It always says the player is colliding when the costume width or height is greater than 0. how do I fix this?

  • @user-zr3wm9fh7c
    @user-zr3wm9fh7c Pƙed 7 měsĂ­ci

    Hello i know im commenting one 1 entire year later but i have a problem
    When i press to move, the player move correctly, but when i stop pressing the arrow, the player sprite doesnt stop moving slowly, its like on an infinite ice until it hits something. How do i fix it? (Also, i re-did your code 5 times and nothing)

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

    another amazing video by SCL

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

    I, believe it or not, have another problem. So when ever I move or change “_y,”all the tiles at the edge bunch up and look really bad. I tried recoding everything but no luck. :/

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed 2 lety

      Hmm, did you make the correct variables for this sprite only/ for all sprites? If not, the whole game could break.

  • @Coreupt7118
    @Coreupt7118 Pƙed 4 dny

    So, if you tap a or d you go flying for some reason even with the max speed thing

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

    i have costume problems that the player goes trough stone and every block because the costumes are wrong. What would i do for it?

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed 2 lety

      Match up the IDs in the tile meta with the names of the tiles! Make sure they're in order as well. (Costume named 1 should be before 2.) :D

  • @Mr.bluejohn
    @Mr.bluejohn Pƙed 2 lety

    During The Creating Tile Meta, I don't know if this is a full problem but at (7:20) THE ID grabber list both numbers are (for me) 0, not 1 and 2 is there a way to fix this? I'm also so having problems with gravity I keep going up and not down.

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed 2 lety

      Are you sure you copied the "Creating the Tile Meta" part correctly? Also, did you set the gravity to a NEGATIVE number? If it's positive, the player will "fall" upwards.

    • @Mr.bluejohn
      @Mr.bluejohn Pƙed 2 lety

      @ShiftClickLearn I got the gravity working but the ID grabber isn't still

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

    Thx for this cool episode!
    U r so cool!

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

      You're very welcome! Thank you so much! You're cool too! :P

  • @danyboy1002
    @danyboy1002 Pƙed rokem

    Why mine isn't falling after I substracted to the costumeHeight?

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

    I mean when you are going dawn you will collide with the leaf but when you collide with the leaves at the bottom you won’t collide

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

    yes finally, also why you're uploading in 3am

  • @nanPichi
    @nanPichi Pƙed rokem +1

    Hey, what pixel art animator are you using???

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

    my player is colliding on air even though i set it to has collision false i re-check the tile meta but its correct can you help me with that?

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed 2 lety

      Hmm, does your Air have an ID of 1? Is the costume named 1? Lastly, did you copy the player collision code correctly?

  • @raphaelgamer4381
    @raphaelgamer4381 Pƙed rokem

    my player does collide with the tiles, but then it keeps falling through them afterwards.
    could there atleast be a fix to that?
    edit: nvm

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

    mine broke and aint really using the ID's. its just looping, everything looks correct but it just does the annoying looping so im just waiting for the whole shop thing to exist so i can try to use it in a differently styled game

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed 2 lety

      Hmm, are you sure you didn't put an accidental change/set variable block in the tiles? If so, the whole thing could break! :D

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

    So I was wondering if it’s possible to make this infinitely generated. I really like your engine and there is no other tutorial like this, but I don’t exactly want to make a miner game. So, is it possible?

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

      I'm sure it is... but I couldn't tell you off the top of my head. I think eventually the list containing the tile IDs would get too large for Scratch and freeze/ crash the game.

    • @RandomStuffz.
      @RandomStuffz. Pƙed 2 lety +1

      @@ShiftClickLearn im not an expert but couldnt you grab the last 20000 or so like in the tile grabber you made and store that in a seperate list to make significantly larger worlds again i not an expert so yeah it might not work its just an idea

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

      I'm not an expert either but I already tried it and it didn't work.

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

      @@ShiftClickLearn I agree. Scratch isn't the most powerful game engine ever and even when Minecraft had infinite worlds, you probably have heard of the farlands and how broken they are so you would also have to figure out a way to fix that.

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

    Yay! Thank yous :p

  • @Rixxles.
    @Rixxles. Pƙed rokem +2

    I made sure to follow all the code correctly, I did it all correctly. I refollowed it step by step 5 times and the same problem has been occurring. At 19:01 when I start my game, the character doesn't fall at all and just stays at the top of the screen. The code that makes it fall is highlighted once I started but it isn't falling. Is it getting stuck? If so, how can I fix it? I used the same character as yours.

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

    Your video was great but at the player collision I did it correctly but my player just got stuck on top of the screen I thought it was because of gravity but I watch again and I did the gravity part correctly and if I tried to put the change y in forever loop it just goes down and doesn't collide and I did check the variable and custom block but I was correct to so I don't know how this happens so can you please help me?

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed 2 lety

      Hmm... did you copy the TIleMeta stuff correctly? The tile IDs need to match with the costume names.

    • @iceigloopenguinplays8433
      @iceigloopenguinplays8433 Pƙed 2 lety

      @@ShiftClickLearn I did it correctly too, is there any more way this could happen?

    • @AyaanTajwarYT
      @AyaanTajwarYT Pƙed 2 lety

      same problem with me

    • @AyaanTajwarYT
      @AyaanTajwarYT Pƙed 2 lety

      i think the problem is that scrolly isnt working because i tried changing the scroll y but the player is stuck in the air

    • @AyaanTajwarYT
      @AyaanTajwarYT Pƙed 2 lety

      i found the problem in the tile manager find when i recive position tiles and change it to tick:position tiles

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

    what sprite art maker thing are you using @1:36

  • @theetechcodingchannel2075
    @theetechcodingchannel2075 Pƙed rokem +1

    Please my player tileid does not work properly it it's only when I use the center of my player that it indicates the tile.is it because of my player tileindex or my scratch version,I am using scratch 3.0

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed rokem

      Did you keep going in the tutorial? I show how to add more points so that way it doesn't just detect tiles in the center of the player.

    • @theetechcodingchannel2075
      @theetechcodingchannel2075 Pƙed rokem

      Thanks

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

    when i did the 6 check collision things it made it so i am always colliding with things so when i was in the air it was colliding even tho i set it to false on the air collision
    Edit: the ones without costume height in calculation thing are the ones that work and the costume height is set to 24

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

      Huh, did you add the correct data in the TileMeta? Also, did you add/subtract the costume width and height in the right places?

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

      ​@@ShiftClickLearn
      collision code
      set _colliding 0
      CheckCollisionPoint _x + _costumeWidth + dx _y + dy
      CheckCollisionPoint _x - _costumeWidth + dx _y + dy
      CheckCollisionPoint _x + _costumeWidth + dx _y + _costumeHeight + dy
      CheckCollisionPoint _x + _costumeWidth + dx _y - _costumeHeight + dy
      CheckCollisionPoint _x - _costumeWidth + dx _y - _costumeHeight + dy
      CheckCollisionPoint _x + _costumeWidth + dx _y + _costumeHeight + dy
      check collision code
      GetCurrentTile x y
      if item _playertTileID + 2 = false
      {
      stop this script
      }
      set _colliding 1
      i cant be bothered to write the rest my gmail is jutseggz@gmail.com for screenshots and if u wont do gmail my discord is jutsEggz#4411 so i can send screenshots

  • @Sunny-oz6fg
    @Sunny-oz6fg Pƙed 2 lety +2

    Which pixel art software do you use??

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

    I encountered a problem, I am always touching air and it’s always false, so that means in the CheckCollisionPoint, 1+2=3 so then item 3 of the TileMeta is false, and false=false, so it stops this script.

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed 2 lety

      Did you copy the check collision point / collision custom blocks EXACTLY? They're really easy to mess up! :D

    • @kimberlysandoval680
      @kimberlysandoval680 Pƙed 2 lety

      It worked! Thanks ShiftClickLearn! :D

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

    I have a problem from part 3 where my world generation is all wacky with the bedrock weirdly at the top of the screen when you press the flag, is there a way you could help, I replied to your comment in the 3rd video, you could check that out but I really like this series, so please try to help.

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed 2 lety

      Did you make the world height too small? It should be AT LEAST 150.

    • @_Seasoned
      @_Seasoned Pƙed 2 lety

      I will try that, thank you

  • @HalfazYT
    @HalfazYT Pƙed rokem

    for some reson my grassTall and Flower are acting like its solid witch it says it isnt

    • @mhshaukat6888
      @mhshaukat6888 Pƙed rokem

      if you have capital letters for those inputs it might bug out, I'm not sure?!

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

    If you have your own costumes what i did was Join Idle or whatever you wrote and than the original code on the right for animation

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

    i dont know why but its always teleporting me in the last layer (bedrock layer)

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

    My Player floats on top of the long grass/flower?

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed 2 lety

      Did you copy the tile meta correctly? (The IDs need to match everywhere. Air = 1, Bedrock = 2, Stone = 3, etc.)

  • @inter.search
    @inter.search Pƙed rokem +2

    i have a problem, whenever i start the game. the miner guy keeps moving along the x axis???
    edit: i did it wrong

  • @8.nguyentuankiet167
    @8.nguyentuankiet167 Pƙed 2 lety +1

    Do you mind if I ask Owen when will part 5 come out??

  • @grimreapernx
    @grimreapernx Pƙed 5 měsĂ­ci

    If Anyone is having a problem at 7:20 there is a high chance you used the wrong id cause i had the same problem and i was mad looking for a sulotion but couldnt find one until i relized there is 3 id so dont get them mixed up

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

    Your tutorials are absolutely amazing! Could you please just zoom in to the code, it's pretty hard to see sometimes. Thnx

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

      Thanks a ton! Sorry about that, if you need, you can set the video to fullscreen!

    • @n4e_
      @n4e_ Pƙed 2 lety

      @@ShiftClickLearn You're right, but it's annoying to switch back and forward to different tabs, I don't have 2 monitors

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

    I have a problem in player collision for some reason the box is so big and it looks like I am floating in the air

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed 2 lety

      Did you set the _playerWidth/ playerHeight to a big number?

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

    When I use the more accurate points, it's less accurate?

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed 2 lety

      Wdym?

    • @hurnal6198
      @hurnal6198 Pƙed 2 lety

      @@ShiftClickLearn it falls to its neck instead of the centre. I did it again and now it's down to it's head

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

    Would you consider linking images to the scripts in the description so we can review code easily if it isn't working? Thanks!

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

    Hello, so I have started my project after finishing the movement script and my player just fall through all of the blocks. Please tell me if you know how to fix it. Thanks :D!!

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed 2 lety

      Did you copy the tile meta stuff correctly?

    • @MessixRonaldo7and10
      @MessixRonaldo7and10 Pƙed 2 lety

      @@ShiftClickLearn I'll check now.

    • @MessixRonaldo7and10
      @MessixRonaldo7and10 Pƙed 2 lety

      @@ShiftClickLearn Yes I've checked but my player still just goes through the blocks and when my player finds tile collision it just slows down but it doesn't stop.

    • @MessixRonaldo7and10
      @MessixRonaldo7and10 Pƙed 2 lety

      @@ShiftClickLearn I'll redo episode four because I have an extra copy.

    • @MessixRonaldo7and10
      @MessixRonaldo7and10 Pƙed 2 lety

      @@ShiftClickLearn Ok so I've re-done it and my player is colliding. Yay!!

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

    Nice!

  • @Half-Life-3
    @Half-Life-3 Pƙed rokem +1

    My colliders doesn't work

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

    Do you have any completed ep 4 project?

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

    when i load in i just fall through then i get stuck underground

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

    aye amazing video sorry im always late time zones you know anyways can you send you dc server link and give some tips on how to start my own coding channel I have a trash PC bad scripts and weird art so idk how do I start

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

      Thank you! I don't have a Discord server. Try to start by making a real simple and small game. Keep practicing, and you'll get it! ♄

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

      @@ShiftClickLearn what about a recording software that wont make my fan go faster than nasas rocket?

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

      @@centycebra4447 LOL hmmm... I use OBS- I'm not sure if that would work for you or not, but you could try it out! :D
      Here's the link: obsproject.com/

    • @centycebra4447
      @centycebra4447 Pƙed 2 lety

      @@ShiftClickLearn i already use it well its let umm ignore that

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

    can you make the leaf jump through

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

      You can set the collision to false in the tile meta for the leaves! :D

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

    Everytime when I walk left into a block, I get stuck and I can't move or leave the block, can u tell me how to fix this. This episode was very good, I just need help fixing this bug please

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

      Are you sure you copied the x collision correctly? If you misplaced one block, the whole thing could break!

    • @TamzidDd
      @TamzidDd Pƙed 2 lety

      Thanks, it worked :)

  • @FAUXCUSpd
    @FAUXCUSpd Pƙed rokem +1

    for some reason, horizontal collision doesn't work, but vertical collision does. why might this be?

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed rokem

      Hmm, check the collision custom block, did you copy the ones with the x variables correctly?

    • @FAUXCUSpd
      @FAUXCUSpd Pƙed rokem

      @@ShiftClickLearn yeah, i've quadruple checked everything. even went through and watched the whole video again and cross referenced the code. not sure why it isn't working.

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

    My player cant fall to the ground because he is stuck on the boarder of the stage, at y 180, and I don't know why.

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed 2 lety

      Try reducing the _y variable in the player in the beginning (in the Reset block). Maybe subtract like 25.

    • @ArticSpider
      @ArticSpider Pƙed 2 lety

      @@ShiftClickLearn Thank you so much! It worked! Love that you respond to comments!!

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

    The game just got better !

  • @GenericSquareGD
    @GenericSquareGD Pƙed rokem +1

    I'm having a problem. I done everything the same as you but, the miner guy is sinking a litle in the ground

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed rokem

      Hmm, maybe try setting the costume height to a larger number.

    • @GenericSquareGD
      @GenericSquareGD Pƙed rokem

      @@ShiftClickLearn Thanks dude! Btw your videos are awesome :)

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

    ebiccc

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

    When is next video coming out?

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

    My player is stuck on the corner of the screen not moving. Can you help?

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

    my "PlayerTileID Variable isnt displaying the right number." i can send a link to the scratch project if you want to check it out. (and yes i will temporarily use your player costumes.)

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

      nvm i fixed that now all the objects are getting collided, even the logs and flowers and tall grass.

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

      Did you match the IDs in the TileMeta to the numbers of your tiles. For instance, if you have a costume called 7 and it's the grass, the TileMeta should match that: ID 7 should be grass in the TileMeta!

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

      its all working now, thanks for your help.

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

      @@CrystalKyryn Oh, awesome! You're welcome! :D

    • @pavlolysan222
      @pavlolysan222 Pƙed 2 lety

      @@ShiftClickLearn I did the same thing however it still does not work.

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

    ShiftClickLearn, i've done Episode 4 of yours and it was great! But there is a bug (of course there is) about the player animation you make. The Bug is: When you jump and then fall down and then touch the ground, the animation is glitching. Please make a video how to fix this bug, ShiftClickLearn.

  • @starburst3758
    @starburst3758 Pƙed rokem +1

    I implemented the fix for collisions on tall grass and it doesn’t work.

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed rokem

      Are you sure you added the correct values in the tile meta?

    • @starburst3758
      @starburst3758 Pƙed rokem

      Yes. I went back 3 times and it was the same

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

    _xSpeed is for this sprite only, right?

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

    Lol -1 likes and dislike i saw that, ur vids are awsome! Not horrible!

  • @EnderElias17
    @EnderElias17 Pƙed rokem +1

    Grvitatio doesn't work for me. Can everyone help me?

    • @EnderElias17
      @EnderElias17 Pƙed rokem +1

      my player falls to a stone and then he stops and colliding is always on 1 from then on

  • @jayeshprakashsri
    @jayeshprakashsri Pƙed rokem

    Um, dude? I'm continuously colliding with air even tho i set the collision to false..

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

    For those confused about the player collision, pay VERY close attention to how SCL arranges the equation blocks.

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

      @ShiftClickLearn
      Was this helpful?

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

    What do you think of Paper Minecraft, Do you ever play it?

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed 2 lety

      I like Paper Minecraft! :D

    • @PalekJRam
      @PalekJRam Pƙed rokem

      he said it in part 1

    • @EtechMC
      @EtechMC Pƙed rokem

      @@PalekJRam did you really reply to a year old comment? Lol

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

    Can you please make a crafting system?

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

      Hey, that's an awesome idea! I don't think I'll have time to in this series- we still have a LOT to do. Maybe in an addon epsiode! :D

  • @KapiBary2
    @KapiBary2 Pƙed 20 dny

    #ShiftClickLearn what to do if my player is stucked in the air and when i change y by -100 it doesn't fall(Gravity doesn't work). Can you make a special project for each episode pls. I liked you and subscribed. Thank you!

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

    Can you make a tutorial on pixel art?

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

      I made an old one on pixel art, but an updated one would be cool!

  • @sahildas.
    @sahildas. Pƙed 2 lety +1

    whwere is the link?

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

    I`m having a problem where my player doesn`t move through non solid objects.

    • @pavlolysan222
      @pavlolysan222 Pƙed 2 lety

      @@MeArgo77 Me either.

    • @pavlolysan222
      @pavlolysan222 Pƙed 2 lety

      @@MeArgo77 Yeah but I did it like that.

    • @pavlolysan222
      @pavlolysan222 Pƙed 2 lety

      @@MeArgo77 Send me a turbowarp link of yours and I`ll see.

    • @pavlolysan222
      @pavlolysan222 Pƙed 2 lety

      @@MeArgo77 Look let`s take the flower, it is number 7, number seven is stone and if we add 2 it`s true so what you said will not work.

    • @pavlolysan222
      @pavlolysan222 Pƙed 2 lety

      Nevermind.

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

    first! Btw, love your vids

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

    what program did you make the pixel art in?

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

    My player wont go do down during coding gravity

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed 2 lety

      Did you copy the positioning correctly? (Like this: 13:33)

    • @m_emetube
      @m_emetube Pƙed 2 lety

      Thanks!

    • @m_emetube
      @m_emetube Pƙed 2 lety

      Also, do I set _y or ySpeed to zero anywhere in the code, because I start near the bottom of the screen.

    • @m_emetube
      @m_emetube Pƙed 2 lety

      (Because I tried setting ySpeed to zero at the beginning and it was fixed)

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

    can you put the art

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

    as a wise man once said...
    '"run screen without refresh"

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

      very wise indeed xD

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

      refresh without screen run

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

      *run refresh without screen*

    • @ullton8926
      @ullton8926 Pƙed 2 lety

      𝙎𝙘𝙧𝙚𝙚𝙣 𝙍đ™Ș𝙣 đ™’đ™žđ™©đ™đ™€đ™Șđ™© 𝙍𝙚𝙛𝙧𝙚𝙹𝙝

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

    I mean the leaf will colide when you fall on not jump on.

    • @ShiftClickLearn
      @ShiftClickLearn  Pƙed 2 lety

      Oh, I have no idea how to make that off the top of my head! XD

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

    bro the gravity isnt working

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

    i made the add ids block before you thought about it 😆

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

    I forgor to turn on the notification sorry

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

    scratch addons?

  • @tuano5144
    @tuano5144 Pƙed 2 lety

    What is the ideal in the next video

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

    cool

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

      Thanks!

    • @ullton8926
      @ullton8926 Pƙed 2 lety

      Some random guy: What is your favorite shape?
      No one, Absolutely No one :
      Me:My favorite shape? A rhombicuboctahedron

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

    I was wondering, how old are you?
    Anyway, this tutorial is great!

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

    am I the only one that finds a bug in my animation code?
    edit: I had *0.15 instead of +0.15