Make a Tower Defense Game in Godot | Part 5 - Range Indicator

  Рет қаралды 13,060

Game Development Center

Game Development Center

Күн бұрын

Пікірлер: 50
@GameDevelopmentCenter
@GameDevelopmentCenter 3 жыл бұрын
All the tutorials I made are free. All the tutorials I will make will be free. Support this vision by joining the YT member club, or with a pledge on Patreon: kzbin.infojoin www.patreon.com/gamedevelopmentcenter
@geameliai4500
@geameliai4500 Жыл бұрын
For anyone working on this in Godot4, at 4:09 instead of set_cellv(build_tile, 5) you'll need to use set_cell(0, build_tile, 5, Vector2(1, 0))
@jerkokangasniemi3880
@jerkokangasniemi3880 11 ай бұрын
Thanks for this, was losing my mind over how set_cell works.
@paulsmart4672
@paulsmart4672 9 ай бұрын
Uff. Thank you. It's a fairly sensible and understandable function, but only when you know it's the one you're supposed to be looking at for this purpose.
@GameDevelopmentCenter
@GameDevelopmentCenter 3 жыл бұрын
Again apologies for the delay of this video. Apparently, setting up a company takes a heck of a lot of administrative work (who would have guessed )
@Snafuey
@Snafuey 3 жыл бұрын
Congrats on becoming your own boss! Let the hard work being. You will do great I'm sure.
@GameDevelopmentCenter
@GameDevelopmentCenter 3 жыл бұрын
@@Snafuey Thx Snafuey!
@Dezarius
@Dezarius 7 ай бұрын
Awesome Video! Really enjoy it and it mostly works great with Godot 4. If not the comments allways help. Ty!
@GrunkleSoos
@GrunkleSoos 3 жыл бұрын
Congrats on the new business! I know you will go far. I've been trying to learn Godot for like 8 months now but your tutorials are the first ones that "click" for me.
@GameDevelopmentCenter
@GameDevelopmentCenter 3 жыл бұрын
Awesome! Thank you! Glad they are helping, don't forget to join the Discord to share your struggles :) Tutorials make it seem easy, but we all struggle from time to time
@goodshowmanythanks
@goodshowmanythanks 3 жыл бұрын
Great overview of instancing, once again.
@ryansmith3528
@ryansmith3528 2 жыл бұрын
Heyyyyyy congrats on starting your own company! Love the tut, man! Thank you so much =]
@luanlemes9799
@luanlemes9799 3 жыл бұрын
seriously, with you i find out details i couldnt even imagine they existed
@markus72wi
@markus72wi Жыл бұрын
My goodness, after a long time I've be able to come back to your awsome tutorials. It is amazing how much I'm learning from you. I wish you all the best with your company. Greetings fom Germany markus
@wiktorwektor123
@wiktorwektor123 3 жыл бұрын
I'm very happy for your success Stefan. Glad you were able to find the time to publish this great part of tutorial,
@GameDevelopmentCenter
@GameDevelopmentCenter 3 жыл бұрын
Thx Pawel! Yeah, me too! The only thing worse than having to skip a week is having to skip two weeks 🙃
@PikaBubbles
@PikaBubbles 3 ай бұрын
Very small tip for anyone using Godot4 because we are using set_position instead of rect_position we don't need the line "range_texture.position = Vector2(32,32)" also we can add the range_texture as a child to the drag_tower saving one line of code in our update_tower_preview function.
@Fin_DevLog
@Fin_DevLog 2 ай бұрын
Can u copy your code and put it here
@mmxcrono
@mmxcrono 3 жыл бұрын
Congrats on your new company! Love your explanations!
@GameDevelopmentCenter
@GameDevelopmentCenter 3 жыл бұрын
Thanks so much! And glad you liking the videos :)
@theravenpirate4744
@theravenpirate4744 3 жыл бұрын
Wow! Amazing news with you starting your own company! I wish you much success.
@GameDevelopmentCenter
@GameDevelopmentCenter 3 жыл бұрын
Thx TheRavenPirate!
@adham5149
@adham5149 3 жыл бұрын
Keep up with uploading to this channel, please don’t make the channel die
@GameDevelopmentCenter
@GameDevelopmentCenter 3 жыл бұрын
Why would you think that? Last video is a week old 😅
@johnnyxp64
@johnnyxp64 2 жыл бұрын
i feel so stupid and so satisfied at the same time that i waste so much time to find a solution and re-code the bugs with the tower over tower issue myself (from the previous video) without any prior GDscript knowledge, instead of just watching also and this video Part 5.... LOL
@GameDevelopmentCenter
@GameDevelopmentCenter 2 жыл бұрын
This types of series are hard to code entirely without rework of previous tutorials. Always watch the next one, or ask in Discord. I already commented on another one of your comments. Discord is where we can regularly answer without the hour. On KZbin it is a lot slower.
@HardcoreMuse
@HardcoreMuse 3 жыл бұрын
Love the channel, sir - and great news; congrats on your new endeavor! Best of luck to you, I'm sure you'll do amazing.
@GameDevelopmentCenter
@GameDevelopmentCenter 3 жыл бұрын
Thanks so much Paul!
@acelinkio
@acelinkio Жыл бұрын
Just came across your videos and am following along. Two thoughts on readability especially for folks just starting out: * add a `range_texture.set_name("RangeIndicator")` and call it later by that name instead of "Sprite". * calling set_cellv(build_tile, 5) is a bit harder to read. Would be better to set a variable equal to 5 then consume it. Great videos! Appreciate your effort
@sdfpcplay9392
@sdfpcplay9392 3 жыл бұрын
Love this series ❤️
@gearedcorp
@gearedcorp 3 жыл бұрын
I want to thank you for your videos. It's been a couple years since I last did any game development and your video's have pulled me back in! Quick question, why did you decide to use an image for the range indicator instead of drawing circles within Godot? Is it more expensive to use the draw function or is it just for simplicity?
@GameDevelopmentCenter
@GameDevelopmentCenter 3 жыл бұрын
Glad you like them! Drawing can be a real headache in Godot. Also filling the drawn circle with a semi transparency takes to many lines to my linking. That's why I went with the texture.
@petervandalen1588
@petervandalen1588 3 жыл бұрын
I wish you lots of success😄 Also, according to your website, I am now officially a crazy person
@GameDevelopmentCenter
@GameDevelopmentCenter 3 жыл бұрын
Wow Peter, you legend!! Thank you so much!
@YamiMao
@YamiMao 18 күн бұрын
For anyone working on this in Godot 4.3, at 4:09 instead of set_cellv(build_tile, 5) you'll need to use set_cell(build_tile, 2, Vector2(1, 0))
@CROXoDyLE
@CROXoDyLE 3 жыл бұрын
I love this series
@thebitt327
@thebitt327 Жыл бұрын
love your videos, but i got an error on the initiate_build_mode function, when i put "Cancel_build_mode", it will not let me build at all even in build mode
@GameDevelopmentCenter
@GameDevelopmentCenter Жыл бұрын
Join the Discord and share a screenshot in the relevant channel. KZbin comments is not the platform for bug fixing support.
@franciscodeodato7622
@franciscodeodato7622 2 жыл бұрын
Thanks for the tutorial some questions here is there any circle drawing option in godot? How can we measure code performance for gdscript?
@biocronic2986
@biocronic2986 2 жыл бұрын
Hi. In this video you code something to avoid double building. I added the function for the tank to shoot back. now i face the problem that I cannot built there a new tower. how can i free the space from the map. THANK YOU FOR THE VIDEOS. :-)
@GameDevelopmentCenter
@GameDevelopmentCenter 2 жыл бұрын
Reset the tile ID to -1 if a tower is destroyed
@roadtomillion9499
@roadtomillion9499 3 жыл бұрын
Hey can you consider zooming the script 1 bit forward I can't see properly in my phone :/
@GameDevelopmentCenter
@GameDevelopmentCenter 3 жыл бұрын
Script is zoomed 40% already, watch in on laptop/desktop
@sirgouki6207
@sirgouki6207 2 жыл бұрын
I have been following this in C#. I have seen some horrible code in my day, but let me tell you getting this to work with Godot.Collections.Dictionary (like they tell you to do in the docs, instead of using System.Collections.Dictionary) generated some pretty bad looking code. You HAVE to use the generics for the key, value types, and you HAVE to surround the all the entries in curly braces, as well as EACH key and value pair. I used dictionaries when making emulators with SFML and the System.Collections.Dictionary variant does not require this much crap to get it to work, and I used it to call functions instead of return values. It also doesn't help that the ONLY example of dictionaries in C# in the Godot docs, isn't in Dictionary, but in serializing save data.
@dmitrytulupov6980
@dmitrytulupov6980 Жыл бұрын
Might just skip an empty texture & add some non-existing index to set_cellv. Seems to be working just as fine.
@Sinchu9
@Sinchu9 2 жыл бұрын
I know this is seeral months old but Instead of having all the tower data in a singleton, could you instead, as part of the inheritance each tower has, give them all exported variables for things such as their damage, range ect? I feel like this will feel more intuitive to navigate and it would make sense to keep all of the tower related properties and variables with each tower
@GameDevelopmentCenter
@GameDevelopmentCenter 2 жыл бұрын
Yeah possible, nightmare to manage though. Yeah it works great to manage 1 tower, but when you have to balance towers having the data in all different scripts make it hard to manage. You define the variables 1 time, you balance the data 10+ times. Better to save time on the balancing part, not on the creation part
@danielbitencourt
@danielbitencourt 3 жыл бұрын
nice
@jocaznatabla5668
@jocaznatabla5668 Жыл бұрын
set_cellv is removed since 4.0 , so what alternative method should i use?
@RubyRTS
@RubyRTS Жыл бұрын
set_cell(0, build_tile, 5, Vector2i(1, -0))
Make a Tower Defense Game in Godot | Part 6 - Spawning Enemies
16:56
Game Development Center
Рет қаралды 12 М.
Perfect Pitch Challenge? Easy! 🎤😎| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 34 МЛН
This dad wins Halloween! 🎃💀
01:00
Justin Flom
Рет қаралды 53 МЛН
Cool Parenting Gadget Against Mosquitos! 🦟👶 #gen
00:21
TheSoul Music Family
Рет қаралды 34 МЛН
У вас там какие таланты ?😂
00:19
Карина Хафизова
Рет қаралды 16 МЛН
Make a Tower Defense Game in Godot | Part 1 - Creating the Map
20:29
Game Development Center
Рет қаралды 37 М.
Make a Tower Defense Game in Godot | Part 3 - Main Menu & Scene Switching
24:53
Game Development Center
Рет қаралды 22 М.
The Most Valuable File Format You've Never Heard Of
15:33
Acerola
Рет қаралды 499 М.
Factorio teaches you software engineering, seriously.
21:27
Tony Zhu
Рет қаралды 1,8 МЛН
Making a difficult game about fitting in - Acerola Jam 0
19:17
jess::codes
Рет қаралды 413 М.
10 Things I Wish I Knew Sooner with Godot
10:39
Jon Topielski
Рет қаралды 65 М.
Make a Tower Defense Game in Godot | Part 2 - Towers & Script Inheritance
22:11
Game Development Center
Рет қаралды 25 М.
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4,2 МЛН
I Made My First Game in Godot in 3 Weeks...
26:21
Jack Sather
Рет қаралды 408 М.
Perfect Pitch Challenge? Easy! 🎤😎| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 34 МЛН