dear mr.Dashnothing, Thank you for making such amazing tutorial, i love how you take time to explain everything in specific details. i wishes you the best of health and please make more educate content such as this. PS: can you also make a tutorial of how to make character move using mouse please
For some reason when i collide with one item, all of my items in the world scene follow the movement with the first item i collide How to fix it? Thank you~
If your other items are children of the item you collide with, they will follow its position. Make sure your item nodes aren't nested within eachother in the world scene. Also make sure their common parent doesn't have its collision layer set to item as well. That's what I could think of might be the problem off the top of my head. Hope that helps!
@@ideepakgurungCollisionObject2D inherited nodes such as Area2D have a _input_event function and a _input_event signal. Both get triggered when the object is clicked by the mouse. The only prerequisite is the node has to have input_pickable set to true and any collision layer set.
spending hours figuring out why it cant detect mouse, then thanks to you now I figured out the input pickable
dear mr.Dashnothing,
Thank you for making such amazing tutorial, i love how you take time to explain everything in specific details. i wishes you the best of health and please make more educate content such as this.
PS: can you also make a tutorial of how to make character move using mouse please
0:30 mario galaxy reference
good stuff man!
Good job very helpfull
Thank you!
For some reason when i collide with one item, all of my items in the world scene follow the movement with the first item i collide
How to fix it?
Thank you~
If your other items are children of the item you collide with, they will follow its position. Make sure your item nodes aren't nested within eachother in the world scene. Also make sure their common parent doesn't have its collision layer set to item as well.
That's what I could think of might be the problem off the top of my head. Hope that helps!
@@DashNothing thank you so much i didn't notice that 😆
Does work for mouse, but just collides with player character like solid object
@@magni319 You have to adjust the item's collision layer so it doesn't do that
@@DashNothing Item is on Items layer with Player mask on and Player is on Player layer with Item mask on, right?
@@magni319 You don't need the item mask on the player
@@DashNothing doesn't work either way.
@@magni319 Check the item code. Did you do the var collision = move_and_slide() and then check if collision happened?
Is there any way that only on click item will be picked and not just on mouse_ entered? Thank you
@@ideepakgurungCollisionObject2D inherited nodes such as Area2D have a _input_event function and a _input_event signal. Both get triggered when the object is clicked by the mouse. The only prerequisite is the node has to have input_pickable set to true and any collision layer set.
@@ideepakgurung docs.godotengine.org/en/stable/classes/class_collisionobject2d.html#method-descriptions
@@DashNothing thanks buddy, will try it later
@@DashNothing thank you so much bro, it really worked
ASTONISHING
+
can i do it with (area2d) instead of (characterbody2d)
nice chanel