This video is great and straight forward but I have one issue, whenever I grapple on to my object the line keeps on clinging on to it and you have to stop and replay the game to make it stop, is there any solution?
Great tutorial, but I have some errors. I want to stop the travel hen mousbutton up, and I know that one. but There's some kind of bug, that makes my game all wobbly (i tried it again, it gets wobbly even if I go through with a grapple like there's some collider error somewhere. and also. the first shot is correct, but after som time, if I click on a plattform to the right, the rope shoots to the left. how come?
How do you make the object being pulled towards the player, instead of the player being pulled towards the object, I want to pull something with the grappling hook
Is it possible to turn it into a chain that when shot would pull the enemy towards you cause I’m starting out and no other tutorial is doing that. Great video by the way really help with a different project of mine
Great Video but i have a question,, What should I change or place if I want to attract objects towards the player instead of the player going towards them?, like the hook in zelda alttpast?
So, my question is, do I need the line renderer if I don't want to render a basic line? Like if I want to create a rope texture, does that make the line renderer useless to me, do I only need the raycast and vertices information? And if so, how do I apply my texture to this information? Is it possible to make a material with my texture and apply it to the line renderer if I do still need it?
Please advice where to put minimum distance check and how to make a cooldown on hook. And also is there any possibilities to draw the line after shooting even if it's not hit anything?
I have a game and I've created everything from background, character, animations but the problem is how to cycle between animations they are (Idle, jump, run, attack 1, attack 2, attack 3, dash, grab, wall slide, double jump) I stuck with if statements and can't continue
I may be too late, but here's a playlist that shows how to create a game from scratch, and the second video is about animations, hope it helps you. ruclips.net/p/PLgOEwFbvGm5o8hayFB6skAfa8Z-mw4dPV
How could I make it so you can have multiple grapples active at a time? Just removing the " && !isGrappling" ALMOST works, *but* it just moves the existing line mid-retract instead of generating a new one.
You would need to loop through each grapple hook, so each time you click to grapple it would shoot a new grapple, depending on how many grapples you want you could set a limit and then if you click again remove the first grapple in your array and shoot another in its place.
What should i change in order to have the grapple to not spawn from the center of the character but to a point that i want ? Or does that have something to do with the line renderer ?
more than likely you will have to make a vector2 with the transform position but also add whatever dimensions you need to it to be able to be in the right spot so something kind of like "Vector2 shotPlacement = new Vector2(transform.position.x - or + *insert position correction number for the X value*, transform.position.y - or + *insert position correction number for the Y value*) So let's say you wanna move it to the right 4 units and down 2 it would be: Vector2 shotPlacement = new Vector2(transform.position.x + 4.0f, transform.position.y - 2.0f) and so instead of writing transform.position you would write "shotPlacement" instead
Can u change to (2d transform): player connect line to 1 object. and player fly to object position. If long, please guide me in next video. Thank u so much.
Hey I'm not sure what you're asking. My player already connects to an object and move the player to the objects position? Or are you after something else?
This video is great and works almost perfectly for what am trying to create, I do have one question however. Is it possible to change the speed at which the hook comes out based on distance? At the current settings it comes out at a set speed which is fine for longer distances, but up close is very sluggish. Great video still!
This video is great and straight forward but I have one issue, whenever I grapple on to my object the line keeps on clinging on to it and you have to stop and replay the game to make it stop, is there any solution?
please tell me I'm pulling the wrong way with the mouse on the rules always in the center at zero coordinates (what's the problem?
Great tutorial, but I have some errors.
I want to stop the travel hen mousbutton up, and I know that one. but
There's some kind of bug, that makes my game all wobbly (i tried it again, it gets wobbly even if I go through with a grapple like there's some collider error somewhere. and also.
the first shot is correct, but after som time, if I click on a plattform to the right, the rope shoots to the left. how come?
How do you make the object being pulled towards the player, instead of the player being pulled towards the object, I want to pull something with the grappling hook
Is it possible to turn it into a chain that when shot would pull the enemy towards you cause I’m starting out and no other tutorial is doing that. Great video by the way really help with a different project of mine
Great Video but i have a question,, What should I change or place if I want to attract objects towards the player instead of the player going towards them?, like the hook in zelda alttpast?
I Like it That you make Videos again
I'm happy to hear that Baxi!! :D
First of all great video thank you. I noticed your code completes automatically by VScode which plugin did you do this with
So, my question is, do I need the line renderer if I don't want to render a basic line? Like if I want to create a rope texture, does that make the line renderer useless to me, do I only need the raycast and vertices information? And if so, how do I apply my texture to this information? Is it possible to make a material with my texture and apply it to the line renderer if I do still need it?
Please advice where to put minimum distance check and how to make a cooldown on hook. And also is there any possibilities to draw the line after shooting even if it's not hit anything?
I have a game and I've created everything from background, character, animations but the problem is how to cycle between animations they are (Idle, jump, run, attack 1, attack 2, attack 3, dash, grab, wall slide, double jump) I stuck with if statements and can't continue
That's the one thing I'm not great at however, I want to learn so I'll try to create a video on it when I know more :)
@@MuddyWolf thanks
I may be too late, but here's a playlist that shows how to create a game from scratch, and the second video is about animations, hope it helps you.
ruclips.net/p/PLgOEwFbvGm5o8hayFB6skAfa8Z-mw4dPV
How could I make it so you can have multiple grapples active at a time?
Just removing the " && !isGrappling" ALMOST works, *but* it just moves the existing line mid-retract instead of generating a new one.
You would need to loop through each grapple hook, so each time you click to grapple it would shoot a new grapple, depending on how many grapples you want you could set a limit and then if you click again remove the first grapple in your array and shoot another in its place.
I love top down game!
Then you'll love my new video releasing in an hour :)
What should i change in order to have the grapple to not spawn from the center of the character but to a point that i want ? Or does that have something to do with the line renderer ?
more than likely you will have to make a vector2 with the transform position but also add whatever dimensions you need to it to be able to be in the right spot so something kind of like "Vector2 shotPlacement = new Vector2(transform.position.x - or + *insert position correction number for the X value*, transform.position.y - or + *insert position correction number for the Y value*)
So let's say you wanna move it to the right 4 units and down 2 it would be:
Vector2 shotPlacement = new Vector2(transform.position.x + 4.0f, transform.position.y - 2.0f)
and so instead of writing transform.position you would write "shotPlacement" instead
Thanks man, it worked great :D
@@baciumarius242 good to hear!
Can u change to (2d transform): player connect line to 1 object. and player fly to object position. If long, please guide me in next video. Thank u so much.
Hey I'm not sure what you're asking. My player already connects to an object and move the player to the objects position? Or are you after something else?
Great vid, thanks alot!
Glad you liked it!
This video is great and works almost perfectly for what am trying to create, I do have one question however. Is it possible to change the speed at which the hook comes out based on distance? At the current settings it comes out at a set speed which is fine for longer distances, but up close is very sluggish. Great video still!
Good question, I believe its possible but I'd have to do some testing. When I get a chance I'll try create a tutorial for it.
@@MuddyWolf Hey man! have you had time to look into the speed of the hook based on distance? This has been really helpful!
8:55 to 9:00 wtf was that noise
Sounds like mic static, I probably knocked my mics wire when recording and missed it in the edit 😅
First, ping me if you pro muddy wolf :)
PS. I’m first like too
FASTEST BOIII AROUND!!!!!! SPEEEED
Third!
BRONZE MEDAL FOR YOU!!!!
Second
SHOW ME DA SPEEEEED!!!
@@MuddyWolf So I got the sliver medal. Not bad not bad