Making The Same Game Without And With Coding !

  Рет қаралды 8,026

Code It All

Code It All

Күн бұрын

Пікірлер: 56
@unrequit3d
@unrequit3d 11 күн бұрын
Implementing "jump physics" into Scratch isn't that hard, while your jump system... works... it's just really easy to improve. For a simple run down of the most basic platformer engine, all you need really is five variables. Speed X, speed Y, falling, GRAVITY, and FRICTION. --- Getting Started First, you need to set GRAVITY and FRICTION to your desired values, and set speed X, speed Y, and falling to 0. If your player starts midair, then set falling to a high number. --- Physics Next, you need a forever loop, inside that forever loop you make speed Y change by GRAVITY every time and change Y by speedY, this will make the player fall down and progressively get faster. --- Vertical Collision So, you have a falling player, now you need collision. Make a custom block and name it whatever you want, and make sure to tick "run without screen refresh", inside of that custom block, add an if statement to check if the player is touching the ground/level, if so, then make a repeat until NOT touching the level and change y by 1 and set speedY to 0. --- Jumping Inside the forever loop, add an if statement with a keypress then make it so that when the key is pressed, speed Y is set to a number like 12, since we always call change Y by speed Y, this will make your player go up, then back down. This is very simple and looks way better, but if you spam the key, you can jump forever. To combat this, put a change falling by 1 block near the change Y block, and make sure that when the jump key is pressed, the falling variable is less than 3 to account for coyote time. Inside the custom block, make sure you set falling to 0 when you touch the ground. --- For player movement Use if statements for key presses and then add change speed X by (desired speed) accordingly. Negative for left, positive for right, all that. Then at the bottom, add a set speed X to speed X * FRICTION to get that slide. I recommend 0.8 for FRICTION (it's what I use), then add a change X by speed X. There you go, easy script. It might not be fully clear in this comment, but it should be easy enough to grasp.
@w_graphicsfr
@w_graphicsfr 12 күн бұрын
I feel like you should have learned a little bit about scratch before starting.
@Code_It_All
@Code_It_All 12 күн бұрын
You're right, but I wanted to see how "easy" Scratch was, as a coder
@Yehor-v7y
@Yehor-v7y 12 күн бұрын
​@@Code_It_Alla little bit
@BangoloBangala
@BangoloBangala 10 күн бұрын
@@Code_It_All i got so mad dude you could do the smooth jumping script in scratch as well dude
@ceddavis7441
@ceddavis7441 10 күн бұрын
for those learning to program, I would suggest using godot. Not because of "real" programing, just because it's very, very versatile. It's both 2D and 3D and is for the most part, easier to push out into the "professional" world.
@jefreestyles
@jefreestyles 13 күн бұрын
Visual programming is kinda cool before learning how to type properly and speedily. So like between grades 1 and 4 or so. Also, learning game concepts from them is nice but then learning the different branded terms is going to be annoying. E.g. broadcasts vs functions. Just like call them functions for goodness sake.
@Funey-Potat-Enjoyer
@Funey-Potat-Enjoyer 8 күн бұрын
my blocks are functions, not broadcast blocks
@dqnkdoggo_
@dqnkdoggo_ 10 күн бұрын
I prefer visual programming because 1. I’m stupid af 2. I’ve always been a visual learner
@rafaelryan2
@rafaelryan2 9 күн бұрын
i changed from pocket code to godot, now i just need to learn about godot's ui and gdscript
@Code_It_All
@Code_It_All 7 күн бұрын
It's really simple if you like I have some starter videos on Godot to make a simple FPS game ( even a Horror one ! )
@ujjuplays4748
@ujjuplays4748 13 күн бұрын
You got a sub❤ I am beginner and I found this channel very useful for me 💖
@Code_It_All
@Code_It_All 12 күн бұрын
Thank you for the Sub and Support, means a lot :)
@Gravelbridge
@Gravelbridge 13 күн бұрын
Damn your so underrated i loved the vid man
@InvasionAnimation
@InvasionAnimation 10 күн бұрын
I think a more ideal visual code engine would be gdevelop. It even runs in the browser too. Godot is way better than scratch. I am still learning to code but I bet bit will be more powerful than gdevelop as well, even though I really like Gdevelop.
@Code_It_All
@Code_It_All 10 күн бұрын
I've heard a lot of people tell me try GDevelop, might wanna give it a try, thanks for your time watching the vid :)
@g0rped
@g0rped 9 күн бұрын
6:13 bro. Just place show outside the forever loop, right below the green flag event
@CrasyGuy
@CrasyGuy 12 күн бұрын
How is scratch not coding ?
@Yehor-v7y
@Yehor-v7y 12 күн бұрын
It is
@PixelatedInsightsOfficial
@PixelatedInsightsOfficial 11 күн бұрын
@@Yehor-v7y its coding but its not good enough for proper games
@DeoxyRiboNucleicAcid47
@DeoxyRiboNucleicAcid47 11 күн бұрын
@@Yehor-v7y it isn't. coding and programming are not necessarily the same thing. coding is typing out computer code in a programming language, while visual scripting is not. visual scripting is programming just as much as coding is, but coding and visual scripting are two different methods of creating a computer program.
@CrasyGuy
@CrasyGuy 9 күн бұрын
@@PixelatedInsightsOfficial 👺 You crossed the line 😦
@BLUEBLY487
@BLUEBLY487 7 күн бұрын
very good explanation ​@@DeoxyRiboNucleicAcid47
@GabrielB-cg8rj
@GabrielB-cg8rj 12 күн бұрын
Pretty cool video. I’d like to see you try this again but maybe with the help of someone who understands scratch a bit better! Like you both try to make the same game in the respective methods
@SupernovaesAnimations
@SupernovaesAnimations 11 күн бұрын
If you want an actual good visual scripting engine next time you should use GDevelop or Construct
@BLUEBLY487
@BLUEBLY487 7 күн бұрын
construct is paid, so game maker won't attack your wallet
@riyajulislam1082
@riyajulislam1082 10 күн бұрын
I love this bro, I subbed just now can you please make a whole series where you teach godot 3.5 I have a really old computer so it can only run the 3.5 version but I really like 2d games but I am really bad at gd script so please bro.
@hallcreeper
@hallcreeper 12 күн бұрын
It was so good but visual code is not further than text coding it just want you like to code with I have tried godot and scratch but I prefered scratch because I use it better ‏‪and yah ‏‪4:24‬‏ I did😂😂
@Natasha-fr1sf
@Natasha-fr1sf 11 күн бұрын
Im a begginer and ive never heard someone call JUMPING hard
@luisenriquevictoria6462
@luisenriquevictoria6462 10 күн бұрын
Im am a scrath dev and to code jump in scrath jump when flag click if then space click repeat y block 10 reapeat y block -10
@bobthebuilder-do1rt
@bobthebuilder-do1rt 9 күн бұрын
Theres a forever block
@Code_It_All
@Code_It_All 7 күн бұрын
I did USE it
@Vooom_OFFICAL
@Vooom_OFFICAL 13 күн бұрын
W vid
@CoderCraft2024
@CoderCraft2024 9 күн бұрын
The set score to score+1 is insane! (Not hating btw). Change score by 1 does the sme thing.
@Code_It_All
@Code_It_All 9 күн бұрын
I see your point, but that's just my "coder" brain doing it's best since that's how you do it in GDScript
@toyekol0
@toyekol0 11 күн бұрын
idk why you using set variable to instead of change variable to for score annoyed me so much but it just did what the hell
@yahiasanimations
@yahiasanimations 11 күн бұрын
He made everything wrong
@andrejbreininger8889
@andrejbreininger8889 12 күн бұрын
Nice Video.
@WoollyMammoth4040
@WoollyMammoth4040 7 күн бұрын
The ironic thing is he actually did more coding in Scratch than he did in Godot. Installing a physics engine and using a pre-built camera system is not coding. In Scratch, since you actually have to code those things yourself, he was lost! He wouldn’t even know how to do that in Godot! It’s honestly sad that he thinks what he did in Godot is more advanced than what he was trying to do in Scratch. Guarantee you he’s worse at understanding code logic than an experienced Scratcher.
@Code_It_All
@Code_It_All 7 күн бұрын
It is not advanced code, but better result, by someone who has mostly written code, however the underlying code for physics is more advanced. The point of this video is not about which one is more advanced or better...
@WoollyMammoth4040
@WoollyMammoth4040 7 күн бұрын
@Code_It_All Obviously you get a better result when you take code that other people have dumped hundreds of hours into making. What are you even comparing here? “underlying code” lol you realize Scratch doesn’t have this “underlying code”, right? Meaning you actually have to code it yourself. And yet you have the audacity to imply that you were coding the game in Godot whereas you were doing it in Scratch “without coding” as stated in the title. If anything, you were coding in Scratch and not coding in Godot
@yoguysitsdrak
@yoguysitsdrak 11 күн бұрын
Im sorry but idk what i was feeling when reading your code in scratch, honestly for a beginner it was not that bad, i think you should have done like some research before starting!!
@SouperMediocre
@SouperMediocre 12 күн бұрын
I don't use scratch but I use visual programming. I know some java but I can code much faster with visual programming. my high school uses a platform called Microsoft makecode arcade - it can do what java can with visual programming and I have made some crazy things with it, most of which do not run well due to the terrible platform.
@qiaolin3919
@qiaolin3919 8 күн бұрын
I am literally you but instead of godot I use ue5, I did a bit of blueprint but overall I like c++
@BLUEBLY487
@BLUEBLY487 12 күн бұрын
why compare something made for 6 year olds against Godot.. Gdevelop would be more fair, it would show people that you can make complex games without needing to use Godot or unreal or unity. I never hear people talk about Gdevelop
@banka_gd
@banka_gd 12 күн бұрын
Хорошее видео
@archniki_
@archniki_ 10 күн бұрын
That coding blcoks shall get more attention
@joeisfat
@joeisfat 10 күн бұрын
i feel so insulted
@kiekiestudios
@kiekiestudios 11 күн бұрын
no offence but you are not good a scratch,feels slightly unfair that this is your first time making a scratch game (i died of cringe 80s ofter you opend scratch)
@kiekiestudios
@kiekiestudios 11 күн бұрын
i had to leave at 3:40 not finding the forever loop made me feel mentaly damaged
@FunnyCreeper
@FunnyCreeper 10 күн бұрын
At least use UE visual coding/blueprint system
@Code_It_All
@Code_It_All 10 күн бұрын
Might be something I'll check out in the future
I Turned Subway into a VR Game!
8:02
AJ08Coder
Рет қаралды 399 М.
Mirrors, Every Way You Can Make Them In A Video Game
8:14
Code It All
Рет қаралды 70 М.
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
the 7 levels of game developers
10:58
samyam
Рет қаралды 52 М.
I Simulated the Three-Body Problem in Scratch
13:58
Skylimit Adventures
Рет қаралды 17 М.
I Coded Minecraft Features Nobody Asked For...
28:58
Knarfy
Рет қаралды 365 М.
Can You Make A Unity Game On Windows 98?
6:30
Aliensoft Games
Рет қаралды 18 М.
Making A Game, But I Can Only Use Code From ChatGPT
8:39
Code It All
Рет қаралды 6 М.
I Competed Against 5 Game Devs for $3000 - Imago Devlog 0
22:35
Nerd Chomp
Рет қаралды 20 М.
Making an ICONIC Game in Scratch
5:37
BMo
Рет қаралды 10 М.
Optimizing Your Godot Game's Rendering With MultiMeshInstance2D
17:25
Doing What Every Tutorial & Devlog Says Not To Do
8:23
Could I Code?
Рет қаралды 18 М.