Тёмный

How to make your bullets look awesome in Godot - Advanced Trails 

Picster
Подписаться 13 тыс.
Просмотров 29 тыс.
50% 1

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

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 92   
@jamesodonnell4771
@jamesodonnell4771 10 месяцев назад
This is so nice. An updated vid for Godot 4.0 would be great!
@kaansal9523
@kaansal9523 2 года назад
I've used Unity for 7 years and watched hundreds of tutorials, now I've been using Godot for 2 weeks and this was the most professional and informative tutorial I've ever seen. Thank you very much for this quality tutorial!
@picster
@picster 2 года назад
😍
@andrewvickerman1940
@andrewvickerman1940 2 года назад
Missing the initial test stage script had me really confused at first... but this is an awesome affect. Thanks for the tutorial.
@7_rlz_714
@7_rlz_714 3 года назад
these types of tutorials deserve more likes
@picster
@picster 3 года назад
I agree, haha :D
@thinkinggrin165
@thinkinggrin165 3 года назад
Ty for doing these kinds of tutorials. Giving Godot a chance to shine with what it can offer as an Open-Source Engine and futurewise.
@picster
@picster 3 года назад
Thanks! Yes, I would love to see more Godot games happening!
@martlepanen771
@martlepanen771 3 года назад
Looks amazing already! Looking forward to it!
@picster
@picster 3 года назад
Here we are!
@PlayWithFurcifer
@PlayWithFurcifer 3 года назад
Really nice technique, well done!
@picster
@picster 3 года назад
Thanks!
@balbinott100
@balbinott100 3 года назад
Keep coming... thanks for this videos!
@picster
@picster 3 года назад
You're welcome!
@marcusrietmann3339
@marcusrietmann3339 2 года назад
Thank you, very much! Awesome!
@TimBrownYoutube
@TimBrownYoutube Год назад
Incredible tutorial. You do amazing work!
@mcben42
@mcben42 2 года назад
This is just incredible
@EricDaily
@EricDaily 3 года назад
The music is so soothing.
@picster
@picster 3 года назад
Don't fall asleep! 😌😴🤤
@shadebobgames4070
@shadebobgames4070 3 года назад
You should multiply values by delta in _process functions to make it framerate-independant. Pretty intersting, I wonder how much projectiles can you run before having severe drops.
@picster
@picster 3 года назад
Yes! Absolutely true, I forgot about it... But then I at least have the tick which gives it some stability as it only updates every 0.05s. I tested scenes with a pretty absurd amount of bullets and so far everything seems fine. But yeah. It a lot of stuff happens with all those iteration through the points array.
@absurdengine8502
@absurdengine8502 3 года назад
Just superb.
@pablogri4667
@pablogri4667 3 года назад
your material is unique, great video! greetings from Argentina
@bhamidipatinikhil
@bhamidipatinikhil 3 года назад
@picster ... This video was really good! I was wondering if you could answer my curiosity-- From where did you learn Godot ?
@zeehoewong8793
@zeehoewong8793 3 года назад
Totally magical! Thanks!!
@picster
@picster 3 года назад
🧙 you're welcome!
@wash99
@wash99 3 года назад
😲
@picster
@picster 3 года назад
🚀
@datatoolbox
@datatoolbox 3 года назад
At 13:59, your animated explosions are below the Collider (the wall), but at 15:21 your animated explosions are above the Collider. I've tried increasing the Z Index of the ExplosionSprite and the Bullet, and tried decreasing the the Z Index of the Collider, but nothing brings the animated explosion above the Collider, and I don't see any controls for moving the AnimationPlayer up/down in the Z Index. How did you get your animated explosion to appear above the Collider? Thanks!
@timberjustinlake
@timberjustinlake 3 года назад
Great video. Any advice on how to make such effects look the same irrespective of the frame rate?
@picster
@picster 3 года назад
Just multiply the values that are relevant with delta
@damzor
@damzor 2 года назад
man what a great video
@sharroo123
@sharroo123 3 года назад
How is the line2d following the curser? What did I miss?
@picster
@picster 3 года назад
Ah, I forgot to edit that part in. Damn. The Smoke trails scene is added to the Teststage. In the Teststage _process function, the global_position of the Smoketrail is set to get_global_mouse_position()
@datatoolbox
@datatoolbox 3 года назад
Just to clarify on Raffa's reply (since I'm fairly new to this and had to experiment), I think the teststage.gd script should initially look like: ~~~ extends Node2D onready var smoketrail = $Smoketrail func _process(_delta): smoketrail.add_point(get_global_mouse_position()) ~~~
@jwr26games
@jwr26games 3 года назад
I'm working on a space shooter and I'm going to try this out for some of the bullets! PS. Holy shit, you didn't wear a beanie!!
@picster
@picster 3 года назад
Haha! I though nobody would care/notice. I finally was too annoyed by my 1 year no-cut covid hair... So I cut it myself and can finally not wear a beanie without looking like a wookie.
@jwr26games
@jwr26games 3 года назад
👌 ps. I have installed the Franz Fury alpha on steam! I will give you a reply when I've finished it! First impressions are very good though !
@picster
@picster 3 года назад
@@jwr26games have fun and make sure to try mouse steering in the options if you find the keyboard/controller too hard.
@xaxaWOW
@xaxaWOW 3 года назад
Very nice tutorial !
@zerogscott2976
@zerogscott2976 2 года назад
This is so freaking cool!
@mightymochigames
@mightymochigames 3 года назад
Fantastic!
@picster
@picster 3 года назад
Thank you ✌
@ignaciodangelo6385
@ignaciodangelo6385 Год назад
Good Video!. I am in Godot 4 but still dont manage to understand how you made func add_point() to work , when it also overrides the property add_point , and also you never seem to call that function anywhere , lol
@picster
@picster Год назад
The bullet script is calling add_point and inside my add_point function I also call .add_point.
@itsME-dc4vm
@itsME-dc4vm 3 года назад
wow nice ;D
@picster
@picster 3 года назад
Thanks!
@lucasgabrielgonsalves9626
@lucasgabrielgonsalves9626 Год назад
So... In Godot 4 it's not possible to override native methods. How can I make this work on the newer version? I cannot wait to be able to make this work, it looks amazing!
@lucasgabrielgonsalves9626
@lucasgabrielgonsalves9626 Год назад
I was kinda able to work around this, but I need to remove the "set_as_top_level(true)" because the trail is above everything but when I do this the trail spawn in a random location... Do you know why this happens?
@annoyed567
@annoyed567 3 года назад
gone back to this as its a wealth of knowledge. i got a question in the game.gd script on line 45 rocket.direction = Vector2.RIGHT.rotated(rand_range(-0.6, 0.6)) looks like it can be repurposed for my project. i have a shoot function that i want to shoot projectile at mouse location, currently my shoot function just shoots forward, as im using a muzzle to spawn the bullet, to rotate the muzzle i used look at mouse position qhwn hte project was using top down assets, now though i'm using 2dside scroller graphics so look at mouse position no longer works, I've tried a number of workarounds but my head logic doesn't cut it.still new to godot. func fireshot(): mouse_posi = get_local_mouse_position() target = get_angle_to(mouse_posi) var bullet = BULLET_SCENE.instance bullet.transform = mouse_posi.global_position() bullet.global_rotation = global_rotation get_parent().add_child(bullet) how would u used .rotated(get_angle_to(mouse_posi)) to shoot a projectile at the mouse cursor as my experimentation comes up with nothing, its important to note this is in the kinematic body player scripted
@lucasgabrielgonsalves9626
@lucasgabrielgonsalves9626 Год назад
I don't understand how you debugged your code and the line appeared, following your mouse. Someone could explain what was done to make that possible?
@picster
@picster Год назад
Yes, that was a very unfortunate edit. I added a script to the teststage where I do that. You can find the line here: github.com/RPicster/Godot-Advanced-Trails-Examples/blob/8867bb9b7ea6ae740c002afc5a3b6821b73c7469/src/Scripts/teststage.gd#L12
@lucasgabrielgonsalves9626
@lucasgabrielgonsalves9626 Год назад
@@picster man, this tutorial is so well done but I could not get the exact same result. I did some workaround to make it look like laser, but I'm not convinced yet, I feel there's a lot to do to make it better. Do you think about creating a new tutorial like this to create similar results on the new Godot version? I'm creating a 2d shoot'em up game and this effects would make it look so much better!
@kryperdev
@kryperdev 3 года назад
I really love how I inspired people to take my original system and run with it :)
@picster
@picster 3 года назад
I didn't know your video, but our approach is somehow related ✌ Cool content, you should really create more!
@kryperdev
@kryperdev 3 года назад
@@picster haha no biggie :) But great stuff came out of that video, for example one person implemented variable Line2D width based of that into the Godot Core :D (cant recal their name) Yeah after that tutorial I had no idea what to record next so I was just not doing anything, but considering making more :)
@picster
@picster 3 года назад
@@kryperdev It's a ton of work making tutorials, even if they look really simple. So I can totally understand you stopped making tutorials. But the ones on your channel are really cool, so would be great to see more :)
@kryperdev
@kryperdev 3 года назад
@@picster oh for sure it is difficult. For me main struggle is to keep good flow. However after speaking with some people on Godot facebook group they gave great suggestion to code it before hand and keep that as reference of separate screen :) Also thank you, and sure will do more, got plan to make destructable tilemap tutorial with "sprite chunking" :) Hmmm if you would be interested I could drop you a link once it is out on YT (maybe implementation for Franz Fury for some game elements?)
@picster
@picster 3 года назад
@@kryperdev yes, planning it out is pretty helpful. I don't plan to add and tilemap based things to Franz, but I'm looking forward to the tutorial, I'm sure it's very interesting!
@villainsgame9778
@villainsgame9778 3 года назад
U r great brother 😍😍😍😍
@picster
@picster 3 года назад
Thanks 🤘
@vcd200044
@vcd200044 8 месяцев назад
Hi, I have a question about your video at 4:57. It appears that you overwrote "add_point" function in Line2D and then called the native one in the end using a short code ".add_point(point_pos, at_pos)". I tried this in Godot 4, but it didn't work for me. I also attempted it using "super.add_point(point_pos, at_pos)" but that didn't work either. Do you know how to rewrite it in Godot 4? Thanks!
@picster
@picster 8 месяцев назад
If I'm not mistaken you need to call the super function directly in the function. So super(param, param)
@vcd200044
@vcd200044 8 месяцев назад
@@picster Thank you for your reply. Finally, I discovered that Godot throws an error: "The method add_point() overrides a method from the native class Line2D. This won't be called by the engine and may not work as expected." It seems that rewriting any native function in the original class has been prohibited in Godot 4. Since I am still a newbie with the engine, please let me know if you have any ideas to work around this problem.
@picster
@picster 8 месяцев назад
@@vcd200044 you can just write your own method and from there, call the original add_point() method. Then call your own method instead of the (in G3) overwritten add_point()
@iambottok9336
@iambottok9336 2 года назад
Amazing...
@wash99
@wash99 3 года назад
Can I use these trail on my chracter?
@picster
@picster 3 года назад
Sure! That's why I make these videos! 🤘
@Linealo
@Linealo Год назад
i know it´s been two years, but Godot 4 won´t let me overwrite the add_point() function. Do you know of a fix or other tutorial that can help me with a similar effect but in Godot 4? Most i found don´t really have the same look / behavior. The removal of the tween node really messed things up at first, but now that I got that handled, the overwrite really seems to be the last straw causign issues
@picster
@picster Год назад
You can call the function different and call add_point at the top.
@TKB_videos
@TKB_videos 3 года назад
You taught so much in this 25 min video.
@picster
@picster 3 года назад
Cool! That's motivating!
@marks8130
@marks8130 Год назад
Im in 6:09 and for some reason when I press “r6” Nothing is showing up Can you tell me Why that is?
@picster
@picster Год назад
Hm, what do you mean with r6?
@marks8130
@marks8130 Год назад
⁠the enter button, like Show progress
@erendemirtas3906
@erendemirtas3906 Год назад
Can you make a video suitable for 3d?
@graydwarf22
@graydwarf22 3 года назад
No link to go godot website link in Show More?
@picster
@picster 3 года назад
I think anyone that watches this video has Godot installed... So I don't guess it's any use. Here's a link if you need it! godotengine.org/
@graydwarf22
@graydwarf22 3 года назад
@@picster Was talking about the gogodotjam link. :)
@picster
@picster 3 года назад
@@graydwarf22 good point! I'll add it!
@andranikarakelov8139
@andranikarakelov8139 3 года назад
is it possible to make it 3d ?
@picster
@picster 3 года назад
Check out the latest video by Redefine Gamedev :)
@andranikarakelov8139
@andranikarakelov8139 3 года назад
@@picster thanks
@ravend7
@ravend7 Год назад
@@picster Give a link to the video. Thanks.
@AppMaker728
@AppMaker728 Месяц назад
Godot stealing Unity's spotlight
@AppMaker728
@AppMaker728 Месяц назад
Unity in trouble
@barycza
@barycza Год назад
25 minutes programming and tons of separate scripts just to make bullets looks better - you do it WRONG Godot. At least I understand now why Godot is still a failure.
@picster
@picster Год назад
😎 Damn man, now you showed Godot what you are made of.
@jamesodonnell4771
@jamesodonnell4771 10 месяцев назад
Engineering unique solutions for specific effects is why a lot of people code.. The component structure is very intuitive and powerful but if it's not your thing I'm tickled you feel so confident as to express your distaste under a clear assumption that anyone cares :)
Далее
I Made My First Game in Godot in 3 Weeks...
26:21
Просмотров 389 тыс.
Outsmarted 😂
00:20
Просмотров 2 млн
Common VFX Shader Techniques ft. Godot
7:07
Просмотров 49 тыс.
Optimizing my Game so it Runs on a Potato
19:02
Просмотров 621 тыс.
Is This The Most Customizable RPG Ever Made?
22:16
Просмотров 157 тыс.
How Games Make VFX (Demonstrated in Godot 4)
5:46
Просмотров 350 тыс.
I Made Minecraft in Godot
28:36
Просмотров 63 тыс.
CS2's Responsive Smoke with Godot 4 In 5 Minutes
5:34
Results After Releasing my First Game on Steam
15:07
Просмотров 2,1 млн