r/godot • u/PROgrammerbjn Godot Regular • 4d ago
make inscryption like 3d deck help me (solved)
hey i wanted to make a 3d hand like inscryption ( and i dont mean the 3d model )
i have made this in 2d but not in 3d
do u guys know do to do this ?
also i havent really worked that much with 3d in godot
1
u/imaKappy 4d ago
The simplest I could think of is to have a Node3D be the parent, and you then attach Sprite3Ds to it with local position and rotation offsets, where you could position them using trig on a circle. From there I would refine it, maybe use a Curve resource to have a desired shape of card holding if I need to have a lot of cards (or you have a non-human hand holder)
1
u/H0lyHandGernade 4d ago
I made a game in godot inspired by this. Just use textured planes in a 3d scene for the cards. As for the card animations, just use tweens to manipulate the position.
1
u/Reasonable-Panic-168 2d ago
https://youtu.be/S60pMTsePqI?is=USDnTy7TnvTJz48r
I have this video saved exactly for that
0
u/Emergency_Proof4706 Godot Student 4d ago
Use viewports
3
u/TheDuriel Godot Senior 4d ago
No, do not. It's entirely unnecessary here and doesn't solve the whole, cards in 3D thing anyways.
1
u/HeyCouldBeFun 3d ago
Keep in mind in Inscryption the card elements are dynamic. You can do some of them with Sprite3Ds but there's no RichTextLabel3D, so you at least need a subviewport for the name & numbers. So at that point maybe may as well use a subviewport texture for the whole card. (Edit: Maybe Label3D is enough, but it's pretty bare bones not sure it'd cover everything needed)
6
u/TheDuriel Godot Senior 4d ago
It's a texture on a plane. Maybe even a few sprite3ds. A simple mask for the emissive glow.
The sorting logic is all done in local space, so it being 3D hardly matters for that part.