you can add an extra 2-10 FPS by making a variable called "Rotated". then wrap an if statement around the variable blocks that calculate the sin and cos of the directions, make the condition "ïf Rotated = 1". at the start of move camera, set rotated to 0 and set rotated to 1 if the camera changes direction, this makes it so that you dont have to constantly calculate the sin and cos of the directions
@FindingPepper3 ай бұрын
Oh that's a good idea!
@RonicTheEgg3 ай бұрын
@@FindingPepper :)
@Bunn-y2Fnaf2 ай бұрын
Hello friend@@RonicTheEgg
@RonicTheEgg2 ай бұрын
@@Bunn-y2Fnaf hai
@Guy-213 ай бұрын
when someone creates a walking animation they egt 100K views, now when you make minecraft 3d in scratch you gain 800 views.. how this fair?? + nice work
@mateuszpragnacy83273 ай бұрын
oh wow this is super under rated ❤ you should have 100k subs❤
@Xman-m5f25 күн бұрын
fr
@slashthegreatxd78153 ай бұрын
An fps counter might be a good idea and maybe transparent blocks would look epic maybe also entities
@LucasD.3 ай бұрын
AMAZING! Your channel has growed alot and it HIT 1K SUBSCRIBERS!!!
@jeandang83762 ай бұрын
Could the next episode in this series (after collisions) be about placing blocks? We could use the "place block at…" custom block, but I am not sure how we could define where to place it with the mouse, since it could theoretically be anywhere…
@FindingPepper2 ай бұрын
Sure, I can do a poll when we get closer! Placing blocks isn't actually too hard because we can make use of our raycasting and the "view x" and "view y" variables.
@joshuabarqueesimeth45302 ай бұрын
i believe you can make the ray that shoots directly in the middle of the screen a crosshair, and make it to where if the mouse is pressed and the ray is casting on a block it should remove the block at the position the ray casted, its the same for placing a block but change the mouse button to another button and check for the position of the ray before it collides with a block to place a block on a block face your looking at.
@jeandang83762 ай бұрын
@@FindingPepper what about the the "Z" so we know how far it is from the camera?
@FindingPepper2 ай бұрын
@@jeandang8376 You could use the dist variable
@jeandang83762 ай бұрын
@@FindingPepper ok
@Crazy_D0c3 ай бұрын
Can`t wait for a next episode!
@FindingPepper3 ай бұрын
Glad to hear it! It will sadly be a decent wait, as I'll be traveling next month.
@DeclanRohland3 ай бұрын
Incredible! I wonder What the next episode will be about! (Hope we get more optimizations next month!)
@FindingPepper3 ай бұрын
Next episode will be about collision! Unfortunately raycasting is just really slow, so optimizing further is difficult. I may do a "better" 3D tutorial at some point based on triangles/vertices.
@maxwins1123 ай бұрын
@@FindingPepper cool i wonder how u do it
@DeclanRohland3 ай бұрын
@@FindingPepper i guess my python version will just have to stay at 2 fps.
@avyansingh39723 ай бұрын
@@DeclanRohland loll
@KindOfWitch2 ай бұрын
@@FindingPepper mesh rendering :0
@DinnerboneWiki2 ай бұрын
could you add terrain generation based on seed in nexr episode?
@DaAlphaDawg3 ай бұрын
For people who want to boost the FPS u can use Turbowarp and set the FPS to "250" which is the max fps you can set. But if you want to add delta time to the movement you use Griffpatch's fps system he uses in his "Raycasting EP 6 Performance" and have the camera movement multiplied by the "DELTA" variable.
@FindingPepper3 ай бұрын
The problem is that Scratch can't even run the project at 30 fps.
@PedroGamer4112 ай бұрын
Can someone help me? My movement is bugged, when I look anywhere and try to walk forward, it doesn't follow the direction, and starts to move as if I were looking forward (I fixed it)
@nokhinsiu72102 ай бұрын
Welp i can give you my project link.
@PedroGamer4112 ай бұрын
@@nokhinsiu7210i fixed it
@PedroGamer4112 ай бұрын
@@nokhinsiu7210I fixed it… but now I have another problem, every time I look left or right, my project start lagging until it frezzes.
@anonymoususer76672 ай бұрын
how do i fix the weird line under blocks
@not-IeatBread2 ай бұрын
can you make reflections and shadows
@GamerHouse2.03 ай бұрын
hi
@Xman-m5fАй бұрын
TIP I FOUND: If the texture is cut off (like one block shows 2 textures) Do this: • Go to the textures costume in the Scanner sprite • Switch it to bitmap • Carefully select one texture • Copy and paste the texture to a new costume • Center the image • Then look at the costume and it will show you the actual texture size. NOTE: If there are 2 different numbers when you look at the costume, you selected the texture wrong.
@Canarddelice3 ай бұрын
hey I can't access scratch on my computer because of a bug o I use GANDI and can't download the scanner :(
@xoxogamewolf7585Ай бұрын
underrated
@Jonathan-sp9un2 ай бұрын
For anyone that needs it, if your blocks aren't rendering correctly (appears black) then I have the answer. When you export the file for the scanner one list has nothing in it but is very crucial for the image scanning. Which is the ghost values list. Griffpatch's video explains what values to put but basically you need to manually put in the values for the ghost values
@rebeccaxing742 ай бұрын
I am sure that will help a lot of people! Thanks.
@Soheil-Shah-Rabien3 ай бұрын
bro you are going to vacation just like ceebee a scratch team
@maxwins1123 ай бұрын
put the texture costume top left so u have more room to add textuers
@FindingPepper3 ай бұрын
I want the textures to be scanned vertically because otherwise it would be difficult to differentiate the different columns. If there were multiple columns in the texture costume, the rows of pixels in the displayed textures would alternate between multiple textures and not display the full texture of any of them. If you need more textures you could add multiple texture costumes.
@SpiritOfTheGalaxy1433 ай бұрын
i love scratch but i am too lazy to build this. still watching the full playlist as it comes out!
@NoahDautenhahn3 ай бұрын
AMAZING!!! You gonna try to add Entitys?
@FindingPepper3 ай бұрын
Thanks! I may do entities, though if I do it won't be for a while.
@emerybrown61452 ай бұрын
how you gonna do the grass and flowers
@TheKlad3 ай бұрын
Can you make in 3rd episode about generation and inventory? Your tutorials are amazing!
@FindingPepper3 ай бұрын
Next episode will be on physics/collisions, then I'll turn to some 3D generation the following episodes. After that, maybe breaking/placing blocks.
@TheKlad3 ай бұрын
@@FindingPepper Oh, so... approximately in which episode will the generation be?
@FindingPepper3 ай бұрын
@@TheKlad I'll probably do a standalone tutorial on 3D generation (probably in mid August), then combine it with the Minecraft project afterward. So probably episode 4 or 5.
@TheKlad3 ай бұрын
@@FindingPepper Ok!
@sillyheadtv3 ай бұрын
please help when i run my project it gets stuck on the 2nd scan pass and doesnt run the rest of the project
@jeandang83763 ай бұрын
I think I might know the problem. Hang on…
@jeandang83763 ай бұрын
I think I found it. 🎉 It’s probably that in the scan sprite, where you switch costume to « textures » , it is still the old one even thought you deleted it. Switch it to the updated « textures » costume. The reason for this problem is that it doesn’t have anything to scan so it goes on forever.
@sillyheadtv3 ай бұрын
@@jeandang8376 thanks! (Im gonna remake from first EP cuz I stole someones copy and try this)
@Kazan03093 ай бұрын
noice
@BloxedZ3R019 күн бұрын
awesome
@TheKlad3 ай бұрын
Can you upload the file? My project is not drawing the blocks. (I fixed)
@MilitaristLithium2 ай бұрын
how did you fixed it?
@nokhinsiu72103 ай бұрын
Yes!
@Shadow-dd1qp3 ай бұрын
Been on scratch for almost 5 years now, first time seeing something like this, excited to see what happenes next, sub earned.
@mr-steam57443 ай бұрын
Noice!
@giosee_Ай бұрын
save the individual 6 faces as block data so you dont have to run all that ifs in the raycasts
@WhosHeres3 ай бұрын
can you teach me how to add custom block shapes like circles and rectangles thank you.
@Coder64-Castle2 ай бұрын
Rectangles would be farely easy. Circles (or in this case speres would be kinda hard (if you wanna add shading to them, otherwise its just a sigle dot.)
@WhosHeres2 ай бұрын
@@Coder64-Castle alright thx
@ROADMAKERS-jf9nt3 ай бұрын
Man please e3 I love you.
@plooshie...3 ай бұрын
Using this tutorial, I've tried to make procedural generating terrain using noise, collisions, trees, gravity and breaking and placing blocks. I've tried casting a ray directly in front of the player and get the block info, but for some reason my ray is being casted from the centre to the top-right screen, instead of the centre to centre. Can you explain the mechanics of how the rays move? Anyways, thanks for this tutorial!
@FindingPepper3 ай бұрын
That's awesome! A ray of view x/y of 0/0 is in the center of the screen (different from most other coding languages where 0/0 is in the corner).
@plooshie...3 ай бұрын
@@FindingPepper Oh, that helps, thanks!
@plooshie...3 ай бұрын
@@FindingPepper I've implemented it. I used the player to cast a ray instead of a separate ray and now it casts from the centre to the centre.
@WOLAt5j3 ай бұрын
P L S T O E P I S O D E 3
@waterSuja3 ай бұрын
this looks like minecraft 4k
@EBT_227-xb4uk3 ай бұрын
I have 4 Questions and ideas For the next videos. 1. Can you add a 3D Skybox 2. I've done that but can you add like a mouse drag camera instead of looking with the arrows. 3. Can you make it have Less lag i need it to not lag. 4. Idk but maybe optimization and bug fixes.
@FindingPepper3 ай бұрын
Mouse controls might be in the next episode. Unfortunately it's hard to optimize this further as Scratch is just very laggy.
@RonicTheEgg3 ай бұрын
1. kzbin.info/www/bejne/qWPQc39plNmIkKs at 3:55 2. kzbin.info/www/bejne/q4Ccg4idjdqBgZo 3. put higher resolution and lower render distance
@EBT_227-xb4uk2 ай бұрын
@@RonicTheEgg thanks
@EBT_227-xb4uk2 ай бұрын
@@FindingPepper thanks
@RonicTheEgg2 ай бұрын
@@EBT_227-xb4uk np
@Xman-m5fАй бұрын
I'm gonna make a rick roll animation >:D
@realafarzan3 ай бұрын
i had a week off school and the week went by so fast i thought this video was released super early
@joshuabarqueesimeth45303 ай бұрын
dont you get the summer off? its 3 months off.
@realafarzan2 ай бұрын
@@joshuabarqueesimeth4530 no its different where i live
@joshuabarqueesimeth45302 ай бұрын
@@realafarzan damn i feel bad bro.
@realafarzan2 ай бұрын
@@joshuabarqueesimeth4530 we get 2 seperate month long vacations around the middle of the year and around a month off in december idk how its like in other countries
@CalvinandHobbes-j3wАй бұрын
My project isn't working and the textures are appearing swirls of blue and black. Somebody help.
@FindingPepperАй бұрын
If you comment your project link on my scratch profile I may be able to help
@Spider_XtАй бұрын
Hey, i'm watching the series, but my blocks have infinite lenght, i looked at all the scripts but didn't find nothing wrong, could you help me?
@Spider_XtАй бұрын
nevermind i solved it
@DemidCode3 ай бұрын
good video bro!
@gastonchannel90362 ай бұрын
Great video, how would you go about up-ing the resolution of each block at a farther distance? Thanks!
@FindingPepper2 ай бұрын
You can see what happens when you set the resolution to a low number (higher quality) -- it's incredibly laggy. It's hard to make less laggy without using a different 3D method (involving triangles) which is what is generally used for 3D. I went with this method because it's simpler.
@LionelTravenp3 ай бұрын
Bro.can you make 3d triangle collison in scratch?i want to make 3d obj file rendeeing.
@FindingPepper3 ай бұрын
Maybe someday
@wolfcrafter21473 ай бұрын
How can we like make other shapes and how is it possible to make the blocks smother and not that choppy
@rebeccaxing742 ай бұрын
Decrease the RES variable for better resolution.
@champion_ofcloud-var3 ай бұрын
hey, i have a suggestion for which texture goes on which face you could make 1 or more lists for the texture/textures on each side of the block, so for example grass could be grasstop, grass, grass, grass, grass, dirt, and for dirt it could be dirt, dirt, dirt, dirt, dirt, dirt
@FindingPepper3 ай бұрын
That's a pretty good idea! But I think it might be a bit more complicated than necessary especially when we don't have many blocks.
@champion_ofcloud-var3 ай бұрын
@@FindingPepper you will have much block
@user-nil_cyan3 ай бұрын
1k subs!!!! Tip: It might be very complicated, but try to make it so the raycaster doesn't render any faces that are "inside" other faces You could also have them fade out the closer they are to the edge of view
@FindingPepper3 ай бұрын
Yeah I was meaning to do the fade out thing but I felt the video was getting a bit long. What do you mean by "inside" other faces? If you mean going inside blocks, I don't intend for that to stay possible.
@sillyheadtv3 ай бұрын
@@FindingPepperthey mean that if a side of a block is behind another face (you cant see it becuase there is a different block side in front of it)
@culan_SCP3 ай бұрын
W VID!!
@maksiurino995414 күн бұрын
But, how to make transparent blocks?
@DaAlphaDawg2 ай бұрын
I do have question, why u have the textures to go vertical and not horizontal like Grffpatch's engine. Because using Griffpatch's method it will be a bit easier to add more textures. Also have fun with your vacation! :D
@rebeccaxing742 ай бұрын
Check the comment below.
@rebeccaxing742 ай бұрын
It's so that they are easier to define which is first and with is last as the scanning scripts might not do it the way you intend it to.
@DaAlphaDawg2 ай бұрын
@@rebeccaxing74 ah I see
@Kurczaq2 ай бұрын
Cool tutorial! I wonder when there will be E3 to this! Also i started to watch your Paper Minecraft tutorial. Can you do episode 7 please? Edit: You just got +1 subcriber!
@FindingPepper2 ай бұрын
Episode 3 will release when I'm back from my trip, at the beginning of August.
@KurczaqАй бұрын
@@FindingPepper The fact that i named this sprite "Game" before i knew that you named this "Game" too
@champion_ofcloud-var3 ай бұрын
69th like
@Bunn-y2Fnaf2 ай бұрын
When ep 3
@LucasD.2 ай бұрын
august bc he is travelling
@Bunn-y2Fnaf2 ай бұрын
@@LucasD. Ok
@RonicTheEgg3 ай бұрын
u gonna add occlusion?
@FindingPepper3 ай бұрын
Next episode
@Xman-m5f25 күн бұрын
Hey pepper! I have a question: How would you add more than 18 textures to the engine?
@FindingPepper25 күн бұрын
Up to 24 textures can be stored in a single column. Beyond that you could add multiple columns in a single sheet (a method I've seen a few people use, you could check the tutorial's studio to see how people have done it). Or you could use the method of having multiple costumes, each with one column. Episode 4 establishes the framework for this.
@Xman-m5f25 күн бұрын
@@FindingPepper ok thanks!
@Polaar543 ай бұрын
When I do the faster raycasting optimization, my cube is only two pixels tall and the inside of the cube is not rendered
@jeandang83763 ай бұрын
The inside is not supposed to be rendered
@rebeccaxing742 ай бұрын
Did you set all the variables in the beginning of the video?
@blackiedape7653 ай бұрын
im proud that you have 1k subs the reason im recreating minecraft on scratch becuz i miss alot of my friends they quit and unstailed minecraft one by one and they tell they saw creepy ghost then i got a virus so i unstailed minecraft and all of my memories of minecraft was gone thanks findingpepper you made my mood better
@enderantmMCalt3 ай бұрын
how to you get a virus over Minecraft? 💀
@blackiedape7653 ай бұрын
i got a waring and i looked in minecraft myself and i saw textureless blocks and my other worlds was gone and i was scared of seeing a ghost or smthing cuz im a scaredy cat
@enderantmMCalt3 ай бұрын
@@blackiedape765 were you playing Error 422? 💀
@enderantmMCalt3 ай бұрын
@@blackiedape765 if thats not error 422, thats a virus from somewere else thats also affecting minecraft
@blackiedape7653 ай бұрын
@@enderantmMCalt IM PLAYING ON MOBILE my mobile is weird so idk everything on it
@alfarmer897314 күн бұрын
How do you rotate the camrra with mouse?
@FindingPepper12 күн бұрын
See episode 3
@sssamson1768Ай бұрын
How would I make the project detect for separate columns of textures as well? Instead of just the single column?
@FindingPepperАй бұрын
You could add multiple texture sprites, each a single column (episode 4 establishes a framework for this)
@sssamson1768Ай бұрын
@@FindingPepper I feel like that’s wasteful, I mean you can fit like 29 more columns of textures.
@FindingPepperАй бұрын
@@sssamson1768 Yeah it's very wasteful but it's easier to code :) And scanning doesn't need to be done at all during gameplay so the speed isn't too important.
@Coocoding3 ай бұрын
What up
@FindingPepper3 ай бұрын
The sky
@Coocoding2 ай бұрын
Is that in the next episode?
@FindingPepper2 ай бұрын
@@Coocoding No it's above me :)
@avyansingh39723 ай бұрын
I found a problem in my code the whole thing works fine but when I ran it to see if the textures work the textures were just plain black- How Do I fix this??
@jeandang83763 ай бұрын
Did you make sure it was the « scan » list that you were setting the colour variable to?
@jeandang83763 ай бұрын
It’s a very important part
@avyansingh39723 ай бұрын
@@jeandang8376 yeah
@avyansingh39723 ай бұрын
@@jeandang8376 can you give me a scratch link to this because I remember downloading in my files but its not there so I dont have it.
@jeandang83763 ай бұрын
Well I can't do it on youtube because it doesn't support links, so could you give me your project link on finding pepper's scratch profile? (Could you also give me your username so I can identify you because there are A LOT of people asking for help) If I can't find the bug, I will give you the project link of my project so you can save it to your computer, then load it on your own project.
@Polaar543 ай бұрын
for some reason when I have more than i cube, when I click the green flag, the cubes are split into a stair case and it looks like the cubes are being split apart by rows. Idk how else to explain it I wish I can show a picture
@jeandang83763 ай бұрын
Did you set the pen size to « resolution*1.4 »
@Polaar543 ай бұрын
@@jeandang8376 yes
@jeandang83763 ай бұрын
@@Polaar54 could you sent your project link on findingpepper’s profile, if he has time he might be able to fix it
@Friendlyclassic3 ай бұрын
Early! And you have amazing talent
@Note_Cubes2 ай бұрын
Is this textures supposed to load very long? Yet again I still can't render textures It keeps breaking on the gray screen
@rebeccaxing742 ай бұрын
Do you mean in the scan textures? If yes, then it probably is because you "switch costume to textures" but the old costume that was deleted. Switch it to the updated costume. If that wasn't the problem or the problem still isn't fixed, then please explain in detail what the bug is.
@Note_Cubes18 күн бұрын
@@rebeccaxing74 x/y are not moving in scanner in the editor x is stuck on 2 And y is stuck on 142 Even if I add turbo mode or without it nothing happens and the screen is Gray I also tried it on a different tab and waited now it says page unresponsive You can wait for it to be responsive or exit the page I feel like I can't render textures & sorry if this took so to reply
@bruh-j3f2 ай бұрын
what a super hard code
@Novaprospekkt3 ай бұрын
I have a question. Whenever I run the scanner, It'll start but then freeze up after a few seconds. If I turn off Warp Timer, the tab crashes. I double checked and everything looks to be identical, is there any explanation for this?
@Novaprospekkt3 ай бұрын
oh wait. I forgot to change the costume from the original to the new one.
@Sd7m152 ай бұрын
Hey, im really stuck on this and ive checked it 5 times, when i run the project, the top and bottom and 2 of the x pictures are perfect but 2 of the scanned pictures stretch based on where i move, how do i resolve this?
@rebeccaxing742 ай бұрын
Could you send a link to your (shared) project on scratch?
@Sd7m152 ай бұрын
@@rebeccaxing74 sadly it won't let me share it onto scratch it's on turbo warp
@rebeccaxing742 ай бұрын
@@Sd7m15 save to your computer, then go to scratch create a project, then in file, click load from your computer. You can now share this project.
@Sd7m152 ай бұрын
@@rebeccaxing74I did it now, the project is called "please fix girl from yt" (it is the name of the project I'm not joking)
@rebeccaxing742 ай бұрын
@@Sd7m15 Great! 👍 I will look into that.
@Someone_433 ай бұрын
Lovely stuff! But at this point one should proceed only for the fun of it. In, say, Unity, everything up to this point would be possible in about 3 minutes. But great work nonetheless!
@FindingPepper3 ай бұрын
True, though I find it to be a fun challenge!
@Luilu3 ай бұрын
Nice project
@MeIsZwi3 ай бұрын
This is awesome!
@jeandang83763 ай бұрын
1k subs!!! 🎉🎉🎉
@FindingPepper3 ай бұрын
Thanks for your support on these videos and previous ones!
@Sh33pysleepy3 ай бұрын
Last video my things weren't rendering
@jeandang83763 ай бұрын
Did you sent a link to findingpepper’s profile on scratch?