Scratch Tile Scrolling Game | INFINITE Grid ID System (#2)

  Рет қаралды 44,793

ShiftClickLearn

ShiftClickLearn

Күн бұрын

In this Scratch tutorial, I show how to code a grid ID system into my Scratch Tile Scrolling game! This will allow us to start working on procedural world generation like in Paper Minecraft and Miner Cat!
🎨 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:31 - New Costumes!!!
02:01 - Assigning IDs To Tiles
04:22 - Syncing List With IDs
05:49 - Looping The IDs
06:45 - Keeping Camera In Bounds
09:12 - Using The ID System
11:06 - Outro
❗ DISCLAIMER:
This video is family-friendly! Hostile and/or rude comments will not be tolerated!

Пікірлер: 420
@shahinma221
@shahinma221 2 жыл бұрын
"if this comment gets pinned, imma like this vid"
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
you better DESTROY that like button ;p
@RandomStuffz.
@RandomStuffz. 2 жыл бұрын
@@ShiftClickLearn wait what you ACTUALLY replied?
@shahinma221
@shahinma221 2 жыл бұрын
@@ShiftClickLearn lol i did
@samyakmanandhar69420
@samyakmanandhar69420 2 жыл бұрын
@@ShiftClickLearn O no it exploded :(
@rabiasalman2248
@rabiasalman2248 Жыл бұрын
LOL
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Thank you all so much for watching! We are getting so close to starting on world generation!! :D
@tabbyearth8377
@tabbyearth8377 2 жыл бұрын
First repli :D
@GamerCreacher
@GamerCreacher 2 жыл бұрын
im getting stuck at 10:23 i did exacly what you did but it not working
@JustATypeOfBacon134
@JustATypeOfBacon134 2 жыл бұрын
finnally a new vid i waited for 5 days
@amiasmiljour1190
@amiasmiljour1190 2 жыл бұрын
Yeah " O
@AlienDeveloperYT
@AlienDeveloperYT 2 жыл бұрын
@@GamerCreacher Strange, it worked completely for me!
@AlienDeveloperYT
@AlienDeveloperYT 2 жыл бұрын
It’s so helpful that you listed the costumes you need because most people just expect their viewers are copying their art.
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
:D
@Chaobai
@Chaobai 11 ай бұрын
although it was hard, i did my own costumes.
@AlienDeveloperYT
@AlienDeveloperYT 11 ай бұрын
@@Chaobai That’s what I did, idiot, I mean that they said what we needed to draw and at which costume number.
@darkpurpletcgs8628
@darkpurpletcgs8628 2 жыл бұрын
I LOVE this tutorial so far. I have been looking EVERYWHERE to find something like this. I love the ID system
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
TYSM! That means a lot to me! :D
@AlienDeveloperYT
@AlienDeveloperYT 2 жыл бұрын
I agree
@rosacarchi267
@rosacarchi267 Жыл бұрын
e
@PalekJRam
@PalekJRam Жыл бұрын
@@ShiftClickLearn u have very funny videos thank u !!! tutorials😊
@shiftn178
@shiftn178 9 ай бұрын
@@ShiftClickLearn 123456678
@AlienDeveloperYT
@AlienDeveloperYT 2 жыл бұрын
YES!! finally the next episode of the epic tutorial!
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
TYSM!
@gogagawtherobloxboy248
@gogagawtherobloxboy248 4 ай бұрын
@@ShiftClickLearn AGGREED
@Bed_Tom
@Bed_Tom 2 жыл бұрын
ShiftClickLearn eats dirt and spits it out
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
wHAt
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Also good one :P
@Bed_Tom
@Bed_Tom 2 жыл бұрын
@@ShiftClickLearn dirt is tasty.
@ericeddie8656
@ericeddie8656 2 жыл бұрын
No more than what I expect. Nice!
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
:D
@MessixRonaldo7and10
@MessixRonaldo7and10 2 жыл бұрын
Thanks for this new and amazing series!!
@thesensibleone34
@thesensibleone34 2 жыл бұрын
So good as always
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
TYSM!
@AndyGun11
@AndyGun11 2 жыл бұрын
Awesome Tutorial!
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Thanks!
@Rory432
@Rory432 2 жыл бұрын
Not many Minecraft scratch tutorials on yt, so thanks for this!
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
You are very welcome Kit! Glad I could help! :]
@pavlolysan222
@pavlolysan222 2 жыл бұрын
Or Terraria tutorials.
@cake-brawlstars2427
@cake-brawlstars2427 2 жыл бұрын
Yeah I enjoy the concept
@TgFx22
@TgFx22 2 жыл бұрын
I was able to make my own costumes and thank you so much for this tutorial! it made me a master at pixel art somehow
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
That's really awesome!
@AestheticGamerJourney
@AestheticGamerJourney 2 жыл бұрын
Thx very much! edit: awesome vid like usual
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
You're welcome and thanks! :D
@simonunger1133
@simonunger1133 2 жыл бұрын
yay second part amazing
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
TYSM! :D
@RonicTheEgg
@RonicTheEgg 2 жыл бұрын
Ahaha so exited weeee
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Thank you!
@ncjdwincwjqi
@ncjdwincwjqi Жыл бұрын
Thank u so much, this is very helpful!
@QTChosusTV
@QTChosusTV Жыл бұрын
Oh my god this video is so good for some reason thanks
@ShiftClickLearn
@ShiftClickLearn Жыл бұрын
Thanks. :)
@mysingingmonstersfan1023
@mysingingmonstersfan1023 Жыл бұрын
So at the last step for some reason instead of having a layer of bedrock at the bottom followed by stone it goes from rather a vertical stone 1 block pillar followed by bedrock on both sides or thr same but its bedrock in the place of stone and vice versa
@penguinpenguin3156
@penguinpenguin3156 2 жыл бұрын
I'm so excited to add the player!
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Awesome! I am too! :D
@nicksgames7010
@nicksgames7010 2 жыл бұрын
10 out of 10, like every other video of yours!
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Thanks Nicks Games!
@Gabriel-tn1lx
@Gabriel-tn1lx 2 жыл бұрын
Thank you
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
You are very welcome!
@verglas_hydra
@verglas_hydra 2 жыл бұрын
Epic miner game
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
ty
@yosephdawson7045
@yosephdawson7045 2 жыл бұрын
everyone: a scratch tile scrolling game me: *MnInEcRaFt*
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
LOL
@Mistereee
@Mistereee 2 жыл бұрын
another epic video
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
thanks again :p
@anasoares9366
@anasoares9366 2 жыл бұрын
Griffpatch: finally a worthy opponent, our battle will be legendary!😀
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
griffpatch is cool ;p
@ThatCrownedKing
@ThatCrownedKing 2 жыл бұрын
This is a well-crafted video! Which software did you use to record and edit your videos?
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Thanks a ton! I use DaVinci Resolve to edit and OBS to record!
@samllea1
@samllea1 2 жыл бұрын
@@ShiftClickLearn does that cost money?
@griffinbrooks6748
@griffinbrooks6748 2 жыл бұрын
@@samllea1 They are both free and i reccomend them.
@samllea1
@samllea1 2 жыл бұрын
@@griffinbrooks6748 nice ok
@kayrayaynda9144
@kayrayaynda9144 2 жыл бұрын
make another part pls! this is soo good
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Working on it! :D
@reglan_dev
@reglan_dev 2 жыл бұрын
Not sure if you even remember me, however i just wanted to say that i finally released Enter The Dungeon 2
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Cool!
@programwithag1693
@programwithag1693 2 жыл бұрын
i think small series you make like your shooter game should be published at once, so you can binge watch it
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
lol
@janrosolek6273
@janrosolek6273 Жыл бұрын
best video ever
@ShiftClickLearn
@ShiftClickLearn Жыл бұрын
Thank you so much!
@xavierkekes5789
@xavierkekes5789 Жыл бұрын
This is a very good tutorail even tho it a bit outdated
@xavierkekes5789
@xavierkekes5789 Жыл бұрын
yes but very complicated and confusing
@savagecatdev
@savagecatdev 2 жыл бұрын
air should be costume 8 because it is the eighth element in the periodic table lol
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
That's genius
@scratchtools
@scratchtools 2 жыл бұрын
wow!
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Thank you!
@deividsdziedatajs3819
@deividsdziedatajs3819 Жыл бұрын
thank you
@ShiftClickLearn
@ShiftClickLearn Жыл бұрын
You're welcome
@austencope
@austencope 2 жыл бұрын
awsome content!
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
TYSM! :D
@austencope
@austencope 2 жыл бұрын
@@ShiftClickLearn :)
@ThatCrownedKing
@ThatCrownedKing 2 жыл бұрын
AWESOME!!!!!!!!
@timeodelaplace2275
@timeodelaplace2275 2 жыл бұрын
Hi!! It's UlimeGames!
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Thanks!!!
@ThatCrownedKing
@ThatCrownedKing 2 жыл бұрын
@@timeodelaplace2275 Are you that guy who is a fan of paper Mario?
@timeodelaplace2275
@timeodelaplace2275 2 жыл бұрын
@@ThatCrownedKing yes sure! :D
@Zippy_boys
@Zippy_boys Жыл бұрын
amazing
@ShiftClickLearn
@ShiftClickLearn Жыл бұрын
Thanks!
@elardyan
@elardyan 2 жыл бұрын
Your videos are really helpful. I really like them.🤩 Can i request a video about how to connect game menu with the game and how to create a dialog box for the caracter please? It is for my final assignment and I have a lot of issues with this two. I really appreciate if you make the tutorial. Wish you the best.
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Thank you so much Marcel! That would be a really cool game- thanks! :D
@gapples6111
@gapples6111 2 жыл бұрын
what editor do you use? your video's are amazing!
@Therealbluu
@Therealbluu 2 жыл бұрын
I asked him he says davinci resolve
@gapples6111
@gapples6111 2 жыл бұрын
@@Therealbluu I have no idea what that is, but anyway thanks for the information. I will check it out!
@gapples6111
@gapples6111 2 жыл бұрын
@@Therealbluu Also I just saw your video's, what do you use to make your intro, because it is amazing!
@gapples6111
@gapples6111 2 жыл бұрын
​@@Therealbluu I did check you out in scratch, cool you really know how to work with scratch code I suck at it, anyway I can't join your discord, but I can chat with you right on scratch, I did followed you my name is step-step and do you play Roblox and in it do you play TWW (The Wild west), if you do, that is my favorite game I can friend you and we can play with you over this summer. if you have summer or is it winter, I really don't know where you live.
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Thanks! Yup, I use DaVinci Resolve! :D
@Soupcan.-demoman
@Soupcan.-demoman 2 жыл бұрын
I recommend turning on some devtools or search block because this is big of a project
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Yes! It will be very helpful for when this project starts getting larger!
@misterdot6923
@misterdot6923 2 жыл бұрын
how do u manage to think of the code for this!
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Hehe many many months of slow and steady coding! :D
@JUSTIN-dg1zt
@JUSTIN-dg1zt Жыл бұрын
AMAZING TUTORIAL! I was trying to make scratch tutorials by myself but the result never turned out as I expected it. Could you maybe tell me a bit about making scratch tutorials?
@ShiftClickLearn
@ShiftClickLearn Жыл бұрын
Hey, thanks Justin!! Sure, I always make the game before hand- it usually takes a few months. Then I just jump in and record the episode with my final project in my other monitor as a reference. I just go until it's a natural place to end the video. Then I edit. Edit. Edit. Edit. EDIT. EDITTTT for hours lol... Then I make my thumbnail + title + tags + description and post the video. :D
@JUSTIN-dg1zt
@JUSTIN-dg1zt Жыл бұрын
@@ShiftClickLearn I see, i'll try to figure it out. ty
@HowtoDoStuffwithEthan
@HowtoDoStuffwithEthan 2 жыл бұрын
Hey Shift I really like your videos. I just have one suggestion: Could you try and explain what you're talking about? some people might not know why they're putting this block here, or what this variable is used for. Thanks!
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Thanks! Sorry about that, I do my best explaining stuff- it's just that if I took the time to go in-depth on EVERY block, the video would be too big for me to get out on time. I hope you can understand! :D
@HowtoDoStuffwithEthan
@HowtoDoStuffwithEthan 2 жыл бұрын
@@ShiftClickLearn Yes, of course! I make scratch tutorials too, and I feel the same way! No problem at all :)
@I_StealFoodFromKids
@I_StealFoodFromKids 2 жыл бұрын
WOWWWWW I AM COMMETING ON SHIFTCLICKLEARN'S VIDEOOOOOOOOOOOOOOOOOOOOOOOO
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
YayAYAYYAyayasyayayay
@overflowguy
@overflowguy Жыл бұрын
I did'nt steal the costumes but i redrew them, is that okay if they look a bit simalar?
@user-tz4dg5nh3i
@user-tz4dg5nh3i Жыл бұрын
COOOOOOOOOOOOOOOL
@ImKarmaHQ
@ImKarmaHQ 5 ай бұрын
Can you make a tutorial fully based on tile scrolling and generation so I can make a world with custom generation and caves with certain blocks and stuff.
@Quozo19
@Quozo19 2 ай бұрын
ShiftClickLearn, how do I get the delete all of () button? It seems like I can’t get it anywhere?
@user-vl9zq9qd7v
@user-vl9zq9qd7v 6 ай бұрын
what are some possible bugs? because my ones bedrock layer doesn't work. BTW this is an awesome series! 🥰
@TheRealParameh
@TheRealParameh 2 жыл бұрын
I love this video!!! But I think that it's a bit to fast lol
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Thanks! Sorry about that- it's a really hard balance because if I'm too slow the video will be REALLY long, meaning I won't have time to edit it and post it. If you need you can go to Settings > Playback speed > 0.75 or 0.5.
@johndoyle1588
@johndoyle1588 2 жыл бұрын
It’s a great tutorial but do you think you could slow down a bit because it gets really confusing at times and it’s kind of annoying having to stop and play so often
@Abby-dg9ym
@Abby-dg9ym 2 жыл бұрын
You can select to slow down the playback speed on each video. That may help you out 🙂
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Thanks! Yeah, you can go to Settings > Playback speed > 0.75 or 0.5.
@WhoAmI928
@WhoAmI928 2 жыл бұрын
Great tutorial, but I encountered a problem where if the camera goes to fast, a horizontal one tile tall strip of nothing appears and it goes to the left and right sides of the world and loops vertically. Any help would be great!!
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Did you copy all of the code in the LoopTile custom block correctly?
@ericeddie8656
@ericeddie8656 2 жыл бұрын
Please upload the third episode now! It's 21:31 here and I am desperate for it!
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
I did!
@Wallee580
@Wallee580 2 жыл бұрын
Yes.
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
y e s
@lakshmiiyer7325
@lakshmiiyer7325 2 жыл бұрын
Hey there ShiftClickLearn, I kinda encountered a problem in this episode. For the last episode, I used a repeat 13 instead of a 10 as the repeat 10 didn't generate enough clones to cover the screen. But now when I change the values of tiles in the Tile Grid List, the tiles don't change. I did some testing and the tiles only switch if the repeat is a repeat 10.
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
That is really strange... Did you copy the ID stuff? (Like assigning the IDs to the tiles.)
@lakshmiiyer7325
@lakshmiiyer7325 2 жыл бұрын
@@ShiftClickLearn Yeah.I also did it again to make sure it is correct but the tiles don't switch unless it's a repeat 10.
@user-zw7pu8iw3s
@user-zw7pu8iw3s Жыл бұрын
Are your graphics 8x8?
@whoiszimphony
@whoiszimphony Жыл бұрын
Please help, where is the "delete all of TileGrid block?
@RonicTheEgg
@RonicTheEgg 2 жыл бұрын
For Those Who Doesn't Know Why Their World Is Much Smaller Than SCL's It's Not Actually A Bug, It's Just Because SCL Made The Movement Speed To 50 Which Gave The Illusion If The World Being Small For Him. So Don't Worry It's Part Of The Tutorial.
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Yeah, good point! I set the speed wayyy higher!
@RonicTheEgg
@RonicTheEgg 2 жыл бұрын
@@ShiftClickLearn I was actually very stressed and literally checked every pixel of code And at the 18th time of watching the video I saw that the speed was set to 50 And so that's the story of how I wasted 2 hours of my life
@AP-en6bo
@AP-en6bo 2 жыл бұрын
nice vid
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Thanks!
@skrimamv6156
@skrimamv6156 2 жыл бұрын
Do you think its possible to add pvp/zones or party codes to play with friends?
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
That would be really REALLY complex! I'm not sure if I could do that!
@skrimamv6156
@skrimamv6156 2 жыл бұрын
I meant is it possible for it to be done? like when u pass a invis line/sprite, there is a message sent and when its recieved there is like a loading screen that sends you to a boss battle place.
@skrimamv6156
@skrimamv6156 2 жыл бұрын
@@ShiftClickLearn also I tried doing TileMoveStep of TileManager but it didnt show up in the list at: 8:29 | edit: yes the variable is for all sprites but still doesnt work
@legendsofcrossing3344
@legendsofcrossing3344 2 жыл бұрын
Oh the I had the same problem for the seams what i did was turn my speed from 50 to 5 and it worked
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Glad you fixed it! :D
@imdumbXD
@imdumbXD 2 жыл бұрын
How do we know if it's for this sprite only or for all sprites?
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
I say which one it is each time I create a variable!
@StayInNeverland1
@StayInNeverland1 2 жыл бұрын
when will ep3 comeout??so exited
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
This Tuesday!
@StayInNeverland1
@StayInNeverland1 2 жыл бұрын
@@ShiftClickLearn it’s already Tuesday in India, I am texting this at 1PM
@edialex6223
@edialex6223 2 жыл бұрын
pls make part 3!
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Working on it!!
@sakkalwin4932
@sakkalwin4932 2 жыл бұрын
Hey my movement is gone when i put the movement in the cameramovement block can u help?
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Did you run the camera movement block in a forever loop?
@nvshrushikeshreddyvii-b5076
@nvshrushikeshreddyvii-b5076 2 жыл бұрын
have a problem , when i click the flag , the different block in 9:23 , the block is not at the bottom left center it is going placed somewhere else . can you suggest a fix for this
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Did you move the camera to the bottom left? Also did you copy the camera limiting stuff correctly?
@Jaredite
@Jaredite Ай бұрын
is my project wrong if my background is not the sky block but the gold block?
@TEEKYEEANMoe
@TEEKYEEANMoe 2 ай бұрын
It took me an eternity to make it to the height limit but I mad it! (with Turbo Mode)
@muhammadfazil5179
@muhammadfazil5179 2 жыл бұрын
I am online on scratch
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Cool!
@phant4sm.
@phant4sm. 7 ай бұрын
Can someone help me? At 4:09 the left of the stage doesnt appear as 1 - 10. The middle only says 1 - 10. How can I change it to make the left the correct numbers
@deividsdziedatajs3819
@deividsdziedatajs3819 Жыл бұрын
i used to wach grifpach but he dose not explane it and you do!
@gabrielchavez5668
@gabrielchavez5668 Жыл бұрын
I like this game! The only thing is in the ID system part, the test of the bedrock, for me it just infinitely loops on W and S.please help me!
@ShiftClickLearn
@ShiftClickLearn Жыл бұрын
It sounds like there's an issue in your Y part of the looping code. Make sure you copied everything correctly!!
@ericeddie8656
@ericeddie8656 2 жыл бұрын
Hey, when's the next one coming out?
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Tuesday!
@GamingChair9482
@GamingChair9482 Жыл бұрын
I got a bug at 6:43 it started to randomly generate the whole costume. I guess I will have to restart and I am glad I made a copy before moving on to ep2.
@ShiftClickLearn
@ShiftClickLearn Жыл бұрын
Hello! What do you mean "the whole costume". Like is it generating random tiles?
@eduscolchoes7804
@eduscolchoes7804 Жыл бұрын
Hey i did EXACTLY what you did, your project loops but the different block are in a same position and dont loop, but mine does loop only for right! Not to up, but when i go to right and up, it loops, and when i get to left and return, the loop disappears! Idk if you understood this :/
@ShiftClickLearn
@ShiftClickLearn Жыл бұрын
Hmm... try redoing just the looping part maybe?
@cake-brawlstars2427
@cake-brawlstars2427 2 жыл бұрын
Hey, while keeping the camera in bounds, I have checked that I have copied the code properly, but the camera keeps looping when I press D or W, Can you tell me a solution
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Hmm, you may have set the scroll x incorrectly at 7:32. Another possible issue could be if you accidentally pulled the key D or key A pressed into the if statement that keeps the camera in bounds. I think that would make the camera loop every time you move! :D
@terkq
@terkq 10 ай бұрын
How to make like the tiles can only generate on a limit, but I still can scroll the screen? Pls help~~~
@Hinosaki_Akibara
@Hinosaki_Akibara Жыл бұрын
where do u get those costumes?
@ShiftClickLearn
@ShiftClickLearn Жыл бұрын
I made them.
@user-rb8fk2pz1z
@user-rb8fk2pz1z 3 ай бұрын
when i go to the right my movement is slow i move to the left its fast down is fast up is slow please help me out here
@JoyzaInnovations
@JoyzaInnovations 2 жыл бұрын
Hey, How would I add npcs that move?
@JoyzaInnovations
@JoyzaInnovations 2 жыл бұрын
Or a better tool system?
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
I'll be showing how to add the shop keeper NPC to this game! What do you mean by tool system?
@JoyzaInnovations
@JoyzaInnovations 2 жыл бұрын
@@ShiftClickLearn I would use this system to add creatures that would move around the world, and weapons, and even a crafting system maybe?
@ojasdatt
@ojasdatt 7 ай бұрын
Deleting the _Tileid variable mad it worse, may explain that please.
@DuongTran-in8hi
@DuongTran-in8hi 2 жыл бұрын
mine 2 bed rock and up 8 block is another 2 bedrock can you fix it
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
I'm not sure how to fix your game. Did you make sure you copied the bedrock code correctly? Did you input the right variables?
@greenbustheepic8970
@greenbustheepic8970 Жыл бұрын
Issue at 10:25 I made it the EXACT same way but it loops the bedrock over and over again. Is it me but how does your tutorial work and mine dosent?
@ShiftClickLearn
@ShiftClickLearn Жыл бұрын
There must be an error somewhere in your code. :( Check the tile looping block maybe?
@greenbustheepic8970
@greenbustheepic8970 Жыл бұрын
@@ShiftClickLearn Oh, I was just a missing variable (it's tileID) silly me for not double-checking my code.
@mingheisit2148
@mingheisit2148 2 жыл бұрын
When I set the Main sprite's ListID to the empty value. The clone with the ID 1 was not in the corner. When I changed the empty value to 1. The clone with ID 1 went to the bottom
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Whaaatt, that's weird.
@mingheisit2148
@mingheisit2148 2 жыл бұрын
@@ShiftClickLearn I retried the tutorial for nine times already. I still can't move on to part 3😭
@thepackdevil422
@thepackdevil422 Жыл бұрын
@@mingheisit2148 i think you and me are the same i found the same mistake. To fix it you go to player sprite scrollx Multiplied by the backrop thing to tile movesteps Of the main by minus 240 i think you put an less than operater for that you have to put an greater operator same for scroll y Need any more help?
@thumbsupmate3235
@thumbsupmate3235 Жыл бұрын
ive got the camera limiting working for the bottom and the left side but the other sides wont work, ive checked through it multiple times but its still letting me get past
@thumbsupmate3235
@thumbsupmate3235 Жыл бұрын
nvm i had to set the camera movement speed to 50 instead of 5
@thumbsupmate3235
@thumbsupmate3235 Жыл бұрын
nvm it just takes ages to reach the sides and top with the speed set to 5 but it works
@ashwanigupta8106
@ashwanigupta8106 2 жыл бұрын
Hey my project doesnt work coz when i generate bedrock with stone, it goes well until i move the camera coz thats when my bedrock dissapears and my camera limits are not working . What do i do?
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Rewatch the video, and as I pull out code, compare that with your code. Make sure everything looks the same as mine! :D
@ashwanigupta8106
@ashwanigupta8106 2 жыл бұрын
@@ShiftClickLearn Okai
@ashwanigupta8106
@ashwanigupta8106 2 жыл бұрын
the camera limit is working now but the replacing issue is still not working. Should I publish it for you to see the issue
@ashwanigupta8106
@ashwanigupta8106 2 жыл бұрын
It works properly now Thanks for helping me :)
@gabrielchavez5668
@gabrielchavez5668 Жыл бұрын
Also, at one point it becomes just on 2 blocks on top.
@LeviSkaggs
@LeviSkaggs 2 жыл бұрын
My project for some reason has half tiles past the border. Is there any reason that you know of to fix it?
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Your camera shouldn't be able to pass the border of the world... Did you finish the part where I showed how to keep the camera in bounds? (6:45)
@LeviSkaggs
@LeviSkaggs 2 жыл бұрын
@@ShiftClickLearn Yes.
@LeviSkaggs
@LeviSkaggs 2 жыл бұрын
@@ShiftClickLearn Could I share the project on scratch and you see what is wrong?
@jvjanicek
@jvjanicek Жыл бұрын
8:44 im writing the exact code that you are putting but it is not working. any ideas on how to fix?
@ShiftClickLearn
@ShiftClickLearn Жыл бұрын
It takes a while to get the the edge of the world... So maybe just keep scrolling! :D
@hermanzainal2782
@hermanzainal2782 2 жыл бұрын
Cooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooool
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Thaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaanks
@agrawalekamvictoriasch8187
@agrawalekamvictoriasch8187 2 жыл бұрын
I am having difficulty at the part 8:56 because the value for scroll x greater than is 3760 Same for scroll Y but the value is different So i have to scroll sooooooo much before i reach the end for right and up I had to minus 3280 from worldwidth * tile movestep for x and 7640 from y
@StayInNeverland1
@StayInNeverland1 2 жыл бұрын
Is it working now ?
@StayInNeverland1
@StayInNeverland1 2 жыл бұрын
Did you change the speed of scrolling from 1 or 2 to 50 that would make the scrolling faster.
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Yeah, did you make the camera move faster?
@agrawalekamvictoriasch8187
@agrawalekamvictoriasch8187 2 жыл бұрын
@@ShiftClickLearn Ya I did that now it works. thx :)
@nithinr3712
@nithinr3712 2 жыл бұрын
The tile switching problem on 10:34 is still not solved even if I added the block, "switch costume to the '_tileListID' variable of 'TileGrid' List" Please Help
@nithinr3712
@nithinr3712 2 жыл бұрын
and the video was so helpful and awesome
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Hmm, did you check the "Run screen without refresh" in the loop custom block?
@nithinr3712
@nithinr3712 2 жыл бұрын
@@ShiftClickLearn Yes, I have did that
@arsenaleditfc
@arsenaleditfc 2 жыл бұрын
can you link the sb3 file of this in the description really would help
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
I'll share the whole project once the series is over! (I don't really want to use Media Fire or Google Drive to publish the download link.)
@D4N1el_3ditZ
@D4N1el_3ditZ 2 жыл бұрын
hey can you help me? When im doing the code for the camera thing it didn't work the up and right doesn't work?
@D4N1el_3ditZ
@D4N1el_3ditZ 2 жыл бұрын
i did it correctly but it didn't work?
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Did follow the order I put the operator blocks? It should be: ScrollX > (WorldWidth * _tileMoveStep) - 240 The order DOES matter! :D
@D4N1el_3ditZ
@D4N1el_3ditZ 2 жыл бұрын
@@ShiftClickLearn i did it correctly like 8:43 and its still the same
@stevekhoesbin4524
@stevekhoesbin4524 Жыл бұрын
whymy project can go over the black block
@GamerDrawTheCode1900
@GamerDrawTheCode1900 2 жыл бұрын
I have a problem i have several layers of bedrock space with stone could you help me pls (sorry for my english I'm french)
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Did you set the bedrockAmount to a larger value than shown in the video? That could make the bedrock thicker!
@GamerDrawTheCode1900
@GamerDrawTheCode1900 2 жыл бұрын
@@ShiftClickLearn no I mean I have 2 layer of bedrock then stone then 2 other layef of bedrock and this until the top of the world
@amiasmiljour1190
@amiasmiljour1190 2 жыл бұрын
Look at the face of the dude in the thumbnail!
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Hehe I was wondering if anyone would see that! :p
@I_StealFoodFromKids
@I_StealFoodFromKids 2 жыл бұрын
Shiftclicklearn, can u just do me a favour please? Go in tileManager and go to when flag clicked. For the set world width and height, if you put 10 for them, do u see leave tiles at the left? Just checking if I am on the right track :D
@ShiftClickLearn
@ShiftClickLearn 2 жыл бұрын
Hey, I should have mentioned this in the video, if the world width or height is less than the tileAmountX or tileAmountY, the system will break!
@I_StealFoodFromKids
@I_StealFoodFromKids 2 жыл бұрын
@@ShiftClickLearn ok
@carbon6686
@carbon6686 Жыл бұрын
I'm having a problem. 😕 The world is generating fine but I can't access the bottom 90 or so layers of the world due to camera limits. I'm using the exact same stuff as you. Pls help or I can't make the project :( :( :(
@ShiftClickLearn
@ShiftClickLearn Жыл бұрын
Hey, sorry to hear that! Are you sure you checked if the **ScrollY** is less then 180, and then set the **ScrollY** to 180 not the ScrollX? If you did, the other thing could be if your tile size / spacing is set incorrectly? Also, check your ScrollY variable when you're at the bottom of the world... What does it say? It *SHOULD* say 180. I hope this helps. :D
@carbon6686
@carbon6686 Жыл бұрын
My ScrollX Is 240, my ScrollY is 180, my TileScale is 5, and my TileSpacing is 8. My ScrollX and ScrollY are both for all sprites. I don't know what's happening. 😕😕
@carbon6686
@carbon6686 Жыл бұрын
The bedrock appears for like 0.1 seconds then it just cuts to stone because of the camera limits.
@markschotters3547
@markschotters3547 7 күн бұрын
9:12 plz I've done it 3+ times over and over and it still doesn't work for the greater than ones, the less than ones work but after doing the greater than ones a million times it doesn't work, plz help me:(
@armoirestudio
@armoirestudio Жыл бұрын
i must have done something wrong but my project is not working :,( pls help me! It's when i replace the item 1 of grid by another number. it's looping and i don't even start at the bottom but 1 tile up. It's too frustrating bc i spent hours on this episode so i don't want to scraych anymore
@armoirestudio
@armoirestudio Жыл бұрын
re-tryied the toturial and it works now
Scratch Tile Scrolling Game | Introduction & Base Tile System! (#1)
21:36
Wait for the last one! 👀
00:28
Josh Horton
Рет қаралды 104 МЛН
I Spent 2,000 Hours Using Scratch
13:59
ggenije
Рет қаралды 504 М.
I Love Survival Games... So I'm making one!
6:15
Floky
Рет қаралды 126 М.
6 Developers make a Scratch Game Without Communicating
15:00
Jackson Academy
Рет қаралды 147 М.
I Used a Chinese Scratch Ripoff
8:38
Jackson Academy
Рет қаралды 485 М.
Every new programmer ever
1:59
ShiftClickLearn
Рет қаралды 30 М.
Unbelievable Scratch Projects!
7:05
Donutask
Рет қаралды 69 М.
Minecraft But On Scratch
7:23
Irrelevant
Рет қаралды 444 М.
I Recreated Stardew Valley* in Scratch!
8:04
Donutask
Рет қаралды 55 М.
ChatGPT Makes a Scratch Game
10:30
PolyMars++
Рет қаралды 953 М.
Wait for the last one! 👀
00:28
Josh Horton
Рет қаралды 104 МЛН