I coded a 3D player controller in 6 LINES! (kind of)

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ต.ค. 2024
  • #gamedev #challenge #godot
    🚀 Get unique rewards on my Patreon: / minapecheux
    👉 Check out my tutorial on 3D movement in Godot: • Make Any Kind of 3D Mo...
    👉 Assets by Kay Lousberg: kaylousberg.it...
    In Godot 4, it's pretty easy to make a 3D player controller script. But... how much could we actually shrink it down? Can we implement this in just 6 lines of code? (Spoiler: kinda!)
    Time for a little Godot/GDScript game dev challenge!
    ================
    Music by www.bensound.com
    License code: 1LRP83XLXEDY1ONS
    Music by: www.bensound.com
    License code: RTLQ9HHWBAF1N1NZ
    Music: www.bensound.com
    License code: GQ8TNW0NF5QOMRV9
    Music: bensound.com
    License code: YFQIQUE4Y0AMHC1S

ความคิดเห็น • 9

  • @mosmo618
    @mosmo618 2 หลายเดือนก่อน +8

    I'm not a game developer, but I am a software developer with enough experience to advise anyone who sees this to know that even though it's a nice idea, it's not recommended to write code like this in terms of readability

    • @minapecheux
      @minapecheux  2 หลายเดือนก่อน +3

      Heya - you're absolutely right, thanks for pointing it out! As I said in the video, this is just a fun challenge, but it's indeed not recommended at all - just a way to learn some quirky hacks about GDScript ;)

  • @hopsys
    @hopsys 2 หลายเดือนก่อน +5

    3D player controller speedrun any %

  • @AC-fi8ge
    @AC-fi8ge หลายเดือนก่อน

    Brings me back to the ol' C scripts where the source code is formatted into an ASCII-like image of a donut or cat (and more).
    Its more or less of a blessing that GDScript doesn't have in-line block comments (AFIAK), but those backslashes -- as much as I love implementing multiline commands myself (moreso in C++ & C#/Java) -- can't be trusted! 😂

  • @AC-fi8ge
    @AC-fi8ge หลายเดือนก่อน

    Also Mina: *Hello everybody, I challenged myself to recreate Doom in Godot using less than 15 lines of code*

  • @NoBody-x6o
    @NoBody-x6o 2 หลายเดือนก่อน

    un tutoriel très facile à suivre.
    Je viens de découvrir votre chaîne et je l'aime beaucoup.

    • @minapecheux
      @minapecheux  2 หลายเดือนก่อน

      Merci beaucoup ! Ravie que la chaîne vous plaise :)

  • @timmygilbert4102
    @timmygilbert4102 2 หลายเดือนก่อน +1

    While it's not advise to write hard to read code. Getting an habit to read them only makes a programmer's life easier. 😂
    I still struggle to properly start programming in Godot, not because it's hard, but because I'm stuck in analysis paralysis due to years of unity's dev and being able to planned ahead in that paradigm. 😢

  • @evilpollination1916
    @evilpollination1916 2 หลายเดือนก่อน

    Wow I am so fast and first