No video

Godot 3.0: Top-down Tank Battle - Part 7

  Рет қаралды 12,545

KidsCanCode

KidsCanCode

Күн бұрын

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
@MattHuisman
@MattHuisman 6 жыл бұрын
Your a natural teacher and know great programming techniques. Keep it up! :D
@j.d.waterhouse4197
@j.d.waterhouse4197 6 жыл бұрын
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.
@Glankonian
@Glankonian 6 жыл бұрын
Moving along nicely. I appreciate the work you put into this.
@yikescloud
@yikescloud 6 жыл бұрын
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)
@tralavala9808
@tralavala9808 6 жыл бұрын
Thx for another part :)
@NeilRoy
@NeilRoy 5 жыл бұрын
Very well done. Nice, clear explanations.
@_flavio_silva
@_flavio_silva Жыл бұрын
Amazing tutorial :)
@TheCromcrom
@TheCromcrom 4 жыл бұрын
thank you soooooooo much for your tutorials
@giggleghost3751
@giggleghost3751 5 жыл бұрын
Thank you so much for this!
@LinuxGuides
@LinuxGuides 6 жыл бұрын
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.
@Kidscancode
@Kidscancode 6 жыл бұрын
We'll be adding sound at some point soon.
@SergioCandelaRamirez
@SergioCandelaRamirez 4 жыл бұрын
As always, amazing tutorial!! :)
@RixtronixLAB
@RixtronixLAB 4 жыл бұрын
Good one!
@petrickmail7349
@petrickmail7349 5 жыл бұрын
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?
@Kidscancode
@Kidscancode 5 жыл бұрын
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()
@kasperfma
@kasperfma 6 жыл бұрын
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.
@Kidscancode
@Kidscancode 6 жыл бұрын
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.
@kasperfma
@kasperfma 6 жыл бұрын
KidsCanCode Ok 😀. What is the best language to learn if i want to get into programming games?
@settergren938
@settergren938 5 жыл бұрын
@@kasperfma The software he's using in this video, Godot Engine, is pretty solid for learning game dev imo
@kacperNFS
@kacperNFS 4 жыл бұрын
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.
@kacperNFS
@kacperNFS 4 жыл бұрын
@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.
@LarsZulfoDKJensen
@LarsZulfoDKJensen 3 жыл бұрын
Did you ever find a fix? Just started coding in GD Script, Godot 3.2.3, and my healthbar acts just as you say...
@LarsZulfoDKJensen
@LarsZulfoDKJensen 3 жыл бұрын
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
@kacperNFS
@kacperNFS 3 жыл бұрын
@@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.
Godot 3.0: Top-down Tank Battle - Part 8
9:08
KidsCanCode
Рет қаралды 10 М.
Godot 3.0: Top-down Tank Battle - Part 10: Homing Missiles
15:21
KidsCanCode
Рет қаралды 10 М.
拉了好大一坨#斗罗大陆#唐三小舞#小丑
00:11
超凡蜘蛛
Рет қаралды 16 МЛН
WILL IT BURST?
00:31
Natan por Aí
Рет қаралды 40 МЛН
GTA 5 vs GTA San Andreas Doctors🥼🚑
00:57
Xzit Thamer
Рет қаралды 25 МЛН
Godot 3.0: Splitscreen Multiplayer
15:46
KidsCanCode
Рет қаралды 24 М.
Godot 3.0: Top-down Tank Battle - Part 6
16:34
KidsCanCode
Рет қаралды 15 М.
Godot 3.0: Top-down Tank Battle - Part 4
17:45
KidsCanCode
Рет қаралды 35 М.
Godot 4.2: Random Walk Agent for Level Generation
29:33
TimmyGobbles
Рет қаралды 209
Godot 3: Finite State Machine Code Example Overview
11:41
GDQuest
Рет қаралды 87 М.
Godot Recipe: 3D Arcade-style Car (with a sphere)
15:29
KidsCanCode
Рет қаралды 42 М.
Procedural Content Generation in Godot Part 2: Using Mazes
19:03
KidsCanCode
Рет қаралды 15 М.
Godot 3.0: Top-down Tank Battle - Part 9
17:37
KidsCanCode
Рет қаралды 11 М.
Godot 3.0: Top-down Tank Battle - Part 2
15:11
KidsCanCode
Рет қаралды 35 М.
拉了好大一坨#斗罗大陆#唐三小舞#小丑
00:11
超凡蜘蛛
Рет қаралды 16 МЛН