Learn to Program #1: Introduction
11:59
IN-GAME TIME in Godot (4.3) #2
11:38
Introduction to SHADERS (in Godot)
15:56
Пікірлер
@dreidgon
@dreidgon 6 сағат бұрын
Good tutorial, I have a small problem, if my enemy has life points with a progress bar, it hit's it twice with one swing of the sword, the issue is with turning on and off the collision, if I leave the collision on all the time it works, but I am not swinging if its turned on
@dreidgon
@dreidgon 6 сағат бұрын
I figured a way around this, it might help you if you see if its a good option. Instead of controlling the activation/deactivation of the collision on the actual script of the weapon node, you could control it on the actual animation. At the beggining of the animation swing add a call method that will activate the collision, at the end of the animation swing call another method to deactivate the collision. Thank you for the tutorial, it help me a lot and also to find this error, of mine good day!
@seqqisempozyumu
@seqqisempozyumu 7 сағат бұрын
great guide, thank you!
@Kyleology
@Kyleology Күн бұрын
Here's how I do it: Use an array as a stack. Push a directional movement onto the stack on key down. Remove all instances of a direction from the stack on key up. Look at the direction on the top of the stack and move in that direction. It's a little more complicated, but it allows movement to act the way players expect.
@MakerTech
@MakerTech 22 сағат бұрын
That also sounds like a good solution :)
@thegamesirege
@thegamesirege 4 күн бұрын
Great video! ❤God bless y'all owo
@thegamesirege
@thegamesirege 4 күн бұрын
Great video! God bless y'all❤ owo
@rosshanks3566
@rosshanks3566 5 күн бұрын
I followed along, and it updates when i get hurt, but it doesn’t reset to max hearts when I die and respawn. Any tips?
@luKa.K-L
@luKa.K-L 5 күн бұрын
Дуже круте відео Дякую
@TheR3dPainter
@TheR3dPainter 5 күн бұрын
Hello awesome vid! Can this tutorial be used for also a heart meter in a dating sim game? I can't seem to find a tutorial anywhere for it. :(
@MakerTech
@MakerTech 5 күн бұрын
Probably. It should work for any kind of integer data. But my best advice is just to try it out, see how it fits and then evaluate what works and what you might want to change :)
@levichel
@levichel 7 күн бұрын
I'm doing exactly the same thing, but it still doesn't show the item in debugging. Can you help me in any way, please tell me what the problem might be. Thank you in advance! Your lessons are very helpful to me!
@ahmadabdallah2896
@ahmadabdallah2896 9 күн бұрын
You don't understand how badly i needed this, thank you so much.
@MakerTech
@MakerTech 9 күн бұрын
That is so great! I’m glad you found it helpful :)
@Fin_DevLog
@Fin_DevLog 9 күн бұрын
Im pretty sure u can do the same with out the texture in godot i always make my buttons without textures
@Kio_Kurashi
@Kio_Kurashi 8 күн бұрын
Well you can if you want to use the built in button styles to create a flat and then slap a label over it for whatever text you need.
@coobbyo
@coobbyo 9 күн бұрын
This is a neat!
@dungeonchunks2344
@dungeonchunks2344 9 күн бұрын
Need some help can anybody tell me how to fix this error please. Thank you. load: res://inventory/items/sword.tres:4 - ext_resource, invalid UID: uid://dnn47dkme0wg3 - using text path instead: res://art/sword.png <C++ Source> scene/resources/resource_format_text.cpp:453 @ load()
@manda_was_here
@manda_was_here 10 күн бұрын
Adorable!!!
@MakerTech
@MakerTech 10 күн бұрын
Thanks :)
@BackSpace101
@BackSpace101 11 күн бұрын
Hey, Great video! I'm stuck on 8:27 with setting a name for my scene trigger name thing, I have mine as @export var connected_scene: String #ShopRoom ShopRoom is the name of the file with my Room but im not sure if I need a hashtag or type 'string'. is string the name, what name did you use?
@dungeonchunks2344
@dungeonchunks2344 11 күн бұрын
Hi MakerTech, I love your videos. Are you ever going to make the death scene for the player when it’s health is lost with a respawn. I have to say that you are the best RPG dev in youtube with great tutorials.
@MakerTech
@MakerTech 11 күн бұрын
I'm actually brainstorming ideas for the next few videos right now. I'll put in on the list as we speak and then we'll see what happens :)
@aykhannesibli12
@aykhannesibli12 12 күн бұрын
thanks
@Krapochka-f4p
@Krapochka-f4p 13 күн бұрын
Будьласочка модете допомогти мені розібрати пачку "collectables" я не розумію кули і шо ви додавали туди, будьласка зробіть окреме відео, я аж плакати хочу, у мене не виходить
@Krapochka-f4p
@Krapochka-f4p 13 күн бұрын
Я вас прошу, допоможіть Мені
@Krapochka-f4p
@Krapochka-f4p 13 күн бұрын
БЛІНННН, я не знаю як ти зробила скрипти для lifeplot та sword і особливо для collectable, я не знаю як створювати спрайти які з'являються на карті та зникають коли персонаж до них підходить і особливо щоб вони поміщались в інвентар, Можеш Будь Ласка створити на цю тему Відео?!?!🙏🙏🙏🙏
@Kieran_Martin
@Kieran_Martin 15 күн бұрын
I am a couple weeks late, sorry. This was really good information. I also agree that it needs to be one of the early videos, as it provides critical tools to learn. Thank you so much for your hard work and for taking the time to help us with the basics such as this. I can imagine it would be boring to cover and maybe even feel a bit pointless for someone with experience already. Keep up the great work. I will give the workspace a try and practice a bit more.
@MakerTech
@MakerTech 15 күн бұрын
This for your comment, it really means a lot! Also, this isn't boring for me to cover at all. One of my dream jobs used to be teaching Introduction to Programming at uni :)
@dungeonchunks2344
@dungeonchunks2344 16 күн бұрын
Thank you for your tutorials there great. I'm starting your rpg series but I would like my player to move like zelda in a 4 directional movement not 8 way movement. How would I implement that to my player. If you ever get a chance to do a tutorial on that would be great and apricated. No one else in KZbin have 4 directional movement video.
@MakerTech
@MakerTech 15 күн бұрын
If I don't already have it on my (long) list of ideas, then I'll put it on. I actually have 4 directional movement in both of the projects I'm working on myself.
@mcorplab2719
@mcorplab2719 16 күн бұрын
Calling get_parent() on a node inverts the parent->child hierarchy, making the child responsible for knowing what type of node the parent is. Instead it is recommended to use signals.
@pavloburyanov5842
@pavloburyanov5842 17 күн бұрын
Solution 4: Expose and use component methods from root node avoiding implicit behavior. Pros: more control, easy to make/debug, reusable. Cons: a bit of code in the root node is needed to glue them together.
@MakerTech
@MakerTech 15 күн бұрын
Thanks for the input :)
@ИнтеДайр
@ИнтеДайр 19 күн бұрын
autotile of different tiles, please
@notcherry7859
@notcherry7859 19 күн бұрын
For anyone struggling with the ``invalid get index "player"`` error, I found a fix that worked for me using player = from.get_node("Player") instead of player = from.player
@notcherry7859
@notcherry7859 19 күн бұрын
Actually I think this error comes from the script on the World node not extending the BaseScene (18:11)
@cheesycrackers-x7i
@cheesycrackers-x7i 20 күн бұрын
Note: This will most likely only work if your tile sprites are 16x16, and will not work if the upper left corner of your tilemap is not the origin. That is because rendering_quadrant_size isn't the tile size. To get the tile size as a vector from upper left corner to lower right corner, use tile_map.tile_set.tile_size Then access its x and y attributes to get the x and y dimensions. If your tilemap doesn't begin at the origin, use tile_map.position.x and y for the upper left corner and tile_map.end.x and y for the lower right corner. Eg.: limit_left = mapRect.position.x * tileSize.x limit_top = mapRect.position.y * tileSize.y limit_right = mapRect.end.x * tileSize.x limit_bottom = mapRect.end.y * tileSize.y
@ভোমরা
@ভোমরা 21 күн бұрын
Create 3d game...2025now
@asthalis
@asthalis 21 күн бұрын
so what ? 2d games can be fun too
@MakerTech
@MakerTech 20 күн бұрын
What kind of 3D game/festures would you like to see tutorial on? I can’t promise anything, but I’m always open to suggestions 😎
@zaludaoldrich
@zaludaoldrich 21 күн бұрын
I have a similar game, but in 3D. For transitions between states, I started using a Finite State Machine (FSM). I encountered a problem with the async function await because it cannot be intercepted and its execution cannot be terminated. Therefore, I always use a timer. I also added the logic for "search" in this order: the enemy sees the player > the enemy chases the player > the enemy loses the player > the enemy searches around the area where the player was lost > the enemy returns home. And of course, thank you for another great tutorial.
@godot_programmer0808
@godot_programmer0808 22 күн бұрын
lol i got it here pls give heart to me
@martinithechobit
@martinithechobit 22 күн бұрын
The mosy important
@yassineakkour153
@yassineakkour153 22 күн бұрын
I just started using Godot and making games and sincerely this is one of the best series of tutorial on KZbin
@MakerTech
@MakerTech 22 күн бұрын
Thanks, I'm glad you like the series :)
@Jesuisunknown
@Jesuisunknown 22 күн бұрын
I'm still in Camera following the player episode but someday I'll get in here
@felakos1568
@felakos1568 25 күн бұрын
blablablablabla...
@deathvader9106
@deathvader9106 26 күн бұрын
Hello. So far this video has gone super smoothly. But when did we change the use_item function in the player. I have no clue when we did that and also if where the remove_last_item_used is.
@laggsarecc4785
@laggsarecc4785 27 күн бұрын
Tihis tutorial is so amazing! Thank you so much for putting so much effort into making it understandable and even reflect on the things you may have included in the last video. Keep doing what your doing, you are such an awesome teacher! :3
@MakerTech
@MakerTech 22 күн бұрын
Glad it was helpful!
@uferis
@uferis 27 күн бұрын
11:04 If anyone else missed something like I did and is getting an error for the "Player". Its because the "Player" is a class name and should be named in the Player nod, like that: class_name Player extends CharacterBody2D
@fuwaneko
@fuwaneko 29 күн бұрын
Fantastic tutorial, straight to the point.
@MakerTech
@MakerTech 27 күн бұрын
I'm glad you liked it :)
@osamuu101
@osamuu101 Ай бұрын
Hello there! could you please make a video on how to save and load your inventory? Thank you very much for such helpful videos!
@toothbrush64
@toothbrush64 Ай бұрын
If you draw an inverted trapezoid style shape on the physics layer polygon for the trees, you can create a collision box that will nudge the player in front of the tree if they're walking directly left or right. This can ease some frustration for a player who is moving across a tree, but they're just a few pixels too high. Instead of bumping right into the object (rectangle collision), they can continue moving without interruption.
@MakerTech
@MakerTech 22 күн бұрын
Sorry for the late reply. But I'm really glad you shared the tip.
@atys1966
@atys1966 Ай бұрын
Thank you for another very helpful video, your videos are so easy going and relaxed, you obviously make videos intended to teach rather than demonstrate how clever you are unlike some other creators, look forward to more.
@Flamechr
@Flamechr Ай бұрын
Super video 😊. Hmm kommer vi ind på test ? Unittest og CI ?
@MakerTech
@MakerTech Ай бұрын
Ikke lige som det første. Det er en lille "Lær af programmere" serie målrettet absolutte begyndere. Men hele ideen er først at lave denne her serie, og så tage fat i andre lidt dybere emner senere :)
@Flamechr
@Flamechr Ай бұрын
​@@MakerTech cool 😊 det glæder jeg mig til. Ses på discord
@Karldev95
@Karldev95 Ай бұрын
Excellent video as always. Thank you very much.
@MakerTech
@MakerTech Ай бұрын
Thank you for the feedback. I'm glad you liked the video :)
@dreidgon
@dreidgon Ай бұрын
Great tutorial, thank you!
@MakerTech
@MakerTech Ай бұрын
Your welcome :)
@Karldev95
@Karldev95 Ай бұрын
Thank you very much. Excelent video as usual.
@MissedtargetDev
@MissedtargetDev Ай бұрын
Commenting for the algorithm, great video although damn if it doesn't seem impossible at first blush.
@MakerTech
@MakerTech Ай бұрын
Hah, I'm glad you got it to work (I'm assuming? ;) )
@TheShelley
@TheShelley Ай бұрын
Thank you so much for your videos! You explain everything really well, and it's easy to follow.
@MakerTech
@MakerTech Ай бұрын
Thanks you so much for the feedback :)
@RaposaCadela
@RaposaCadela Ай бұрын
how about collision?
@MakerTech
@MakerTech Ай бұрын
There is another episode that show collision with tile maps (or tilemap layers): kzbin.info/www/bejne/eWGxaYmdhb5-bqs And there is also a short to accompany it: kzbin.info0qB89qPp3Y4
@natanmaia3575
@natanmaia3575 Ай бұрын
Your final solution is generally the solution I use (although I just use methods, not signals). Call down, Signal up is great. I also call the states "physics update" inside the players physics process, so those aren't always active. Then, if some state needs access to a specific component, I connect it via @export variables.
@MakerTech
@MakerTech Ай бұрын
Thank you for sharing how you do this :)