Пікірлер

  • @LeehLeeh9317
    @LeehLeeh931714 сағат бұрын

    thanks

  • @user-ib9lz3ig9s
    @user-ib9lz3ig9s2 күн бұрын

    Why is it that when I jump I can keep jumping does anyone have ideas

  • @StevenFlores-t8t
    @StevenFlores-t8t3 күн бұрын

    I can't jump :(

  • @bendux
    @bendux3 күн бұрын

    You probably skipped one or two important steps in the tutorial.

  • @themurraysix2055
    @themurraysix20553 күн бұрын

    This has been one of the best tutorials I have seen on the New Input System. Thanks. No time at all and I've got movement that can be done with controller or keyboard.

  • @jacobwherritt
    @jacobwherritt4 күн бұрын

    Thankyou for the help. The best tutorial for a beginner trying to really understand object pooling.

  • @user-ve5rr9bp3n
    @user-ve5rr9bp3n5 күн бұрын

    hi , can you make a video of the code for a normal platform

  • @bendux
    @bendux3 күн бұрын

    What do you mean?

  • @AdarshSahu2410
    @AdarshSahu24105 күн бұрын

    Please make a tutorial on ledge climb system. Love your videos they are super informative <3

  • @kevensondraws
    @kevensondraws6 күн бұрын

    really good tutorial 👍

  • @dylandied
    @dylandied7 күн бұрын

    my player cant jump and im going crazy

  • @bendux
    @bendux3 күн бұрын

    You probably skipped one or two important steps in the tutorial.

  • @UssrMapping123
    @UssrMapping1237 күн бұрын

    Someone Help me plz Assets\Scripts\PlayerMovement.cs(3,14): error CS0101: The namespace '<global namespace>' already contains a definition for 'PlayerMovement'

  • @bendux
    @bendux3 күн бұрын

    You probably have another script with the same name in your project.

  • @indy2l
    @indy2l8 күн бұрын

    Nice tutorial, had just a couple issues that were really easy to fix (mostly forgetting the ";"). But would be cool to have another way of checking the ground, because since it's detecting the ground using an invisible circle, if your character stands barely on a platform, the circle doesn't see the ground, so you can't jump. I tried using OverlapArea but didn't figure it out ¯\_(ツ)_/¯

  • @bendux
    @bendux3 күн бұрын

    You can adjust the radius of the ground check.

  • @marco2256
    @marco22569 күн бұрын

    Love you I'd offer you a kebab if I could

  • @larryhotdog99
    @larryhotdog999 күн бұрын

    My player just falls through the floor whenever I play the game. Heres my code: using System.Collections; using System.Collections.Generic; using System.Runtime.CompilerServices; using Unity.VisualScripting; using UnityEngine; public class Playermovement : MonoBehaviour { private float horizontal; private float speed = 8f; private float jumpingPower = 16f; private bool isfacingright = true; [SerializeField] private Rigidbody2D rb; [SerializeField] private Transform groundCheck; [SerializeField] private LayerMask groundLayer; // Update is called once per frame void Update() { horizontal = Input.GetAxisRaw("Horizontal"); if (Input.GetButtonDown("Jump") && IsGrounded()) { rb.velocity = new Vector2(rb.velocity.x, jumpingPower); } if (Input.GetButtonUp("Jump") && rb.velocity.y > 0f) { rb.velocity = new Vector2(rb.velocity.x, rb.velocity.y * 0.5f); } } private void FixedUpdate() { rb.velocity = new Vector2(horizontal * speed, rb.velocity.y); } private bool IsGrounded() { return Physics2D.OverlapCircle(groundCheck.position, 0.2f, groundLayer); } }

  • @bendux
    @bendux9 күн бұрын

    If you want two game objects to collide with each other, both game objects require a collider.

  • @larryhotdog99
    @larryhotdog999 күн бұрын

    @@bendux okay thx

  • @ninjafut1007
    @ninjafut10079 күн бұрын

    teamo

  • @ItsQuazey
    @ItsQuazey11 күн бұрын

    I have an error called: Tag: player is not defined Can someone help me?

  • @bendux
    @bendux9 күн бұрын

    Tags in Unity are case-sensitive.

  • @jellybob999
    @jellybob99911 күн бұрын

    1:58 i use a differant flipping method/ so what do i do?

  • @bendux
    @bendux9 күн бұрын

    It depends on how you flip your player.

  • @MugStudios2024
    @MugStudios202412 күн бұрын

    These simple tutorials have been a lifesaver! THANK YOU!

  • @rohanpani622
    @rohanpani62212 күн бұрын

    The || is giving me an error for the private void Flip

  • @bendux
    @bendux9 күн бұрын

    I advise you to compare your script with the source code in the description.

  • @pandamaen5097
    @pandamaen509712 күн бұрын

    i love the description of the player sprite

  • @NoNameQ6
    @NoNameQ612 күн бұрын

    На рандом кнопки натыкал и думает помог

  • @Zero-cn6tc
    @Zero-cn6tc13 күн бұрын

    Hello the player script didn’t have those extra options how do i get those to appear?

  • @bendux
    @bendux9 күн бұрын

    Make sure that the script is saved and doesn't contain any errors.

  • @danielrdrigues
    @danielrdrigues13 күн бұрын

    If the player takes longer to pass through, isn't the collider going to come back and make the player stuck? wouldn't be better a redundancy to check if the player still inside the collider?

  • @xah5560
    @xah556013 күн бұрын

    That's so genius, thank you. If not for you, my jump buffering code would remain 20 lines long😭

  • @th34rc4d3g4m3r
    @th34rc4d3g4m3r15 күн бұрын

    is there a way to slow the dash trraveling time ?

  • @bendux
    @bendux9 күн бұрын

    Decrease the dashingTime value at the top of the script.

  • @azizcanyalcin
    @azizcanyalcin15 күн бұрын

    My dash looks like teleporting. why is that ?

  • @fallenbored7
    @fallenbored715 күн бұрын

    Hey I am Having a problem When I move to left it disappears

  • @bendux
    @bendux12 күн бұрын

    Assign the Sprites-Default material to your player's Sprite Renderer component.

  • @resourcezander
    @resourcezander17 күн бұрын

    I have a glitch where I can barely jump and when I jump off the edge I slowly very very slowly fall Edit: never mind I’m just dumb

  • @leonardoespinola1880
    @leonardoespinola188017 күн бұрын

    the best tutorial of coyote time i see

  • @emyexo7742
    @emyexo774217 күн бұрын

    I keep getting an error "Non-invocable member 'Vector2' cannot be used like a method." what would anyone suggest?

  • @bendux
    @bendux9 күн бұрын

    I advise you to compare your script with the source code in the description.

  • @Netroshin
    @Netroshin17 күн бұрын

    Fantastic. Is object pooling good for enable/disable coins to get performance? I believe you can Do this with many objects that are in a game scene dozens of times.

  • @rragy1848
    @rragy184818 күн бұрын

    These are one of the best videos for 2 d game. Now when it comes to coding its still hard to follow.. , but Unity learn platform is always there if you want to learn something extra.., but overall good content bud! Much appreciated!

  • @dabrnii7854
    @dabrnii785419 күн бұрын

    thanks man great video but i have only one issue when i teleport some methods that works before teleportation do not work after i do teleport like grabbing objects can you help me on this one plz

  • @CodeZhaba
    @CodeZhaba19 күн бұрын

    Thank you so much!

  • @MysteriousNN
    @MysteriousNN20 күн бұрын

    am i the only one who has problem with collide?

  • @bendux
    @bendux18 күн бұрын

    What do you mean?

  • @Malo5659
    @Malo565920 күн бұрын

    Very good tutorial

  • @alexanderthegreat4817
    @alexanderthegreat481722 күн бұрын

    Hi my character sometimes dashes into objects and gets stuck, im using your movement with unity input system tutorial and this dash tutorial, any ideas on whats gone wrong?

  • @daxmiller2670
    @daxmiller267023 күн бұрын

    im having a problem if i spam space button when on ground am able to do a double jump how can i fix that

  • @bendux
    @bendux18 күн бұрын

    There is a link to the optimized source code in the description.

  • @CATaclysmOg
    @CATaclysmOg24 күн бұрын

    I tried your code and the wall slide doesn't work in my case I do not know what could be the issue. Also the wall jump will not apply the horizontal force away from the wall when wall jumping

  • @armandasaukscionis2558
    @armandasaukscionis255822 күн бұрын

    by any chance is it only on a wall that is to the right of the character?

  • @CATaclysmOg
    @CATaclysmOg22 күн бұрын

    @@armandasaukscionis2558 both sides unfortunately

  • @bendux
    @bendux18 күн бұрын

    Create a Physics Material 2D, set the friction to zero, and add it to your player's Rigidbody 2D component.

  • @CATaclysmOg
    @CATaclysmOg18 күн бұрын

    @@bendux thanks but I already done that

  • @bendux
    @bendux3 күн бұрын

    @@CATaclysmOg I advise you to compare your script with the source code in the description.

  • @GD-Monkey
    @GD-Monkey24 күн бұрын

    This is the only tutorial where I get good physics for the player, thanks so much :)

  • @FIREORICE
    @FIREORICE24 күн бұрын

    my character clips through the floor

  • @bendux
    @bendux18 күн бұрын

    If you want two game objects to collide with each other, both game objects require a collider.

  • @OfficialPlushooterAcc
    @OfficialPlushooterAcc26 күн бұрын

    It says isfacingright doesn’t exist ???????

  • @bendux
    @bendux18 күн бұрын

    You probably have a typo somewhere in your script.

  • @gumball5372
    @gumball537228 күн бұрын

    Idk if this is just me but my character is flying up forever. Is there a fix to this???

  • @bendux
    @bendux18 күн бұрын

    It's hard to tell what's going on without seeing your script.

  • @SpinDash_Go_2150
    @SpinDash_Go_215028 күн бұрын

    good tutorial but nothing shows up in the script conponent in the player

  • @bendux
    @bendux18 күн бұрын

    Make sure that the script is saved and doesn't contain any errors.

  • @robertbaoanh5161
    @robertbaoanh516129 күн бұрын

    how did he get the rb, groundCheck and groundLayer on the script component? i need help

  • @bendux
    @bendux18 күн бұрын

    Make sure that the script is saved and doesn't contain any errors.

  • @ignaciovaldes6234
    @ignaciovaldes6234Ай бұрын

    is there any chance you coudl help me? my code is not marking green the serializefield and it dosent autofill it like in your code, neither do the unity stuff like the Rigibody2d, its like the code is not referencing them, any tips?

  • @bendux
    @benduxАй бұрын

    learn.microsoft.com/en-us/visualstudio/gamedev/unity/get-started/getting-started-with-visual-studio-tools-for-unity

  • @ignaciovaldes6234
    @ignaciovaldes6234Ай бұрын

    @@bendux thannjk

  • @user-ve5rr9bp3n
    @user-ve5rr9bp3nАй бұрын

    thank you so much ,without you i would still be stuck in how to move it . you've got a sub

  • @fieryninja2374
    @fieryninja2374Ай бұрын

    The simplicity is insane, thx

  • @Real-Yellernet
    @Real-YellernetАй бұрын

    it dosent work becuase i dont havet that gui fake video fake news report

  • @alpachaka320
    @alpachaka320Ай бұрын

    Thank you for this short but helpful video :)

  • @kruziksuleyk9536
    @kruziksuleyk9536Ай бұрын

    This helped heaps thank you so much