This is a drag 'n drop Godot 3 example.
You found 4 pieces of paper and now you have to arrange them in order to read the message on it.
- Add a scene with a
Node2D
element. - Connect
ShapeMinigame.gd
script to it. - Add multiple
KinematicBody2D
elements with a RectangularCollisionShape2D
and, if you want, aSprite
. - Connect
DragElement.gd
script to it. - Set
targetPosition
perKinematicBody2D
element. - Create a
SuccessLabel
, which will be shown as soon as all elements have reached target position. - Have fun!