Damn, its actually strange none of the courses I've done so far even mention any of this, the most they tell you about print and printt.
@orglightning2 ай бұрын
devworm is goated
@Qas22w2 ай бұрын
Nice tips! I want to improve the first one a little bit. You should start the func with "if not OS.is_debug_build(): return" on the first line, and keep all the hotkeys below this. It keeps you from having to write "not OS.is_debug_build()" on every hotkey snippet.
@dev-worm2 ай бұрын
that is a very good point! that would make it much simpler
@olivermatthews811014 күн бұрын
Also, even when doing it in a single if statement, you should* put the debug check first as it will be ever so slightly more performant due to lazy evaluation. *Strictly you should put conditionals in descending order of probability, but weighted by check cost; so there are times putting debug checks first are wrong, but realistically you can safely ignore them.
@jeremiahaemile20082 ай бұрын
although i take break from gamedev and start in appdev i still watch your amazing videos keep up😻
@dev-worm2 ай бұрын
aw thank you so much!! it truly means the world jeremiah!! it always makes me so happy to see your comment!
@DutchyTechTips2 ай бұрын
Thank you, very helpful and we can now make changes to suit.
@acetrainerarcane17552 ай бұрын
Im glad I found this when I'm starting to create my game for a jam
@dev-worm2 ай бұрын
that is amazing!! i hope it can help!! goodluck in the game jam!! update me on how it goes!
@Seraph1202 ай бұрын
Thank You for Your video! For Me personally, You chose good selection of things to cover. And i find Your explanations are well between in-depth and to the point.
@dev-worm2 ай бұрын
Glad it was helpful!
@we1n1ng2 ай бұрын
I was wondering how I was going to start debugging and understanding various errors that occur. Again, thank you for the tips 🙏
@dev-worm2 ай бұрын
i’m glad it was helpful!! your comment has made my day!! it truly means the world!! if you have any questions just let me know!!
@we1n1ng2 ай бұрын
@@dev-worm I appreciate your response and you are most welcome. I will, thank you. Please keep up the good work you're doing 🙂
@tigwykplaysgames2 ай бұрын
The tip about push_error was super useful, thanks!
@dev-worm2 ай бұрын
so happy to hear!!
@completelyrandomlyhandlee2 ай бұрын
As always great video! been watching you for some time now and your experience shows. Can i request that you do a video on tile maps and how to delete specific tiles/groups of tiles at a point AND inside and area. You seem to have a good understanding godot and i appreciate how you explain everything.... i have been so stuck and a lot changed with tile maps from 3-4. I KNOW people would watch it.
@dev-worm2 ай бұрын
that is a great suggestion!! i just noted it down and will look into it in more depth soon!! hope i can help!
@YamanAlBaini2 ай бұрын
This video is so helpful although it is simple Thanks a lot❤
@dev-worm2 ай бұрын
thank you!! i hope it provided a bit of value!
@neptun31892 ай бұрын
grats on 30k dude, so good to see
@dev-worm2 ай бұрын
thank you so much! it means the world!
@ndexerАй бұрын
This channel is gold
@HansMilling2 ай бұрын
I hope future versions of Godot will support better debugging. When hitting a breakpoint, it would be so nice to be able to hover over different variables/objects and see their values and properties. Often nothing happens or you just see the objects is. I have not used the print statement since coding on my Commodore 64. So having to revert to that feels so dumb.
@WizardofWestmarch2 ай бұрын
Minor detail but something that could be useful is put the is debug check first so you can short circuit on release. Technically not the biggest deal but a good habit to form in general of putting the thing most likely to end a short circuited if/etc block first to avoid extra binary checks, for those times where it is in an inner loop (and not like doing it makes the code less readable)
@dev-worm2 ай бұрын
that is smart! i don’t know why but i never even thought of that! you learn something new everyday! thanks!
@WizardofWestmarch2 ай бұрын
@@dev-worm Not a problem, thank you for releasing high quality Godot content, we need to keep creating more and more to help everyone who wants to try it :)
@pennyloafers2 ай бұрын
The debug panel and remote tree can do most of this video for you without any code. You can modify values in any node in the scene tree. Although a little more manual and also pausing is a thing. You also have "breakpoint" keyword which wasn't mentioned which can be used for condition breakpoints.
@orglightning2 ай бұрын
thank you DevWorm your videos are always a blessing
@dev-worm2 ай бұрын
thank you so much!! that means the world to me!! i hope it was able to provide a bit of value!
@CFiu87372 ай бұрын
That help me so much!! You are the best
@dev-worm2 ай бұрын
so happy to help!!
@XGazudin2 ай бұрын
Incredible advice, you earned my sub!
@dev-worm2 ай бұрын
thank you so much!! so happy to hear!
@kai190382 ай бұрын
Your tutorials are very cool, can you make a video on how to make bullet time or a dash that dealt damage on the path in Godot?
@drJavi2 ай бұрын
This will help a lot. Thanks for sharing.
@dev-worm2 ай бұрын
thank you!! i hope it can help!
@Volt-Eye.2 ай бұрын
Congo for 30 K
@dev-worm2 ай бұрын
thank you so much!! it means the world!
@fuzzy-022 ай бұрын
You wormed your way inti ny subscribe list. And I aint complaining
@dev-worm2 ай бұрын
lol thats actually funny.. thank you!! just happy i could help!
@dragongoddragneel71062 ай бұрын
Thanks for the debugging guide.
@dev-worm2 ай бұрын
hope it was helpful!! thank you!
@dragongoddragneel71062 ай бұрын
@@dev-worm if you are taking video suggestions. Here are somewhat different of mine: 1. Games made in Godot engine each month top 5-10 2. New Video series about making popular game modes 3. In-depth guides about popular godot nodes. 4. Some stuff you discovered that would save others time.
@Rotado2 ай бұрын
Really helpful for a beginner
@dev-worm2 ай бұрын
glad to hear!! thanks!
@DrW1ne2 ай бұрын
Best way to debug is to not make bugs in the first place. Sadly that's hard.
@thesomeone2nd2 ай бұрын
More like impossible unless you practice the same project a lot of times.
@dev-worm2 ай бұрын
i wish it wasn’t hard lol
@hotcrossbun262 ай бұрын
I feel so stupid now for writing code with bugs in it. It was this simple the whole time 😂
@NexNoctis2 ай бұрын
That's like saying: 'The secret to an endless life is to be immortal.' It it true, but it's not helpful at all :D
@DrW1ne2 ай бұрын
@@NexNoctis lmao
@bloop15042 ай бұрын
hi! im commenting on this because its your most recent video, but i come from your wall jumping and wall slide tutorial! amazing btw, it's been such a great help in my beginning journey as a godot developer! i'm having an issue though, when i first tried your code, i didn't like the fact that the player had the ability to wall jump multiple times on the same wall. so, to try and fix this i implemented code that used rays to check which wall the player was last on and setting if they can jump on the wall to true or blah blah blah, so that they could wall jump between two DIFFerent walls. however, the player is able to exploit this code because they can wall jump on a wall, quickly turn to the other direction, and then quickly turn back to the previous wall and this resets their wall jump, thus letting them jump infinite amount of times on the same wall. is there any way you could try and help me fix this issue? i'm not sure what to do whatsoever, i've thought about adding some kind of cooldown to the wall jump, but i'd rather not because that could stop the player from jumping from two different walls quickly. anyways, your videos have been such a great help to me overall and this is just a tiny issue i have! thank you!!
@NIGHTMARE-yp4oz2 ай бұрын
@@bloop1504 just make it a feature. If you don't want the player to walljump to a place just make it closed. You can checkout hollow knight, it doesn't have any cool down on walljump and has implemented it beautifully
@MuffinMan_Ken2 ай бұрын
is_debug_build will also be true in an exported debug build. There is a separate test to see if you're running in the editor.
@kunai98092 ай бұрын
0:33 of course there are differences other than that function... Release builds are further optimized than debug builds
@LocherYT2 ай бұрын
i am honestly too lazy to implement proper debugging scripts to set HP or other variables. I usually go straight into the remote tab and tweak thinks around until they look right
@do_it_like_rei2 ай бұрын
I''m watching that platformer series now! Can you please make a video on an in-game clock and calendar? I can't figure it out and if anyone can teach me, it's you
@dev-worm2 ай бұрын
ill start looking into creating a tutorial about it!! thanks for letting me know!! goodluck in the platformer series!! if you ever need anything just let me know!
@do_it_like_rei2 ай бұрын
@@dev-worm You're amazing, thanks sm!!
@somebody70902 ай бұрын
hey i was wondering if you could do a vid on making your character shoot projectiles (like knives or from a bow and arrow) ty if you see this
@dev-worm2 ай бұрын
I have a plan for this in a upcoming series!! so I hope that will beable to help!!
@TRFWINGS2 ай бұрын
can you make a tutorial on how to make enemy ai that con do platforming/jumping/moving
@Burnrate2 ай бұрын
No mention of print_debug()? I know it's a simple one but worth mentioning for a video like this. Or print_stack too which i find to be rarely useful though.
@dev-worm2 ай бұрын
youre right i shouldve mentioned print_debug() I dont know why I didnt! thanks for pointing that out!!
@crazycross55012 ай бұрын
Are you able to do 3d game toutorals one day 😊 thank you for all the 2d ones
@dev-worm2 ай бұрын
i may start looking into them soon!!
@Zero-el6gs2 ай бұрын
Do you recommend learning gd script for someone new to game development or c#?
@dev-worm2 ай бұрын
i really recommend gdscript cause it is kinda like writing english instead of code… but you get to learn the way programming is structured and everything
@NikaDolidze-rg2xy2 ай бұрын
whats the difference between OS.has_feature("debug") and OS.is_debug_build() ?
@Volt-Eye.2 ай бұрын
1:05 is it your PC Fan ?
@nehasrivastava79922 ай бұрын
nice video❤❤
@dev-worm2 ай бұрын
thank you!!
@harshguptaxg27742 ай бұрын
Best way to debug is print statements 😂
@dev-worm2 ай бұрын
this is so true lol.. just make sure to remove them after
@harshguptaxg27742 ай бұрын
@@dev-worm lol that's another headache
@NIGHTMARE-yp4oz2 ай бұрын
Hey can you please create a new latest video on how to make a 2d physics based grappling that we can use to swing. I have seen your old one but its just too long and old and not suiting ( can you please try to keep it simple)
@dev-worm2 ай бұрын
ill start working on one!! thanks for letting me know!
@NIGHTMARE-yp4oz2 ай бұрын
Thanks man you saved my game
@NIGHTMARE-yp4oz2 ай бұрын
I love how much you care and listen to your audience, you won yourself a permanent and loyal sub
@danielsalimonu2 ай бұрын
please can i join in making games with you, im really good at logic
@dev-worm2 ай бұрын
thatd be fun! we could do a game jam together
@danielsalimonu2 ай бұрын
@@dev-worm so were do i start
@danielsalimonu2 ай бұрын
devworm?
@B33BopTheAlien2 ай бұрын
WHEN IS FACE REVEAL? :D
@dev-worm2 ай бұрын
ahh..
@halfsine2 ай бұрын
debug build is not a very good idea imo. debug mode should be accessible to any player, but hidden away. a lot of games that give the player access to debug mode are also some of the best and most modded games of all time