Follow the written version of the series here: kidscancode.org... Code for this part can be downloaded here: github.com/kid... Art by Kenney: kenney.nl/asset... Support me on Patreon: / kidscancode
Пікірлер: 25
@MattHuisman6 жыл бұрын
Your a natural teacher and know great programming techniques. Keep it up! :D
@j.d.waterhouse41976 жыл бұрын
I was having lots of problems and discovered they were mostly because of how I had checked layers in the Inspector/Collision section. The term "Mask" seems to me a very counter-intuitive word to use! I kept thinking 'Mask' meant the object would NOT react to objects in that layer.
@Glankonian6 жыл бұрын
Moving along nicely. I appreciate the work you put into this.
@yikescloud6 жыл бұрын
I think the efx explosion can be instance in the map before bullets die, I think that's be more nature like that: var efx = preload("res://efx/Explosion.tscn") var explode = efx.instance() var map = get_node("/root/Map01") map.add_child(explode)
@tralavala98086 жыл бұрын
Thx for another part :)
@NeilRoy5 жыл бұрын
Very well done. Nice, clear explanations.
@_flavio_silva Жыл бұрын
Amazing tutorial :)
@TheCromcrom4 жыл бұрын
thank you soooooooo much for your tutorials
@giggleghost37515 жыл бұрын
Thank you so much for this!
@LinuxGuides6 жыл бұрын
Thanks! It would be great if you could add some sound to the tanks (with pitchscale etc., wich is controlled in gdscript) in one of the following parts.
@Kidscancode6 жыл бұрын
We'll be adding sound at some point soon.
@SergioCandelaRamirez4 жыл бұрын
As always, amazing tutorial!! :)
@RixtronixLAB4 жыл бұрын
Good one!
@petrickmail73495 жыл бұрын
Great tutorial. i'm using different approach for enemy tank. i manage enemy tank to follow player but i can't figure it out how do i rotate enemy tank toward player? :( Can you give me something about this?
@Kidscancode5 жыл бұрын
The same way you rotate the turret to follow the mouse.Find the angle of the direction vector between the enemy and the player: var direction = (target_position - position).angle()
@kasperfma6 жыл бұрын
Hiya! Will you ever be making more pygame tutorials? Cuz i really enjoy them. I would love to see a game like this in pygame.
@Kidscancode6 жыл бұрын
I don't have any plans currently. Compared to modern frameworks and tools, pygame is just feeling more and more primitive. I love it as a way to learn Python, but it is kind of a dead-end when it comes to learning game development.
@kasperfma6 жыл бұрын
KidsCanCode Ok 😀. What is the best language to learn if i want to get into programming games?
@settergren9385 жыл бұрын
@@kasperfma The software he's using in this video, Godot Engine, is pretty solid for learning game dev imo
@kacperNFS4 жыл бұрын
6:10 Global rotation doesn't seem to work for me in godot 3.2, the bar acts similar to the blocked AI, it flies off the tank doing some wobbles and comes back after a while. Any ideas lads? I see that your project still works though so I will try and reverse engineer it.
@kacperNFS4 жыл бұрын
@Reese Barrs I know, but it's so bizaire that there is not really a way I can think of to fix it. Maybe it's a problem with the collision masking. I will check it tomorrow.
@LarsZulfoDKJensen3 жыл бұрын
Did you ever find a fix? Just started coding in GD Script, Godot 3.2.3, and my healthbar acts just as you say...
@LarsZulfoDKJensen3 жыл бұрын
I actually just think that I did a dirty fix myself. Under the UnitDisplay's _process function, I just get the position of the parent, and position the unitbar var pos = get_parent().get_node("Body").global_position global_rotation = 0 global_position.x = pos.x - 70 global_position.y = pos.y - 70 You can play around with the x and y positioning, but now my healthbar stays above the tank
@kacperNFS3 жыл бұрын
@@LarsZulfoDKJensen I actually never found the fix, but copying the project files everything seemed fine, so I guess it must have been something on my end that I haven't switched on. Great work on your part working it out though.