From e7663e91cac36314ca533173605c82270d33976c Mon Sep 17 00:00:00 2001 From: nek0 Date: Thu, 8 Sep 2022 07:04:55 +0200 Subject: [PATCH] implement draggable cards and drop zones --- .gitattributes | 2 ++ src/Card.gd | 3 +++ src/Card.tscn | 3 +++ src/DropZone.gd | 3 +++ src/DropZone.tscn | 3 +++ src/Playfield.tscn | 3 +++ src/project.godot | 4 ++-- 7 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 src/Card.gd create mode 100644 src/Card.tscn create mode 100644 src/DropZone.gd create mode 100644 src/DropZone.tscn create mode 100644 src/Playfield.tscn diff --git a/.gitattributes b/.gitattributes index 346bee5..a917f44 100644 --- a/.gitattributes +++ b/.gitattributes @@ -5,3 +5,5 @@ *.import filter=lfs diff=lfs merge=lfs -text *.godot filter=lfs diff=lfs merge=lfs -text *.gitignore filter=lfs diff=lfs merge=lfs -text +*.gd filter=lfs diff=lfs merge=lfs -text +*.tscn filter=lfs diff=lfs merge=lfs -text diff --git a/src/Card.gd b/src/Card.gd new file mode 100644 index 0000000..6a40ca8 --- /dev/null +++ b/src/Card.gd @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8b795848c1b21d850860439daf3a115f090f1fc03219b3d47a91c8322d07c5d0 +size 1024 diff --git a/src/Card.tscn b/src/Card.tscn new file mode 100644 index 0000000..be0a702 --- /dev/null +++ b/src/Card.tscn @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f1b3d9e24a3ef3407be2283b42bd675bf1a497f2f1ddfb301ca732fba3697bfd +size 574 diff --git a/src/DropZone.gd b/src/DropZone.gd new file mode 100644 index 0000000..37a0c5e --- /dev/null +++ b/src/DropZone.gd @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f0f5fa6e2d1e757f84c8c6ae94f327773eba93a777678aeb1b02ccff7e6a50d2 +size 575 diff --git a/src/DropZone.tscn b/src/DropZone.tscn new file mode 100644 index 0000000..4942acc --- /dev/null +++ b/src/DropZone.tscn @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cb2da4ef9888b53ee932952ba9aa9fbcd2b174ee23517bd1d1afc53d0ba80d5a +size 490 diff --git a/src/Playfield.tscn b/src/Playfield.tscn new file mode 100644 index 0000000..f913847 --- /dev/null +++ b/src/Playfield.tscn @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d65e72713f4be388d1bd23b013303e753c909fad583a2f3d01437f4ae29d2a63 +size 422 diff --git a/src/project.godot b/src/project.godot index 3039e19..c599c81 100644 --- a/src/project.godot +++ b/src/project.godot @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c0c419080b90e8b7b84c42b12b21596c051ef9755df0d369727aabfe84a891e1 -size 610 +oid sha256:8b81bd6becd5d6ca3dab96bb935002459ecdc9d93c12679a4ce649ec95def443 +size 1077