@@GlitchedCode I’m new to gobot so I don’t know how to ask questions to this😅 but I’m just trying to figure out how to use raycast 3D to connect and disconnect an object get the character to pick up and drop items but I’ve only seen tutorials on how to use ray-cast on FPS games so I’m looking for some different help
@@smartypants6214 Alright, I'm sure I understand but if you have any games as examples feel free to add them. In third person there are a few different ways that are similar I can show you.
I need your help. I have a game with 4 areas all on one map. I want to play different music in each area. could you tell me how to do this? maybe on discord or something?
A simple Area2D, with a collisionshape2D of course, should do fine with a signal. When your player enters the area change your music. You can either load a new song into the audioplayer stream property or stop one audio and start another if they are different nodes.
@@willuchabratucha Using an area2D as your trigger, you can have something like the following: func _on_area_2d_area_entered(_area: Area2D) -> void: $AudioStreamPlayer.stream = load("res://It's On - EazyE.mp3") $AudioStreamPlayer.play() of course with your own audio path
Can you please make a tutorial on how to pick up and drop items in a 3rd person game with gdscript for godot4
Pick up and drop how? Because typically in a third person game the object just disappears and is in your inventory. While dropped it just appears.
@@GlitchedCode I’m new to gobot so I don’t know how to ask questions to this😅 but I’m just trying to figure out how to use raycast 3D to connect and disconnect an object get the character to pick up and drop items but I’ve only seen tutorials on how to use ray-cast on FPS games so I’m looking for some different help
@@smartypants6214 Alright, I'm sure I understand but if you have any games as examples feel free to add them. In third person there are a few different ways that are similar I can show you.
@@GlitchedCode any new video example would help a I think but if not, that’s OK thank you for responding🫡 and your time 👑man👑
I think *Glitched* Code not a good name for a channel that gives tutorials to people😅
I need your help.
I have a game with 4 areas all on one map.
I want to play different music in each area.
could you tell me how to do this?
maybe on discord or something?
A simple Area2D, with a collisionshape2D of course, should do fine with a signal. When your player enters the area change your music. You can either load a new song into the audioplayer stream property or stop one audio and start another if they are different nodes.
@@GlitchedCode how would would you write the code. I am very new to godot
@@willuchabratucha Using an area2D as your trigger, you can have something like the following:
func _on_area_2d_area_entered(_area: Area2D) -> void:
$AudioStreamPlayer.stream = load("res://It's On - EazyE.mp3")
$AudioStreamPlayer.play()
of course with your own audio path