Тёмный

Easily Build Projectile Weapons in GODOT 

Andrew Hoffman
Подписаться 37 тыс.
Просмотров 18 тыс.
50% 1

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

 

28 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 15   
@Gandalf_Le_Dev
@Gandalf_Le_Dev 2 года назад
I love these videos where I can learn logic instead of just copying and pasting code Thanks
@mythology100
@mythology100 2 года назад
I'll have to take some free time to test these tutorials and modular systems you have been making. Kudos to you!
@jugibur2117
@jugibur2117 2 года назад
That concept is so great, I must try that for myself!
@ryzzlas
@ryzzlas Год назад
This is awesome. Thank you so much for your videos! Would you be open to share the code somewhere? Just the things you've talked about. It would be easier to learn your approach.
@SCALENE5
@SCALENE5 2 года назад
Cool. Do the methods get type inference when you check if what the object collided with was a ship?
@IllusionistsBane
@IllusionistsBane 2 года назад
How would this work with more advanced bullet behavior? For example, if you want the bullet to attach itself to something and explode after one second.
@samuraikina5908
@samuraikina5908 2 года назад
really good explanation, so by appending each bullet into an array makes it more performance efficient?
@MediocrityInMotion
@MediocrityInMotion 2 года назад
Ever since checking your ability system video I have had a burning question. How do you make your modular stuff work with editor. For instance, I want to have AI use abilities. I give the enemy character an array of abilities. How do I use the editor to assign abilities? An Enum? How do I populate the Enum or tie it to the abilities?
@MediocrityInMotion
@MediocrityInMotion 2 года назад
Followup question, say I want to write ai. I figure a modular system would be a priority array of If Then conditions. Have the If be modular as well. Then iterate through the array. How would you tie those together? For instance if self.hp < 50% do ability.heal
@and1hof
@and1hof 2 года назад
In regards to structuring AI class: If you have an AI class that inherits from "entity" than on every physics process you can write an "act" function that checks some logic and decides what operations to perform (in every physics process the player checks for input, so it's basically the same thing). Healing below 50% would just be a separate function, you could make it standalone and import it into the act function passing it "self" so it can act on the AI's class functions. In regards to the editor question: I usually use config files, but I think you could use the "export" keyword to make an enum available in the editor: github.com/godotengine/godot/pull/12952 I haven't tested it though.
@MediocrityInMotion
@MediocrityInMotion 2 года назад
@@and1hof cool stuff. Thank you.
@rainsong77
@rainsong77 2 года назад
You turn every ability into a resource, and then drag and drop them into the array.
@Persontheguyman
@Persontheguyman 2 года назад
How do I make weapon switching
@noahgreene364
@noahgreene364 2 года назад
Please allow us to download this project. Thanks
@qtsmug8853
@qtsmug8853 2 года назад
another godot tutorial guy? sub'd
Далее
GODOT4 Major Changes Overview & Demo
19:55
Просмотров 28 тыс.
Always Help the Needy
00:28
Просмотров 9 млн
ИСТОРИЯ ПРО ШТАНЫ #shorts
00:32
Просмотров 392 тыс.
I Paid Fiverr Game Developers to Make the Same Game
10:25
Godot Scripts I add to Every Game
12:34
Просмотров 34 тыс.
BETTER 2D visuals in 7 EASY TIPS
10:38
Просмотров 72 тыс.
How I added LOTS of weapons to my game!
5:18
Просмотров 55 тыс.
Optimizing my Game so it Runs on a Potato
19:02
Просмотров 634 тыс.
How Games Make VFX (Demonstrated in Godot 4)
5:46
Просмотров 354 тыс.
Every 2D Node Explained in 9 Minutes !
9:19
Просмотров 354 тыс.
Do THIS Before You Publish Your Godot Game
3:33
Просмотров 180 тыс.