Пікірлер
@ShelestVetra
@ShelestVetra 18 сағат бұрын
Always liked!🌷
@GasparTheAddiction
@GasparTheAddiction Күн бұрын
Good, now I'm gonna make a gun that shoots a gun that shoots a bow and that bow shoots a bullet.
@klembokable
@klembokable Күн бұрын
Ty this is like coding asmr but without the obnoxious person whispering and crinkling shit
@Flamebamboo
@Flamebamboo Күн бұрын
Can you make dragon enemy do similiar like this? I want the dragon to instantiate fire projectiles
@DevDrache
@DevDrache 19 сағат бұрын
nice idea, why didn't i think of that 🤔 I put it on my list, but for 3d. This video gives you everything you need. You just need to implement everything from the gun right at the enemy. So the enemy is the player and the gun all in one.
@WASDKeysStudio
@WASDKeysStudio Күн бұрын
your channel is a blessing from god
@bensmit3204
@bensmit3204 Күн бұрын
Cool 👍
@grzegorzpedrycz2630
@grzegorzpedrycz2630 2 күн бұрын
Thanks for sharing this !
@jaylu9688
@jaylu9688 3 күн бұрын
Thank you! This video helps me a lot!
@k0sc
@k0sc 3 күн бұрын
Hello, why if i drag node into code, for example "gun" into player's code I got only $gun instead of @onready var gun = $gun ?
@DevDrache
@DevDrache 3 күн бұрын
you have to hold ctrl when you drop it
@afrancis7475
@afrancis7475 3 күн бұрын
No annoying intro's, no overhyped person, pure tutorial in a compact video. Thank you.
@92LucAC
@92LucAC 4 күн бұрын
Great video!
@user-vg2xh5id6q
@user-vg2xh5id6q 5 күн бұрын
Hello, I want to learn the process of farming (drop something) in godot 4 🙌🔥. Thanks 🙏
@Flamebamboo
@Flamebamboo 5 күн бұрын
What can i change to make ig work on platformers
@DevDrache
@DevDrache 5 күн бұрын
You only need to adjust the player movement, i.e. remove y axis movement and add gravity instead. The easiest way is to use the CharacterBody2D built-in code template and transfer the following to it: if Input.is_action_pressed(“attack”): gun.shoot() ... if direction != Vector2.ZERO: gun.setup_direction(direction) ... animation() In the animation function you can remove all .y lines
@AstraReall
@AstraReall 5 күн бұрын
Hello , omg i like it , i start the developpement of games , pls tuto for direction with cursor
@DevDrache
@DevDrache 5 күн бұрын
thanks, I put it in my list :)
@oni_factory6047
@oni_factory6047 5 күн бұрын
No Joke.. thank you so much! Your Channel is a blessing.
@DevDrache
@DevDrache 5 күн бұрын
thank you for your kind words
@Zonatrol
@Zonatrol 5 күн бұрын
i dont know if i miss something in minute 3:55 because there the camera kinda hides it ,but your bag gets converted into a canvas layer out of nowere, i get the parse error standalone lambdas cannot be accesed on the player func to get the item. Ty for the tutorial and hope you can my most probably a stupid error :D
@DevDrache
@DevDrache 5 күн бұрын
oh sorry, I made a cutting mistake. The main node "Bag" should be an Canvas Layer. You can see it at the top of the bag code, it says "extends CanvasLayer" all the time. So to fix this, you have to change the Bag node with an right click => change node to an CanvasLayer. If there is still an error, please copy it in here :)
@Zonatrol
@Zonatrol 5 күн бұрын
@@DevDrache Thx a lot,the error was by a stupid identation mistake at the end!,but i also changed it to a canvasLayer,ty so much for the answer and for the tutorial,you said more to me with no words in the video than most of the tutorials with thousands of words .
@MulmVerbot
@MulmVerbot 6 күн бұрын
Thank you, your Video was better than any AI!
@mrstoon9524
@mrstoon9524 6 күн бұрын
can i run godot with gt 710 because i have i5 gen 4 and doesn't open if gt 710 can open it i will buy it
@DevDrache
@DevDrache 6 күн бұрын
does the editor or the game not open? Because it should be possible to open the editor with the i5. first of all, i am not a hardware expert. so be careful with my following statement :) A gt 710 should be enough for 2D and simple 3D games.
@mrstoon9524
@mrstoon9524 5 күн бұрын
@@DevDrache thank you
@ani7417
@ani7417 6 күн бұрын
Nice. Thanks!
@Necrincito
@Necrincito 6 күн бұрын
Please tutorial 2d platform game, (the player cuts a tree), (the tree shakes due to the cut), (put the number of times the action is performed to cut down the tree), (example: large tree 5 times, medium tree 3, small tree 2) , (when you reach the maximum number of times the tree falls in the animation), (and drop objects on the tree)
@Scallopro
@Scallopro 8 күн бұрын
how do you subtract and add health in code? pls answer it will help alot
@DevDrache
@DevDrache 7 күн бұрын
When your player (or enemy) receives damage/healing, you will also use the "change_health" func from the healthbar code. Something like this: func take_damage(damage): $HealthBar.change_health(damage)
@Scallopro
@Scallopro 6 күн бұрын
@@DevDrache thanks :), now how do you link the healthbar's value to the player's health?
@DevDrache
@DevDrache 6 күн бұрын
add the following function to the healthbar code: func set_health_bar(maxHealth): healthBar1.max_value = maxHealth healthBar1.value = maxHealth healthBar2.max_value = maxHealth healthBar2.value = maxHealth
@Scallopro
@Scallopro 5 күн бұрын
@@DevDrache how will I call the set health bar function?
@DevDrache
@DevDrache 5 күн бұрын
Put it in the ready function of the player/enemy code. Like this: var health = 100 ... func _ready(): $HealthBar.set_health_bar(health)
@lukecoles2003
@lukecoles2003 8 күн бұрын
You are a lifesaver. I'm planning an actiom rpg in the future and I had no idea how to make attack combos until now. :)
@celsladroma8048
@celsladroma8048 8 күн бұрын
We have the same mouth where you and I start godot.. amazing you have now enum.. your using enum.. that was good.. but you don't know how to set it from fuct to var..
@DevDrache
@DevDrache 6 күн бұрын
what do you mean? Is there anything I can improve? let me know :)
@celsladroma8048
@celsladroma8048 6 күн бұрын
​@DevDrache i see you use alot elif.. thats good.. you thinking to much how to improve your code.. thats is greate.. but you just follow chatGPT in that way your energy will focus not on thinking in your code... code of chatGPT is randomize if your lucky you got good code...
@afrancis7475
@afrancis7475 4 күн бұрын
@@DevDrache No idea what drunk dude means but I'm glad you made the video. Keep it up!
@zeffofx
@zeffofx 8 күн бұрын
please make a stacking item counter tutorial. thank you in advance!
@DevDrache
@DevDrache 7 күн бұрын
ok, it's on the list :)
@nameless03498
@nameless03498 9 күн бұрын
Can u help me in one thing, so that big bang attack animation and the attack travelling will be different but how do i connect those so that i can provide a smooth attack🥹
@DevDrache
@DevDrache 6 күн бұрын
I'm not sure I understand what you want to do. Do you want to let the energy ball fly forward to the enemy ?
@nameless03498
@nameless03498 6 күн бұрын
@@DevDrache yes but today's video solve it Thanks a lot 🥹
@littledemo3605
@littledemo3605 9 күн бұрын
make joystick too not only buttons.
@hagarius1991
@hagarius1991 10 күн бұрын
Could you also make a tutorial on how to implement a stacking option with a number count on the side? That would be awesome! Great Series btw.
@DevDrache
@DevDrache 7 күн бұрын
sure, I'll put it on my list :)
@Shannon4710
@Shannon4710 10 күн бұрын
Shouldn’t you also check that you are playing the block animation before pausing it? As it is now it seems that if you started to block on frame 6 of any animation it would pause that animation instead.
@DevDrache
@DevDrache 7 күн бұрын
yup, I forgot that. thanks for pointing that out. In the frame if state there should be add: && animated_sprite_2d.animation == "block"
@Shannon4710
@Shannon4710 6 күн бұрын
@@DevDrache Thank you for replying! I really like this video format. Short and simple. Great to see an example of how something could be done without getting stuck in what can feel like like endless tutorials. I will definitively be watching more of your videos. Thank you for making them!
@GlazedRay
@GlazedRay 10 күн бұрын
wow , diamond in the rough channel, cheers for the vids! earned a new sub foresure!
@DevDrache
@DevDrache 7 күн бұрын
thank you
@short10life
@short10life 10 күн бұрын
❤❤ thank you
@tamilcartoontv720
@tamilcartoontv720 11 күн бұрын
Thanks for the video but i feel like creating Mesh Library and using it in GridMap can be better approach..
@DevDrache
@DevDrache 7 күн бұрын
You're right. It doesn't hurt to know the obvious way to start immediately
@rifkyriezz2936
@rifkyriezz2936 11 күн бұрын
Thanks for the tutorial. May I have a request. Can you make, a tutorial about event. When our character stop on some where, then the event happened.
@DevDrache
@DevDrache 7 күн бұрын
Yes, sure. What exactly do you have in mind for an event? An event where the player has to select something in the Ui? or an event where an area is shown (the question here is whether everything should move or stop)?
@vartem123
@vartem123 11 күн бұрын
Even though some of the lessons are not actual for me, I find your content very useful!
@vartem123
@vartem123 11 күн бұрын
KZfaq kind of missing godot strategy guides. Is it not an optimal genre for the engine?
@DevDrache
@DevDrache 11 күн бұрын
thank you :) do you mean guides for strategy games?
@vartem123
@vartem123 11 күн бұрын
@@DevDrache yes, I mean some basic stuff. It is 1000+ platformer guides, 100+ RPG guides and really low number of strategy game guides on godot
@aopen130
@aopen130 11 күн бұрын
Love the video guide as always. I was working through your code near the end 4:39 You gave me the biggest aphasia panic with the word "Strenght" in line 36 instead of *strength* . I kept mistyping in the code so it would not run haha.
@DevDrache
@DevDrache 11 күн бұрын
thank you and sorry for your pain because of my misspelling 🙈
@nameless03498
@nameless03498 13 күн бұрын
It is good but kinda look weird it just look like they got teleported instant of blast away, you can add a little jump animation in between. By the way nice work need it up💙
@DevDrache
@DevDrache 11 күн бұрын
oh yes, you're right. thanks for the hint. I should have split the knockback effect over a few frames.
@LucasPereira-pu6cq
@LucasPereira-pu6cq 13 күн бұрын
Thanks. Great tutorial
@matiturock
@matiturock 13 күн бұрын
Can use for this case a NinePatchContainer vs PanelContainer? to keep de border-radius in diferent sizes.
@DevDrache
@DevDrache 11 күн бұрын
yes, but then the size must be adjusted by code. I chose the panel container because it adjusts itself based on the children. The disadvantage, as you have already seen, is that it looks a little ugly.
@matiturock
@matiturock 13 күн бұрын
Muy buenos videos, la verdad están relajantes.
@celsladroma8048
@celsladroma8048 14 күн бұрын
omg your using the same asset with me... i guess we are same.. so we should collaborate with
@Flamebamboo
@Flamebamboo 15 күн бұрын
can you please make a tutorial how to make advance enemy state machine in Godot platformer
@DevDrache
@DevDrache 14 күн бұрын
sure, i'll put it on my list :)
@user-os8fs6oz2m
@user-os8fs6oz2m 15 күн бұрын
DamageLabelIndicator Block code ??
@DevDrache
@DevDrache 15 күн бұрын
In this video I show you how to create the damage label indicator: kzfaq.info/get/bejne/q596as2Znb24h58.html For block i add a line at the top of the _get_label_text function. If damage == 0: return "block"
@evandesdelcay971
@evandesdelcay971 15 күн бұрын
This will also block arrows that hit you in the back?
@DevDrache
@DevDrache 15 күн бұрын
yes, it blocks all attacks no matter where they come from. To make it more precise, you need to check which side the attack is coming from.
@67steinip
@67steinip 15 күн бұрын
​@@DevDrache you could also just make the hitbox precise.. so if its just around the shield its a block so anything coming from behind wud be a hit right.. similar to AS2 in Flash back in the day :P
@DevDrache
@DevDrache 14 күн бұрын
yes of course. There are multiple ways to do it. it mostly depends on what the creator wants to do :)
@Flamebamboo
@Flamebamboo 16 күн бұрын
For some reason my dash effects goes below the player
@DevDrache
@DevDrache 15 күн бұрын
Could it be that your sprite node is not at position (0,0)? The dash effect gets the position from the character body node.
@Flamebamboo
@Flamebamboo 16 күн бұрын
how do you add those environment particles? pls share
@DevDrache
@DevDrache 15 күн бұрын
With the GPUParticles2D Node. It's quite fun to create dynamic effects with it. I'll put it on my list :)
@angmarKW
@angmarKW 16 күн бұрын
is there a way to make the egg bounce on walls like yoshi's egg? Btw great video, helped a lot!
@DevDrache
@DevDrache 15 күн бұрын
sure, for this you have to use the move_and_collide anstatt move_and_slide. if you collide the move_and_collide return information absout the collision. You need a part of the information to put it in the velocity.bounce() function. After that you can decrease the bounce effect with each bounce like this velocity *= 0.8. I'll put it on my list of video ideas :)
@fabianmunoz851
@fabianmunoz851 18 күн бұрын
bastante interesante, sencillo y relajante de ver
@fabianmunoz851
@fabianmunoz851 18 күн бұрын
muy bueno, nice video!!
@dirtii9701
@dirtii9701 19 күн бұрын
I would love to see you implement a way to add slot specific items to the equipmentLeft and Right panel and perhaps making those slots only allow a specific item type, and then linking those stats to a player object <3
@DevDrache
@DevDrache 18 күн бұрын
I'll think about it, actually there wasn't even a second part planned and now I'm already at part 3 🙈 You can do both by checking in the _can_drop_data if the item is allowed for this inventory slot For this, I would first create a dict at the top of the script to easily summarize all possibilities, e.g. { "EquipmentRight1": ["shield", "sword", "axe", ...], "EquipmentLeft1": ["sword", "axe", ...], .... } Then the items need a new @export variable to represent the different types (shield, sword, axe, ...) And now we can make the query in the _can_drop_data function. First we feed the dict for this we need the inventory type + slot number (targetSlotNode.get_parent().name + targetSlotNode.name.split("Slot")[1]). This gives us the list of permitted item types. Now only allow the drop if the item type of the SlotNode from the data agrument is present in this list.
@celsladroma8048
@celsladroma8048 19 күн бұрын
Hello ma friend. Your working on top down RPG? last time we chat I'm still noob about programming so I relearn everything about code.. Your so good now this is the things I want to learn too but I'm working on 2D platformer.. Where you from? I think this is good thing we build alliance because I'm solo developer in the future I'm going to create one biggest game just like Hollow night.. right now I can code more than 500 lines of code but it take me to relearn everything about coding..
@tejaswithme3713
@tejaswithme3713 19 күн бұрын
Thanks for this❤