Тёмный
No video :(

Splitting a Bullet - Godot Tutorial 

Arith metic
Подписаться 1,4 тыс.
Просмотров 4,5 тыс.
50% 1

A quick follow-up to my previous video. Not only can you shoot, but now you can split that bullet into two bullets. This is a power that is going to be available in my game which will have the first public tests coming out soon.
How to Shoot a bullet in Godot:
• Shooting a Bullet - Go...
#DiskArena #Tutorial #Shoot #Split #IndieGameDev #Godot #2D #TopDown #PixelArt #Bullet #Multiplayer #Powerup

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

 

24 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 7   
@split9853
@split9853 2 месяца назад
What if i wanted to split an asteroid in two smaller pieces when my bullet hits it. ive already made the big asteroid dissapear but i cant figure out how to instantiate two objects at different positions. Help?
@md.mizanurrahmanxendpdc.369
@md.mizanurrahmanxendpdc.369 2 месяца назад
It is easy and simple.You just have to make the bullet have in its own group.Use an area node in the asteroid script to detect if the bullet(using the body and group name) has hit it.if this does then use the same functions used in the video to make it split into two pieces.(I haven't watched the video yet.so I can't tell if the process might be that easy or not.but good luck understanding the code,the works will be the same) And you will be able to split the asteroid into many pieces as you want after you have done it.(But a quick reminder don't fall into any kind of rapid hole .if you find it hard to complete it within 2-3 days then stop developing games for a while.you will simply find the answer to the solution by interecting with the outside world. But don't get into fixing it immediately as you find the answer cuz you may lose courage to dev if you fail again.so only with enough gathering information and courage get into It
@RyanScottForReal
@RyanScottForReal 3 года назад
Couldn't you just move the bullet 'forward' and rotate each one a little? Seems easier than messing with vectors and unit circles. Maybe I'm misunderstanding.
@arithmetic1938
@arithmetic1938 3 года назад
You probably could actually do that. However there are some cases where it's good to know how vectors work and know what you can do with them through mathematics. This tutorial is more of to teach how vectors work. Also in the project this was originally made for I'm using pixel art and I don't want to rotate the images but rather use the velocity to decide what sprite to show to the user.
@Roddev776
@Roddev776 6 месяцев назад
If mouse is on player the bullet go to the player
@Lukifah
@Lukifah 2 года назад
i'm using this to shoot from a shotgun but the origin doesn't work
@arithmetic1938
@arithmetic1938 2 года назад
A shotgun would have to work a bit differently and I've never built one, but feel free to ask for help on the discord and I'll see if I can help you build one
Далее
Scene Transitions - Godot Tutorial
8:37
Просмотров 4,7 тыс.
Dear Game Developers, Stop Messing This Up!
22:19
Просмотров 705 тыс.
I Made My First Game in Godot in 3 Weeks...
26:21
Просмотров 315 тыс.
Godot 4 Projectiles Tutorial
5:14
Просмотров 17 тыс.
Using AI to Create the Perfect Keyboard
12:05
Просмотров 1,4 млн
Top Down 2D Shooting in Godot
18:33
Просмотров 83 тыс.
4 Godot 4 Devs Make 4 Games in 44 Hours
25:19
Просмотров 511 тыс.
choosing a game engine is easy, actually
15:08
Просмотров 437 тыс.
3 Hours vs. 3 Years of Blender
17:44
Просмотров 4,6 млн
Using Composition to Make More Scalable Games in Godot
10:13