Hope you all enjoy the video! I'm going to start uploading Godot Action RPG videos next week! Here is the original article by Kemono Games (it was made using Godot 2 I think): kemonogames.tumblr.com/post/145440294136/how-to-create-plasma-beams Kemono Games' Twitter: twitter.com/KemonoGames Have a great weekend! - Ben P.S. If you haven't checked it out yet, here is my Godot course: www.heartgamedev.com/1-bit-godot-course-youtube [edit] forgot to link to the github for the source code/resources: github.com/uheartbeast/youtube-tutorials
This isn't just a great tutorial. it's also a great lesson on how to program. First, know exactly what you want to achieve. Secondly, divide that problem into many smaller problems and then start solving these smaller problems until you have completed the bigger problem. Thank you for the video. It was very helpful.
Hey dude your content is super awesome, and you inspired me to stick with the Godot engine when I was about to uninstall it, and now I love using it to make games. Keep up the great content. Thanks.
Thank you so much. I've been trying to figure out how to make art-heavy backgrounds with polygons, as in Once Upon a Coma, and didn't know how to start. Never thought about stealing CollisionPolygon2D's polygon to Polygon2D from a script. Didn't expect to learn it from a laserbeam tutorial tho. Now with this in mind I think I'll try to make a script to fill the border with grass sprites.
Thanks for such great tutorials! I've always been interested in game development but I had never tried it until I started watching your videos. Im so glad you take the time to explain why things work the way they do and you don't just right a bunch of code and then vaguely explain what it all does.
@@uheartbeast oh wow, thank you for watching! You're the one who initiated me to pixel art! ☺️ I bought all your pixel art courses on Udemy! I made my very first pixel art sprites watching your tutorials
For me, and I followed absolutely ever single step twice (I started all over again the first time this problem happened) but every time I try to run the game from the world scene with the collision objects in place, the laser doesn't track the mouse. Tracks it just fine in the laser scene but not in the world scene. The error : Line 9 (UNUSED_ARGUMENT):The argument 'delta' is never used in the function '_physics_process'. If this is intended, prefix it with an underscore: (ignore) '_delta' The debugger states: Invalid call. Nonexistent function 'get_Collision_point' in base 'RayCast2D. Mind you, the code is identical what gives? Okay so, I figured it out as I was composing this. I'm keeping this comment to maybe help others. 'get_Collision_point' is invalid due to the simple fact that there is no such thing as get_Collision_point in GDOT, there is a get_collision_point.SEE IT?? I had Collision capitalized and thus the whole code was bunk. that is stupid as hell, but oh well. I'm learning. Thanks for the videos.
Thanks for posting this to help others. Small typos like that are very common and can be super frustrating. Everyone makes them and it is part of learning to code. I'm glad you were able to work it out.
Thanks for this! However, I discovered a little problem. The raycast stops while the beam image continues to extend itself if it isn't colliding. I solved this by altering the if/else statements. if colliding: beam.region_rect.end.x = end.position.length(), else: beam.region_rect.end.x = end.global_position.length()
If you have a larger window then you have to make the max_cast_to variable larger or the beam will ignore collisions because the raycast is too short and it will treat it as an else statement.
You can helpe me? My laser have a Collision Polygon2D, and i want to that Polygon2D too extends to the collision point of raycast, same of sprite. Can you helpe please? love your videos
Will you do a follow-up to go over setting up the beam to reflect off of surfaces when there's a collision and making it respond to input instead of always being on?
Hello Mr. HeartBeast thank you very much for your Tutorial. I don't I don't undestand english but I understand all that you did. You inspirate me to do VideoGames Thank you very much and God Bless you and your family!!!!
Hope you all enjoy the video! I'm going to start uploading Godot Action RPG videos next week!
Here is the original article by Kemono Games (it was made using Godot 2 I think): kemonogames.tumblr.com/post/145440294136/how-to-create-plasma-beams
Kemono Games' Twitter: twitter.com/KemonoGames
Have a great weekend! - Ben
P.S. If you haven't checked it out yet, here is my Godot course: www.heartgamedev.com/1-bit-godot-course-youtube
[edit] forgot to link to the github for the source code/resources: github.com/uheartbeast/youtube-tutorials
This isn't just a great tutorial. it's also a great lesson on how to program. First, know exactly what you want to achieve. Secondly, divide that problem into many smaller problems and then start solving these smaller problems until you have completed the bigger problem. Thank you for the video. It was very helpful.
In GODOT 4.0 RayCast's cast_to was renamed to target_position
Hey dude your content is super awesome, and you inspired me to stick with the Godot engine when I was about to uninstall it, and now I love using it to make games. Keep up the great content. Thanks.
"Good morning, afternoo-" presses like cause HeartBeast
Good lord I was literally searching for this yesterday and I couldn't find it. It seems like you made this video just for me lol. Thanks a lot.
Thank you so much. I've been trying to figure out how to make art-heavy backgrounds with polygons, as in Once Upon a Coma, and didn't know how to start. Never thought about stealing CollisionPolygon2D's polygon to Polygon2D from a script.
Didn't expect to learn it from a laserbeam tutorial tho.
Now with this in mind I think I'll try to make a script to fill the border with grass sprites.
You can make the collision polygon2D follow the sprite length? helpppp
Agreed. That little 10 second trick saved countless people countless time.
Thanks for such great tutorials! I've always been interested in game development but I had never tried it until I started watching your videos. Im so glad you take the time to explain why things work the way they do and you don't just right a bunch of code and then vaguely explain what it all does.
Please keep with the Godot videos! Gamemaker is outclassed now.
I needed this! Thank you so much Benjamin!!
You're welcome! I love your videos. It's good to see you here :)
@@uheartbeast oh wow, thank you for watching! You're the one who initiated me to pixel art! ☺️ I bought all your pixel art courses on Udemy! I made my very first pixel art sprites watching your tutorials
Planned to add mining lasers to my game today, perfect timing. Now I have a reference for implementation.
Time to add a laser weapon to my Metroidvania game!
I really miss your Gamemaker tutorials :)
Definitely filing this one aware for future use... thanks Ben!
Great tutorial. I think you should post your videos on the Godot discord, they have a channel for sharing tutorials.
Great tutorial Ben. Taught me something. Thank you.
Looks like you have been making good progress using Godot.
How do you feel it fairs compared to GameMaker studio 2?
Still useful. I am glad this tutorial exists because all other are just copy paste and no explanation
Hope do the same in Game maker 💙
For me, and I followed absolutely ever single step twice (I started all over again the first time this problem happened) but every time I try to run the game from the world scene with the collision objects in place, the laser doesn't track the mouse. Tracks it just fine in the laser scene but not in the world scene.
The error :
Line 9 (UNUSED_ARGUMENT):The argument 'delta' is never used in the function '_physics_process'. If this is intended, prefix it with an underscore: (ignore) '_delta'
The debugger states: Invalid call. Nonexistent function 'get_Collision_point' in base 'RayCast2D.
Mind you, the code is identical what gives?
Okay so, I figured it out as I was composing this. I'm keeping this comment to maybe help others. 'get_Collision_point' is invalid due to the simple fact that there is no such thing as get_Collision_point in GDOT, there is a get_collision_point.SEE IT?? I had Collision capitalized and thus the whole code was bunk. that is stupid as hell, but oh well. I'm learning. Thanks for the videos.
Thanks for posting this to help others. Small typos like that are very common and can be super frustrating. Everyone makes them and it is part of learning to code. I'm glad you were able to work it out.
thank you
Thank you so much!
Thanks for this! However, I discovered a little problem. The raycast stops while the beam image continues to extend itself if it isn't colliding. I solved this by altering the if/else statements. if colliding: beam.region_rect.end.x = end.position.length(), else: beam.region_rect.end.x = end.global_position.length()
I followed the tutorial and edited parts for Godot 4.0. This solved an issue of the beam being too short. 😄
If you have a larger window then you have to make the max_cast_to variable larger or the beam will ignore collisions because the raycast is too short and it will treat it as an else statement.
Thank you so much for this tutorial, this is exactly what I've been looking for! So simply explained, you are awesome!
Thank you so much for this
Not to be confused as a short laser projectile that travels A LOT slower.
Super helpful thank you!
why multiplying by MAXLENGHT if you going to use normalized() will it not be scaled to 1
var max_cast_to = mouse_postion.normalized() * MAX_LENGHT
Thank you for the video.
You can helpe me? My laser have a Collision Polygon2D, and i want to that Polygon2D too extends to the collision point of raycast, same of sprite. Can you helpe please?
love your videos
Will you do a follow-up to go over setting up the beam to reflect off of surfaces when there's a collision and making it respond to input instead of always being on?
Can I ask how Godot is configured to remove 3D related things?
Thank you.
Thank you this is amazing! 💯💯
Not sure how you would use region rect that way if you were pulling the beam from a spritesheet.
I LOVE THIS GUY
Hi Ben, could you redo the top-down rpg in Godot which you previously did in Gamemaker?
That is very handy! +1
Now I wonder how would a laser beam work, which gets reflected from the walls...?
Muchas gracias!
de nada
very cool! awesome vid!
Hello Mr. HeartBeast thank you very much for your Tutorial. I don't
I don't undestand english but I understand all that you did.
You inspirate me to do VideoGames
Thank you very much and God Bless you and your family!!!!
do you can make a download of all your tutorial projekts that would be very nice
no its a tutorial
you're meant to learn not steal
@@halobread i do learn better by messing around with stuff
Curiously this doesnt work when instanced as a child of my player character but works fine when instanced directly in the world
Very late to this, but did you set the collision layer of your player to be separate from the collision mask of the laser?
when will you be doing networking?
Pogchamp
Quality
~wherever and whenever you are, my name is Benjamin~ _here have a like_
Cool:)
like
the like/dislike ratio tho ....