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?"
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..)
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.
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. :/
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?
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.
@@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
@@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.
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.
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..
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 😑🙏
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.
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.
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 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
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, 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.
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
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
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)
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
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.
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?
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
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 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.
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 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.
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.
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.
#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!
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.)
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!
instead of making the costumes my self i will give you credit. i tried to make it look like a white camo soldier outfit. it didnt look that good though.