Тёмный

Godot Recipe: Adding healthbars in 3D 

KidsCanCode
Подписаться 61 тыс.
Просмотров 19 тыс.
50% 1

Опубликовано:

 

28 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 46   
@maxdanlaplace
@maxdanlaplace 2 года назад
PSA: in newer versions of godot, you don't need to add a SpatialMaterial to the 3D sprite to enable billboard mode, you can now enable billboard in the Flags of the Sprite3D settings
@MTK-Dev
@MTK-Dev Год назад
Thank you for this. I was struggling with a white material for a long time until I saw your comment.
@Dianruakrhakakks
@Dianruakrhakakks Год назад
how?
@MasonDavies74
@MasonDavies74 10 месяцев назад
@@Dianruakrhakakks In 3.5 at least, it's in Sprite3D > SpriteBase3D > Flags > Billboard. Set it to "Enabled". 👍
@navblank6848
@navblank6848 2 года назад
Please update the title and/or description so people know this tutorial is outdated and doesn't work. It would save others some frustration. Nice text tutorial! That does work.
@olivernichols7493
@olivernichols7493 3 месяца назад
I'm happy to report that this technique does work in Godot 4.2 (menus might have changed some). I had to use a SubViewport. Very helpful content!
@ProggerParrot
@ProggerParrot 4 года назад
Cool tutorial, I'm looking forward to add a 3D Health Bar in one of my new projects I'm working on! :)
@boerbol9422
@boerbol9422 2 года назад
Thank you so much for all the effort you make for these tutorials. Bless you!
@christianbatista0
@christianbatista0 2 года назад
GUYS!! You don't need MATERIAL OVERRIDE anymore. Sprite 3D has a BILLBORD in the FLAG menu at right side. Just enable it and do the next steps
@dialNforNinja
@dialNforNinja 2 года назад
Thank you soi much for making text versions of your tutorials as well as the videos - talking is just so slow that I get bored listening even at 2x speed, while reading it does not have that problem and is also much easier to skip back and review something after getting the general idea on the first pass. Plus it takes far less space to save a copy!
@Dengakuman22
@Dengakuman22 4 года назад
Thanks, that was helpful! By the way, I was able to make this work without the extra script that sets up the viewport texture. You just need to have the Viewport and the 3DSprite as siblings. That worked for me in latest godot a least.
@ahmadtakhimi6839
@ahmadtakhimi6839 5 лет назад
Thank you for all the tutorials
@superkeil972
@superkeil972 4 года назад
example does not work in godot 3.2.3 on mac
@BattleDaddyYEAH
@BattleDaddyYEAH 4 года назад
Seeing the same in 3.2.3 on Windows. The bar either stays white once the SpacialMaterial is added, or if you add the texture to the Albedo, it shows up, but either way the Texture Progress appears broken.
@Hemoplaguer
@Hemoplaguer 3 года назад
Same for me. I thought I was doing it wrong or something, but I downloaded the project file and same thing happens.
@Hemoplaguer
@Hemoplaguer 3 года назад
Remove the "Material Override" from the Sprite3D. OK, i found it. Yeah, SpriteBase3D has a "BillboardMode" property now, so you can just check the box there. We don't need to add a material to set it. This is what KidsCanCode said to me and it does appear to be working.
@aZaamBie135
@aZaamBie135 3 года назад
@@Hemoplaguer Thanks so much man!
@superkeil972
@superkeil972 3 года назад
@@Hemoplaguer i confirm, that's working
@josecarlosribeiro2383
@josecarlosribeiro2383 3 года назад
Hello! Thank you for the video. I am trying to use this, but it is giving me performance issues when I am adding mulitple enemies in my scene. The scene for the 3d enemy model loads unnoticeably, but when I use the viewport texture for the health bars, the add_child makes my main scene to freeze for 1-2 seconds... Any idea why this would be happening?
@Galomortalbr
@Galomortalbr 4 года назад
10 out of 10 tutorial
@Dragon20C
@Dragon20C 3 года назад
For anyone in 2021 this no longer works, not sure why but the textureprogress doesnt render to the viewport at all
@Dragon20C
@Dragon20C 3 года назад
instead do this : the sprite 3D feed it the viewport path, and in the viewport add the texture progress bar (no need to add code) and then just add a value to the progress bar so that it can do something
@RafaelSales55
@RafaelSales55 3 года назад
@@Dragon20C thanks for you comment, It's working this way
@joegirty6609
@joegirty6609 5 лет назад
another great tutorial. thank you very much.
@demetriusharris2169
@demetriusharris2169 3 года назад
so how did you spawn the enemies like that
@tcymtz
@tcymtz 5 лет назад
Great tutorial. I enjoyed it. Can you please do a video on how to add scripting in C++? I want to create a voxel engine, but can't seem to get the project to compile with C++.
@Fluszer
@Fluszer 4 года назад
Im trying to figure out proper way of building non grid based isometric maps. But there are only tile based map tutorials. Is this even possible in Godot?
@thezyreick4289
@thezyreick4289 4 года назад
Yes but it is more complex than a tile based format and there are not many reference videos on it. Only ones i can even think of that cover it all cost money. I would recommend looking into AStar pathfinding as if you have any sort of ai pathfinding on an abstract isometric map you would almost be forced to use AStar. If AStar seems too difficult or complex then you might rethink your design. Knowing trigonometry or calculus would help as it gets into some hardcore math
@thezyreick4289
@thezyreick4289 4 года назад
also I guess that I should add that regardless of game engine, if you look closely enough there is technically nosuch thing as a non-grid based map since everything is made with a coordinate grid. However i assumed you had meant a map that has angles and curves instead of just square tiles.
@RafaelSales55
@RafaelSales55 3 года назад
for some reason it's not updating here.
@carlosflores4179
@carlosflores4179 4 года назад
I tried this tutorial with a label and some text, but the text gets so blurry. Do you know how can I make it not blurry?? On the control node the text looks fine.
@christianbatista0
@christianbatista0 2 года назад
Try to disable filter
@Jay_Bacal
@Jay_Bacal 5 лет назад
Great info. Thanks.
@KrystofKlestil1337
@KrystofKlestil1337 5 лет назад
Is it possible to apply a shader to the 2D in 3D that would blur the background(3d scene behind it)? I've tried puting a shader to blur SCREEN_TEXTURE on the 2D control but that didn't work at all! Any ideas?
@esseeoaminho
@esseeoaminho 5 лет назад
If you use exported variables from the shader you can manipulate it on screen.
@thanos2380
@thanos2380 5 лет назад
what type of IDE are you using please
@Kidscancode
@Kidscancode 5 лет назад
This is the regular Godot editor.
@thanos2380
@thanos2380 5 лет назад
@@Kidscancode thank you for your reply.
@lucasqi933
@lucasqi933 4 года назад
Can you please do python again and also make a tower defense game in python?
@Kidscancode
@Kidscancode 4 года назад
I may do some more python vids in the coming year, but I'm afraid there's no way I'm going to do any complex game development with it. It's not the right tool for the job.
@Matthewgb204
@Matthewgb204 5 лет назад
I know this would be huge and complex but after your done with the current game project you should teach us how to make a 2D game engine with python
@ccgb92
@ccgb92 5 лет назад
Lol why not use Godot?
@Matthewgb204
@Matthewgb204 5 лет назад
John Miller I just think it would be cool to use a custom made game engine
@jimmio3727
@jimmio3727 4 года назад
@@Matthewgb204 It is very cool to use your own custom made game engine, but I promise you you're barking up the wrong tree. Making a game will take years, making a game engine is years and then a game on top to try and make your years of work worth doing (ie, some provable sellable point for advertising revenue)... Plus I'd never touch a game engine written in Python. Too slow.
@DominicRamirez-ue6bd
@DominicRamirez-ue6bd 6 месяцев назад
boo😠 material override removed the texture😠 what a lie😡
Далее
Godot Recipe: Drag-select Multiple Units
11:46
Просмотров 16 тыс.
I Made the Same Game in 8 Engines
12:34
Просмотров 4,2 млн
Купил КЛОУНА на DEEP WEB !
35:51
Просмотров 3,2 млн
I Paid Fiverr Game Developers to Make the Same Game
10:25
Godot Recipe: Minimap UI
22:51
Просмотров 30 тыс.
Animated health bars in 3D space | Godot 4
10:25
Просмотров 2,7 тыс.
Enemy AI Series 1: The State Machine
12:10
Просмотров 53 тыс.
How Games Make VFX (Demonstrated in Godot 4)
5:46
Просмотров 354 тыс.
C++ Developer Learns Python
9:26
Просмотров 2,7 млн
I Made My First Game in Godot in 3 Weeks...
26:21
Просмотров 404 тыс.
Godot Recipe: 3D KinematicBody: Align with terrain
15:48
AI Boxing Got me Wheezing
15:06
Просмотров 361 тыс.