How I Fan 3D Cards in Godot 4

30,666
0
Published 2022-08-09
I've spent a month adding a demo card game to my Godot 4 course. As a result, I wanted to dive into a cool logistical solution to fanning a hand of cards with the Curve resource.

📰 Check out my Godot 4 course here! bramwell.itch.io/godot-4-beginners/devlog/404886/c…

✨ Socials ✨
🐦 Twitter: twitter.com/bramreth
💬 Discord: discord.gg/YjhM98xZkY
☕ Buy me a coffee: www.buymeacoffee.com/bram
🎮Games: bramwell.itch.io/
🕺TikTok: tiktok.com/@bramreth

🤖 The 12th alpha release for Godot 4 I used in the video is here:
downloads.tuxfamily.org/godotengine/4.0/alpha12/

Chapters:
00:00 Introduction
01:45 Making 3D cards
02:08 The hand node
02:35 Spreading the cards horizontally
05:00 The Curve resource
07:22 Spreading the cards vertically
08:24 Rotating the cards
09:22 Closing words
#Godot4 #GodotEngine #Gamedev

All Comments (21)
  • @tamerxero
    This is a great video! If anyone is wondering, in the new GDScript instead of the interpolate() function there's a sample() function instead for curves. Took me a minute of exploration and research to get to, so hopefully this speeds up the process for the next person.
  • @Carkoon
    I found it really useful that you explained your thought process so well. The illustrations really helped in that regard.
  • @bwah9481
    Love the visuals. Thank you for sharing and taking the time to put this together!
  • @rluders
    This was beautiful to watch. Very elegant solutions.
  • @stefoto7577
    This is such a good video, it helped me in specific how to go along making a drawing program work even with quick and long strokes
  • @haydenap
    What a stellar video. Your editing and video composition is of really high quality. Not to mention your clear method of explaining the subject matter.
  • @JackKell100
    Extremely good video format! I like how you breakdown the problem and describe what you are trying to achieve first and then build on top of the problem incrementally.
  • Wow this is amazing, I didn't know you were doing a course to create a card game, oh this looks fun, I think I'll be encouraged these days to buy your course
  • Thanks a lot. I found another tutorial which was way to complicated using multiple sinus and cosinus function. Your solution is way easier to understand and easier to compute.
  • @andrerenajf
    Your content is in another level of production
  • @wukerplank
    So well done with the animations in between. It's obvious that you put a lot of time and effort into this!
  • Very clean & concise tutorial. The effort put into the editing really payed off.
  • @marioroberti
    HOLUP......You have a course?! I loved your dragging camera example in Godot 3. I just bought your course. Can't wait to dive in!!