Custom Character On Animated Sprites | Godot 4

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ธ.ค. 2024
  • เกม

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

  • @manuelandremusic
    @manuelandremusic 13 วันที่ผ่านมา +1

    Thanks for the video. Great explanation and gorgeous animations & UI on the character customization screen. It'd be interesting to see how this could work with an AnimationPlayer. My guess is you'd either need to create every possible animation for each individual part, and then tell AnimationPlayer(s) what to play, or you'd need perfectly organized sprite sheets where you can put the numbers of your arrays in as the x coord and the player finds the rest by itself. But I probably make it more complicated than it is.

    • @ByteChompGames
      @ByteChompGames  13 วันที่ผ่านมา +1

      Glad you enjoyed the video!
      Actually, using an AnimationPlayer to manage all the different animated sprites is an optimization I'm considering at the moment. It allows you to set what animation an AnimatedSprite2D should play and would simplify keeping all the animations in sync. The amount of eye and mouth sprites could also be drastically cut down, as keeping them in line with the body motion could be done through position key frames. SpriteFrames are a great resource though so I don't see any need to move the frame by frame sprite selection into the player directly.

  • @chaosmachines934
    @chaosmachines934 13 วันที่ผ่านมา

    can someone help me out.
    i do want to make a book in godot where you can turn back and forth between pages can someone help me out.

    • @ByteChompGames
      @ByteChompGames  13 วันที่ผ่านมา

      Sounds like a fun project! I would need to know more about what you're struggling with to help.
      For now I would say if you'd like to use buttons to turn the pages, they have built in signals that can could call a "turn page" animation to play on click.
      If you haven't already, there are lots of great videos that cover Godot signals and all the different control nodes you can watch to get a better idea for how to set it up based on your design.
      Outside of that, reddit and the Godot forums have good communities to help if you get stuck with code.

    • @chaosmachines934
      @chaosmachines934 13 วันที่ผ่านมา

      @@ByteChompGames hm

    • @chaosmachines934
      @chaosmachines934 13 วันที่ผ่านมา

      @@ByteChompGames can't you make a video to show me how to make an auto animation button who uses sprite2D to animate on Fraims
      if possible.

    • @ByteChompGames
      @ByteChompGames  13 วันที่ผ่านมา +2

      🤔 I don't have a lot of free time, so I'd like to stay focused on my own games, where I can share tips along the way (like this video). But I'll see if I can get something working this weekend and share if it goes well.
      Kinda weird that there's not a video on this already anyway.

    • @chaosmachines934
      @chaosmachines934 13 วันที่ผ่านมา +1

      @@ByteChompGames no 0 videos and i am coming from construct 2 so i was playing to have something like a book in the UI who works like collecting and exploring monsters and enemas.
      but i don't know how to use a button to let's say go to page 2 and vice versa.
      in C2 it has his auto animation scrip but in Godot i have no idea how to control the animation from the sprite by using a button