2D Player Movement in Godot 4 Beginners

Поделиться
HTML-код
  • Опубликовано: 19 ноя 2024

Комментарии • 16

  • @LioGoesIndie
    @LioGoesIndie  4 месяца назад +2

    If you want to support the channel and help us push the message to more people, leave a thumbs up on this video and leave a comment or an emote below. Your support is much appreciated!🙂🙏

  • @Zewofficial
    @Zewofficial 3 месяца назад

    Great stuff. Really good explanations! More 2D stuff! Golden!

  • @murphyx217
    @murphyx217 Месяц назад +1

    Thanks, This lesson help me refine the movement of my character. Since I didn't much about how to move my character, I hard coded the movement on the main node.
    With this explanation I moved the logic to the character node and It worked. Not only that, I could add improvement of what I previously implemented which made the code a lot more cleaner and easy to work with.

    • @LioGoesIndie
      @LioGoesIndie  Месяц назад

      Nice! I am happy it helped you understand such a key element a little better.

  • @maple_henlo
    @maple_henlo 4 месяца назад +2

    I was thinking of learning godot. Thanks for the tutorial and I’ll keep this video in mind when I learn. 👍

    • @robertmurrell3852
      @robertmurrell3852 4 месяца назад +2

      I just started learning Godot last week-ish. I have programming experience from web development, but game development is a new thing. I find Godot to be detailed, but reasonably noob-friendly.

    • @LioGoesIndie
      @LioGoesIndie  4 месяца назад +1

      I hope it will come in handy one day and my other videos about Areas and Signals too!
      :)

    • @LioGoesIndie
      @LioGoesIndie  4 месяца назад +1

      Then welcome to game dev!
      It is specially noob-friendly if you compare it to Unity and Unreal, which have way more fluff that totally overwhelmed me.

    • @viksa398
      @viksa398 4 месяца назад +2

      Just dont give up and stick to one engine

  • @viksa398
    @viksa398 4 месяца назад +2

    Keep at the good work

    • @LioGoesIndie
      @LioGoesIndie  4 месяца назад +1

      Thank you! I am glad you liked it 🙂
      It's quite the effort, but I feel like I am learning a lot about content creation in the process

  • @BleuNoirProductions
    @BleuNoirProductions 4 месяца назад +2

    Godot beginner here, i'm experimenting with this because I want to eventually make a top-down game. The code in the first example gives me an error, I think because the variable Velocity is not used anywhere in the script here?
    edit: Got it. Script was not attached to Characterbody2D but to the player node. Leaving this here as reference to other people who don't pay attention to the instructions :p

    • @LioGoesIndie
      @LioGoesIndie  4 месяца назад

      Yes, correct. You need to make sure the script is attached to a character body as velocity and move_and_slide() are properties only a Characterbody2D node posesses.

  • @franziee8779
    @franziee8779 4 месяца назад

    Hello can u make a 2D virtual joystick that automatically connect to a player already and an option setting ingame

    • @LioGoesIndie
      @LioGoesIndie  4 месяца назад +1

      Hello and thanks for watching! 👋
      I am afraid this request is currently a bit above my paygrade. Just normal joystick inputs can be done in the input setting explained at the end of the video. A virtual one like on a mobile game is something I have not explored or tinkered with yet. I am afraid you need to look up a different senpai to teach you this. Sorry 🙏