From c25da8f903e5a1cbeda4df892a65efa581629c00 Mon Sep 17 00:00:00 2001 From: Martin Felis Date: Sat, 20 Aug 2022 00:18:16 +0200 Subject: [PATCH] Working on physics interaction --- Assets/white.png | Bin 0 -> 546 bytes Assets/white.png.import | 35 +++++++++++++++ Components/CollisionComponent.gd | 16 +++++++ Components/MovableComponent.gd | 3 ++ Entities/PlayerEntity.gd | 44 +++++++++++++++++-- Entities/PlayerEntity.tscn | 32 ++++++++++++-- Game.tscn | 47 +++++++++++++++++++- Materials/PhysicsObjects.tres | 73 +++++++++++++++++++++++++++++++ project.godot | 5 +++ 9 files changed, 246 insertions(+), 9 deletions(-) create mode 100644 Assets/white.png create mode 100644 Assets/white.png.import create mode 100644 Components/CollisionComponent.gd create mode 100644 Materials/PhysicsObjects.tres diff --git a/Assets/white.png b/Assets/white.png new file mode 100644 index 0000000000000000000000000000000000000000..5aafd2cc21f0024ce21f73897798978eca32dbc9 GIT binary patch literal 546 zcmV+-0^R+IP)EX>4Tx04R}tkv&MmKpe$iTct%R4y_>KkfAzR5ET(zv~9Dn_CrvuLvQ6egHEPGxa%9Ou=(}-NVP%yExDCKKJM7Rq`eSd;;+-(+!JwgLrDw z(mC%FM_EZyh|h^f4Z0xlBiCh@-#8Z?_VdiBkx9=JM~Q`E2g@DIN`^{2NgPvDjq?3j zmle)ioYhK=weHDZ7|v@e%Uq{9gd`TR1Q7yc)KEqR7UHyOq?kz4e!{~)==eo)$>b`7 zkz)Z>sE`~#_#gc4)+|hnyGh{$(EVcDAHzU!7iiXP`}^3on