From 37c4c7f258ee7c2acca5ff6529b0615220e2d1f6 Mon Sep 17 00:00:00 2001 From: go38coz Date: Sat, 6 Jun 2026 00:22:13 +0200 Subject: [PATCH 01/16] DamageHandling script --- Game/.idea/.idea.Game/.idea/indexLayout.xml | 8 ++ .../.idea/material_theme_project_new.xml | 12 ++ .../.idea/projectSettingsUpdater.xml | 8 ++ Game/.idea/.idea.Game/.idea/workspace.xml | 107 ++++++++++++++++++ 4 files changed, 135 insertions(+) create mode 100644 Game/.idea/.idea.Game/.idea/indexLayout.xml create mode 100644 Game/.idea/.idea.Game/.idea/material_theme_project_new.xml create mode 100644 Game/.idea/.idea.Game/.idea/projectSettingsUpdater.xml create mode 100644 Game/.idea/.idea.Game/.idea/workspace.xml diff --git a/Game/.idea/.idea.Game/.idea/indexLayout.xml b/Game/.idea/.idea.Game/.idea/indexLayout.xml new file mode 100644 index 0000000..7b08163 --- /dev/null +++ b/Game/.idea/.idea.Game/.idea/indexLayout.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Game/.idea/.idea.Game/.idea/material_theme_project_new.xml b/Game/.idea/.idea.Game/.idea/material_theme_project_new.xml new file mode 100644 index 0000000..13ba076 --- /dev/null +++ b/Game/.idea/.idea.Game/.idea/material_theme_project_new.xml @@ -0,0 +1,12 @@ + + + + + + \ No newline at end of file diff --git a/Game/.idea/.idea.Game/.idea/projectSettingsUpdater.xml b/Game/.idea/.idea.Game/.idea/projectSettingsUpdater.xml new file mode 100644 index 0000000..ef20cb0 --- /dev/null +++ b/Game/.idea/.idea.Game/.idea/projectSettingsUpdater.xml @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git a/Game/.idea/.idea.Game/.idea/workspace.xml b/Game/.idea/.idea.Game/.idea/workspace.xml new file mode 100644 index 0000000..4f33e76 --- /dev/null +++ b/Game/.idea/.idea.Game/.idea/workspace.xml @@ -0,0 +1,107 @@ + + + + + + + + + + + + + + + + + + + + { + "associatedIndex": 5, + "fromUser": false +} + + + + + + + + + + + + + 1780696757964 + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file From 5c57f4b3181444c3999c3d8a3361a6cf4f5b3ff0 Mon Sep 17 00:00:00 2001 From: cemt1363 Date: Sat, 6 Jun 2026 00:32:10 +0200 Subject: [PATCH 02/16] trying to figure out how to jump --- Game/.vsconfig | 6 ++++++ Game/Assets/Scripts/DropletMovement.cs | 20 ++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 Game/.vsconfig diff --git a/Game/.vsconfig b/Game/.vsconfig new file mode 100644 index 0000000..f019fd0 --- /dev/null +++ b/Game/.vsconfig @@ -0,0 +1,6 @@ +{ + "version": "1.0", + "components": [ + "Microsoft.VisualStudio.Workload.ManagedGame" + ] +} diff --git a/Game/Assets/Scripts/DropletMovement.cs b/Game/Assets/Scripts/DropletMovement.cs index 76b61a6..a1a0a27 100644 --- a/Game/Assets/Scripts/DropletMovement.cs +++ b/Game/Assets/Scripts/DropletMovement.cs @@ -2,11 +2,26 @@ using UnityEngine; public class DropletMovement : MonoBehaviour { +<<<<<<< Updated upstream public float moveSpeed = 5f; private Rigidbody2D rb; private Vector2 movement; +======= + private Rigidbody2D rb; + public float moveSpeed = 5f; + public float jumpingPower = 5f; + private Vector2 movement; + private Animator playerAnim; //for animation + private float xInput; + + //helper variables + private bool isGrounded = true; + [SerializeField] private float dashSpeed; + [SerializeField] private float dashDuration; + private float dashTime; +>>>>>>> Stashed changes // Start is called once before the first execution of Update after the MonoBehaviour is created void Start() @@ -19,10 +34,15 @@ public class DropletMovement : MonoBehaviour { movement.x = Input.GetAxisRaw("Horizontal"); movement.y = Input.GetAxisRaw("Vertical"); + if (isGrounded && Input.GetKeyDown(KeyCode.Space)) + { + rb.AddForce(Vector2.up * jumpingPower, ForceMode2D.Impulse); + } } private void FixedUpdate() { rb.linearVelocity = movement.normalized * moveSpeed; } + } From 232ff501f6358508d6b8170422c0db2c633e0af2 Mon Sep 17 00:00:00 2001 From: cemt1363 Date: Sat, 6 Jun 2026 00:36:37 +0200 Subject: [PATCH 03/16] jump merge conflict idk --- Game/Assets/Scripts/DropletMovement.cs | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/Game/Assets/Scripts/DropletMovement.cs b/Game/Assets/Scripts/DropletMovement.cs index a1a0a27..477e3e6 100644 --- a/Game/Assets/Scripts/DropletMovement.cs +++ b/Game/Assets/Scripts/DropletMovement.cs @@ -2,47 +2,39 @@ using UnityEngine; public class DropletMovement : MonoBehaviour { -<<<<<<< Updated upstream - - public float moveSpeed = 5f; - - private Rigidbody2D rb; - private Vector2 movement; -======= private Rigidbody2D rb; + public float moveSpeed = 5f; public float jumpingPower = 5f; + private Vector2 movement; - private Animator playerAnim; //for animation + + private Animator playerAnim; private float xInput; - //helper variables private bool isGrounded = true; + [SerializeField] private float dashSpeed; [SerializeField] private float dashDuration; private float dashTime; ->>>>>>> Stashed changes - // Start is called once before the first execution of Update after the MonoBehaviour is created void Start() { rb = GetComponent(); } - // Update is called once per frame void Update() { movement.x = Input.GetAxisRaw("Horizontal"); - movement.y = Input.GetAxisRaw("Vertical"); + if (isGrounded && Input.GetKeyDown(KeyCode.Space)) { - rb.AddForce(Vector2.up * jumpingPower, ForceMode2D.Impulse); + rb.linearVelocity = new Vector2(rb.linearVelocity.x, jumpingPower); } } private void FixedUpdate() { - rb.linearVelocity = movement.normalized * moveSpeed; + rb.linearVelocity = new Vector2(movement.x * moveSpeed, rb.linearVelocity.y); } - -} +} \ No newline at end of file From 4ea659a9ecc19783d5eb29ef6236df89dfc11af9 Mon Sep 17 00:00:00 2001 From: orsolya-st Date: Sat, 6 Jun 2026 00:14:04 +0200 Subject: [PATCH 04/16] script editing first push helper variables (player) --- Game/.gitignore | 1 + Game/.idea/.idea.Game/.idea/indexLayout.xml | 8 -- .../.idea/material_theme_project_new.xml | 12 -- .../.idea/projectSettingsUpdater.xml | 8 -- Game/.idea/.idea.Game/.idea/workspace.xml | 107 ------------------ 5 files changed, 1 insertion(+), 135 deletions(-) delete mode 100644 Game/.idea/.idea.Game/.idea/indexLayout.xml delete mode 100644 Game/.idea/.idea.Game/.idea/material_theme_project_new.xml delete mode 100644 Game/.idea/.idea.Game/.idea/projectSettingsUpdater.xml delete mode 100644 Game/.idea/.idea.Game/.idea/workspace.xml diff --git a/Game/.gitignore b/Game/.gitignore index 3c335ae..efd7be0 100644 --- a/Game/.gitignore +++ b/Game/.gitignore @@ -104,3 +104,4 @@ InitTestScene*.unity* # Auto-generated cache in Assets folder /[Aa]ssets/[Ss]ceneDependencyCache* +.idea/ diff --git a/Game/.idea/.idea.Game/.idea/indexLayout.xml b/Game/.idea/.idea.Game/.idea/indexLayout.xml deleted file mode 100644 index 7b08163..0000000 --- a/Game/.idea/.idea.Game/.idea/indexLayout.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/Game/.idea/.idea.Game/.idea/material_theme_project_new.xml b/Game/.idea/.idea.Game/.idea/material_theme_project_new.xml deleted file mode 100644 index 13ba076..0000000 --- a/Game/.idea/.idea.Game/.idea/material_theme_project_new.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/Game/.idea/.idea.Game/.idea/projectSettingsUpdater.xml b/Game/.idea/.idea.Game/.idea/projectSettingsUpdater.xml deleted file mode 100644 index ef20cb0..0000000 --- a/Game/.idea/.idea.Game/.idea/projectSettingsUpdater.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - \ No newline at end of file diff --git a/Game/.idea/.idea.Game/.idea/workspace.xml b/Game/.idea/.idea.Game/.idea/workspace.xml deleted file mode 100644 index 4f33e76..0000000 --- a/Game/.idea/.idea.Game/.idea/workspace.xml +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - - - - - - - - - - - - - - { - "associatedIndex": 5, - "fromUser": false -} - - - - - - - - - - - - - 1780696757964 - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file From e9977b5a80b85b6f98791b764688dbb35a94791b Mon Sep 17 00:00:00 2001 From: cemt1363 Date: Sat, 6 Jun 2026 00:41:23 +0200 Subject: [PATCH 05/16] kms --- Game/Assets/Scripts/DropletMovement.cs | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/Game/Assets/Scripts/DropletMovement.cs b/Game/Assets/Scripts/DropletMovement.cs index 477e3e6..a6f314a 100644 --- a/Game/Assets/Scripts/DropletMovement.cs +++ b/Game/Assets/Scripts/DropletMovement.cs @@ -3,21 +3,20 @@ using UnityEngine; public class DropletMovement : MonoBehaviour { private Rigidbody2D rb; +<<<<<<< HEAD +======= + public float moveSpeed = 5f; + public float jumpingPower = 5f; + private Vector2 movement; + private Animator playerAnim; //for animation + private float xInput; +>>>>>>> 3a4d5de (current correct code inshallah) public float moveSpeed = 5f; public float jumpingPower = 5f; private Vector2 movement; - private Animator playerAnim; - private float xInput; - - private bool isGrounded = true; - - [SerializeField] private float dashSpeed; - [SerializeField] private float dashDuration; - private float dashTime; - void Start() { rb = GetComponent(); From 5341fa2dad348cead23bff0a862bc2c1b390e232 Mon Sep 17 00:00:00 2001 From: go38coz Date: Sat, 6 Jun 2026 01:04:35 +0200 Subject: [PATCH 06/16] added .idea to .gitignore --- Game/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/Game/.gitignore b/Game/.gitignore index efd7be0..75a7fca 100644 --- a/Game/.gitignore +++ b/Game/.gitignore @@ -5,6 +5,7 @@ # Recommended: add any editor/OS/tool-specific ignore rules from the Global/ templates as needed. # See: https://github.com/github/gitignore/tree/main/Global # +.idea/ .utmp/ /[Ll]ibrary/ /[Tt]emp/ From 342489922e8b122e8ca810a2cd83917e28c36bb3 Mon Sep 17 00:00:00 2001 From: cemt1363 Date: Sat, 6 Jun 2026 01:09:39 +0200 Subject: [PATCH 07/16] codes combined (dash and jump) --- Game/Assets/Scenes/cems scene.unity | 2 +- Game/Assets/Scripts/DropletMovement.cs | 75 +++++++++++++++++++++----- 2 files changed, 64 insertions(+), 13 deletions(-) diff --git a/Game/Assets/Scenes/cems scene.unity b/Game/Assets/Scenes/cems scene.unity index f47f316..4f44f2c 100644 --- a/Game/Assets/Scenes/cems scene.unity +++ b/Game/Assets/Scenes/cems scene.unity @@ -137,7 +137,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 4266476263824402640, guid: d56297e435f8410a584581d73d99d2e4, type: 3} propertyPath: m_GravityScale - value: 5 + value: 1 objectReference: {fileID: 0} - target: {fileID: 6566899495513628888, guid: d56297e435f8410a584581d73d99d2e4, type: 3} propertyPath: m_LocalPosition.x diff --git a/Game/Assets/Scripts/DropletMovement.cs b/Game/Assets/Scripts/DropletMovement.cs index 9c47c33..8ea16a3 100644 --- a/Game/Assets/Scripts/DropletMovement.cs +++ b/Game/Assets/Scripts/DropletMovement.cs @@ -1,19 +1,24 @@ using UnityEngine; +using System.Collections; public class DropletMovement : MonoBehaviour { private Rigidbody2D rb; - public float moveSpeed = 5f; - public float jumpingPower = 5f; - private Vector2 movement; - private Animator playerAnim; //for animation - private float xInput; - //helper variables + public float jumpingPower = 5f; + public float moveSpeed = 5f; + + private Vector2 movement; private bool isGrounded = true; - [SerializeField] private float dashSpeed; - [SerializeField] private float dashDuration; - private float dashTime; + + private bool canDash = true; + private bool isDashing; + + public float dashingPower = 24f; + public float dashingTime = 0.2f; + public float dashingCooldown = 1f; + + [SerializeField] private TrailRenderer tr; void Start() { @@ -22,18 +27,64 @@ public class DropletMovement : MonoBehaviour void Update() { + if (isDashing) + { + return; + } + movement.x = Input.GetAxisRaw("Horizontal"); - - - if (isGrounded && Input.GetKeyDown(KeyCode.Space)) + if (isGrounded && + (Input.GetKeyDown(KeyCode.Space) || + Input.GetKeyDown(KeyCode.UpArrow) || + Input.GetKeyDown(KeyCode.W))) { rb.linearVelocity = new Vector2(rb.linearVelocity.x, jumpingPower); } + + if (Input.GetKeyDown(KeyCode.LeftShift) && canDash) + { + StartCoroutine(Dash()); + } } private void FixedUpdate() { + if (isDashing) + { + return; + } + rb.linearVelocity = new Vector2(movement.x * moveSpeed, rb.linearVelocity.y); } + + private IEnumerator Dash() + { + canDash = false; + isDashing = true; + + float originalGravity = rb.gravityScale; + rb.gravityScale = 0f; + + rb.linearVelocity = new Vector2(transform.localScale.x * dashingPower, 0f); + + if (tr != null) + { + tr.emitting = true; + } + + yield return new WaitForSeconds(dashingTime); + + if (tr != null) + { + tr.emitting = false; + } + + rb.gravityScale = originalGravity; + isDashing = false; + + yield return new WaitForSeconds(dashingCooldown); + + canDash = true; + } } \ No newline at end of file From 4557e3bfd86ef8f99d8b5a71ccbc73e8194d12e9 Mon Sep 17 00:00:00 2001 From: go38coz Date: Sat, 6 Jun 2026 01:10:06 +0200 Subject: [PATCH 08/16] test --- Game/Assets/Scripts/DamageHandler.cs | 17 +++++++++++++++++ Game/Assets/Scripts/DamageHandler.cs.meta | 2 ++ Game/Assets/Scripts/DropletMovement.cs | 3 --- 3 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 Game/Assets/Scripts/DamageHandler.cs create mode 100644 Game/Assets/Scripts/DamageHandler.cs.meta diff --git a/Game/Assets/Scripts/DamageHandler.cs b/Game/Assets/Scripts/DamageHandler.cs new file mode 100644 index 0000000..ffef791 --- /dev/null +++ b/Game/Assets/Scripts/DamageHandler.cs @@ -0,0 +1,17 @@ +using UnityEngine; + +public class DamageHandler : MonoBehaviour +{ + public + // Start is called once before the first execution of Update after the MonoBehaviour is created + void Start() + { + + } + + // Update is called once per frame + void Update() + { + + } +} diff --git a/Game/Assets/Scripts/DamageHandler.cs.meta b/Game/Assets/Scripts/DamageHandler.cs.meta new file mode 100644 index 0000000..05cc573 --- /dev/null +++ b/Game/Assets/Scripts/DamageHandler.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2b3b9fc97a2d39d2d84c4be43a79247a \ No newline at end of file diff --git a/Game/Assets/Scripts/DropletMovement.cs b/Game/Assets/Scripts/DropletMovement.cs index a6f314a..9336849 100644 --- a/Game/Assets/Scripts/DropletMovement.cs +++ b/Game/Assets/Scripts/DropletMovement.cs @@ -3,14 +3,11 @@ using UnityEngine; public class DropletMovement : MonoBehaviour { private Rigidbody2D rb; -<<<<<<< HEAD -======= public float moveSpeed = 5f; public float jumpingPower = 5f; private Vector2 movement; private Animator playerAnim; //for animation private float xInput; ->>>>>>> 3a4d5de (current correct code inshallah) public float moveSpeed = 5f; public float jumpingPower = 5f; From af38398c28fb401b99c4f91c9d6d422a08ecbe7a Mon Sep 17 00:00:00 2001 From: cemt1363 Date: Sat, 6 Jun 2026 01:33:59 +0200 Subject: [PATCH 09/16] dash and jump almost final version --- Game/Assets/Scripts/DropletMovement.cs | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/Game/Assets/Scripts/DropletMovement.cs b/Game/Assets/Scripts/DropletMovement.cs index 8ea16a3..acffae5 100644 --- a/Game/Assets/Scripts/DropletMovement.cs +++ b/Game/Assets/Scripts/DropletMovement.cs @@ -5,15 +5,18 @@ public class DropletMovement : MonoBehaviour { private Rigidbody2D rb; + // helper variables + private bool isGrounded = true; + private float facingDirection = 1f; + + // movement + private Vector2 movement; public float jumpingPower = 5f; public float moveSpeed = 5f; - private Vector2 movement; - private bool isGrounded = true; - + // dashing private bool canDash = true; private bool isDashing; - public float dashingPower = 24f; public float dashingTime = 0.2f; public float dashingCooldown = 1f; @@ -34,6 +37,9 @@ public class DropletMovement : MonoBehaviour movement.x = Input.GetAxisRaw("Horizontal"); + if (movement.x < 0) facingDirection = -1; + if (movement.x > 0) facingDirection = 1; + if (isGrounded && (Input.GetKeyDown(KeyCode.Space) || Input.GetKeyDown(KeyCode.UpArrow) || @@ -87,4 +93,14 @@ public class DropletMovement : MonoBehaviour canDash = true; } + + private void OnCollisionEnter2D(Collision2D col) + { + isGrounded = true; + } + + private void OnCollisionExit2D(Collision2D col) + { + isGrounded = false; + } } \ No newline at end of file From adcfb655b107706d519f60b3039288f83425e890 Mon Sep 17 00:00:00 2001 From: cemt1363 Date: Sat, 6 Jun 2026 01:38:56 +0200 Subject: [PATCH 10/16] dash correction --- Game/Assets/Scripts/DropletMovement.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Game/Assets/Scripts/DropletMovement.cs b/Game/Assets/Scripts/DropletMovement.cs index acffae5..53bc6f9 100644 --- a/Game/Assets/Scripts/DropletMovement.cs +++ b/Game/Assets/Scripts/DropletMovement.cs @@ -72,7 +72,7 @@ public class DropletMovement : MonoBehaviour float originalGravity = rb.gravityScale; rb.gravityScale = 0f; - rb.linearVelocity = new Vector2(transform.localScale.x * dashingPower, 0f); + rb.linearVelocity = new Vector2(facingDirection * dashingPower, 0f); if (tr != null) { From eadadff4ac017f35b078ba7622a961289817931a Mon Sep 17 00:00:00 2001 From: go38coz Date: Sat, 6 Jun 2026 01:40:37 +0200 Subject: [PATCH 11/16] disabled rotation --- Game/.vscode/extensions.json | 5 -- Game/.vscode/launch.json | 10 ---- Game/.vscode/settings.json | 72 ---------------------------- Game/Assets/Scenes/MainScene.unity | 26 +++++++++- Game/Assets/Scripts/DamageHandler.cs | 4 +- 5 files changed, 27 insertions(+), 90 deletions(-) delete mode 100644 Game/.vscode/extensions.json delete mode 100644 Game/.vscode/launch.json delete mode 100644 Game/.vscode/settings.json diff --git a/Game/.vscode/extensions.json b/Game/.vscode/extensions.json deleted file mode 100644 index ddb6ff8..0000000 --- a/Game/.vscode/extensions.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "recommendations": [ - "visualstudiotoolsforunity.vstuc" - ] -} diff --git a/Game/.vscode/launch.json b/Game/.vscode/launch.json deleted file mode 100644 index da60e25..0000000 --- a/Game/.vscode/launch.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "version": "0.2.0", - "configurations": [ - { - "name": "Attach to Unity", - "type": "vstuc", - "request": "attach" - } - ] -} \ No newline at end of file diff --git a/Game/.vscode/settings.json b/Game/.vscode/settings.json deleted file mode 100644 index 346e89e..0000000 --- a/Game/.vscode/settings.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "files.exclude": { - "**/.DS_Store": true, - "**/.git": true, - "**/.vs": true, - "**/.gitmodules": true, - "**/.vsconfig": true, - "**/*.booproj": true, - "**/*.pidb": true, - "**/*.suo": true, - "**/*.user": true, - "**/*.userprefs": true, - "**/*.unityproj": true, - "**/*.dll": true, - "**/*.exe": true, - "**/*.pdf": true, - "**/*.mid": true, - "**/*.midi": true, - "**/*.wav": true, - "**/*.gif": true, - "**/*.ico": true, - "**/*.jpg": true, - "**/*.jpeg": true, - "**/*.png": true, - "**/*.psd": true, - "**/*.tga": true, - "**/*.tif": true, - "**/*.tiff": true, - "**/*.3ds": true, - "**/*.3DS": true, - "**/*.fbx": true, - "**/*.FBX": true, - "**/*.lxo": true, - "**/*.LXO": true, - "**/*.ma": true, - "**/*.MA": true, - "**/*.obj": true, - "**/*.OBJ": true, - "**/*.asset": true, - "**/*.cubemap": true, - "**/*.flare": true, - "**/*.mat": true, - "**/*.meta": true, - "**/*.prefab": true, - "**/*.unity": true, - "build/": true, - "Build/": true, - "Library/": true, - "library/": true, - "obj/": true, - "Obj/": true, - "Logs/": true, - "logs/": true, - "ProjectSettings/": true, - "UserSettings/": true, - "temp/": true, - "Temp/": true - }, - "files.associations": { - "*.asset": "yaml", - "*.meta": "yaml", - "*.prefab": "yaml", - "*.unity": "yaml", - }, - "explorer.fileNesting.enabled": true, - "explorer.fileNesting.patterns": { - "*.sln": "*.csproj", - "*.slnx": "*.csproj" - }, - "dotnet.defaultSolution": "Game.slnx", - "dotnet.enableWorkspaceBasedDevelopment": false -} \ No newline at end of file diff --git a/Game/Assets/Scenes/MainScene.unity b/Game/Assets/Scenes/MainScene.unity index bbf0573..d8ace94 100644 --- a/Game/Assets/Scenes/MainScene.unity +++ b/Game/Assets/Scenes/MainScene.unity @@ -145,7 +145,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 4266476263824402640, guid: d56297e435f8410a584581d73d99d2e4, type: 3} propertyPath: m_GravityScale - value: 25 + value: 5 objectReference: {fileID: 0} - target: {fileID: 6566899495513628888, guid: d56297e435f8410a584581d73d99d2e4, type: 3} propertyPath: m_LocalPosition.x @@ -190,8 +190,30 @@ PrefabInstance: m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] - m_AddedComponents: [] + m_AddedComponents: + - targetCorrespondingSourceObject: {fileID: 2141180002423843430, guid: d56297e435f8410a584581d73d99d2e4, type: 3} + insertIndex: -1 + addedObject: {fileID: 279662126} m_SourcePrefab: {fileID: 100100000, guid: d56297e435f8410a584581d73d99d2e4, type: 3} +--- !u!1 &279662125 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 2141180002423843430, guid: d56297e435f8410a584581d73d99d2e4, type: 3} + m_PrefabInstance: {fileID: 279662124} + m_PrefabAsset: {fileID: 0} +--- !u!114 &279662126 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 279662125} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2b3b9fc97a2d39d2d84c4be43a79247a, type: 3} + m_Name: + m_EditorClassIdentifier: '::' + threshold: 0.05 + multiplier: 5 --- !u!1 &357828117 GameObject: m_ObjectHideFlags: 0 diff --git a/Game/Assets/Scripts/DamageHandler.cs b/Game/Assets/Scripts/DamageHandler.cs index ffef791..53df53e 100644 --- a/Game/Assets/Scripts/DamageHandler.cs +++ b/Game/Assets/Scripts/DamageHandler.cs @@ -2,7 +2,9 @@ using UnityEngine; public class DamageHandler : MonoBehaviour { - public + public float threshold = 0.05f; + + public float multiplier = 5f; // Start is called once before the first execution of Update after the MonoBehaviour is created void Start() { From 88879c59dd28415d0c10194b0cf94e0f56c113ce Mon Sep 17 00:00:00 2001 From: go38coz Date: Sat, 6 Jun 2026 02:08:59 +0200 Subject: [PATCH 12/16] Added effector to prefab; Renamed Branches to Branch --- Game/Assets/Prefabs/Branches.prefab | 140 ---------------------- Game/Assets/Prefabs/Branches.prefab.meta | 7 -- Game/Assets/Scenes/MainScene.unity | 142 ++++++++++++++++++++++- Game/Assets/Scripts/DamageHandler.cs | 15 +-- 4 files changed, 143 insertions(+), 161 deletions(-) delete mode 100644 Game/Assets/Prefabs/Branches.prefab delete mode 100644 Game/Assets/Prefabs/Branches.prefab.meta diff --git a/Game/Assets/Prefabs/Branches.prefab b/Game/Assets/Prefabs/Branches.prefab deleted file mode 100644 index 3617632..0000000 --- a/Game/Assets/Prefabs/Branches.prefab +++ /dev/null @@ -1,140 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!1 &8871780616060845038 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 2163867978973577705} - - component: {fileID: 6893150318335556705} - - component: {fileID: 5310886650056327379} - m_Layer: 0 - m_Name: Branches - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &2163867978973577705 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8871780616060845038} - serializedVersion: 2 - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -0.32, y: -0.13, z: 0} - m_LocalScale: {x: 2.8460264, y: 0.35938773, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 0} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!212 &6893150318335556705 -SpriteRenderer: - serializedVersion: 2 - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8871780616060845038} - m_Enabled: 1 - m_CastShadows: 0 - m_ReceiveShadows: 0 - m_DynamicOccludee: 1 - m_StaticShadowCaster: 0 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_RayTracingMode: 0 - m_RayTraceProcedural: 0 - m_RayTracingAccelStructBuildFlagsOverride: 0 - m_RayTracingAccelStructBuildFlags: 1 - m_SmallMeshCulling: 1 - m_ForceMeshLod: -1 - m_MeshLodSelectionBias: 0 - m_RenderingLayerMask: 1 - m_RendererPriority: 0 - m_Materials: - - {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_ReceiveGI: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 1 - m_SelectedEditorRenderState: 0 - m_MinimumChartSize: 4 - m_AutoUVMaxDistance: 0.5 - m_AutoUVMaxAngle: 89 - m_LightmapParameters: {fileID: 0} - m_GlobalIlluminationMeshLod: 0 - m_SortingLayerID: 0 - m_SortingLayer: 0 - m_SortingOrder: 0 - m_MaskInteraction: 0 - m_Sprite: {fileID: 7482667652216324306, guid: 311925a002f4447b3a28927169b83ea6, type: 3} - m_Color: {r: 0.32704395, g: 0.1984889, b: 0.1984889, a: 1} - m_FlipX: 0 - m_FlipY: 0 - m_DrawMode: 0 - m_Size: {x: 1, y: 1} - m_AdaptiveModeThreshold: 0.5 - m_SpriteTileMode: 0 - m_WasSpriteAssigned: 1 - m_SpriteSortPoint: 0 ---- !u!61 &5310886650056327379 -BoxCollider2D: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8871780616060845038} - m_Enabled: 1 - serializedVersion: 3 - m_Density: 1 - m_Material: {fileID: 0} - m_IncludeLayers: - serializedVersion: 2 - m_Bits: 0 - m_ExcludeLayers: - serializedVersion: 2 - m_Bits: 0 - m_LayerOverridePriority: 0 - m_ForceSendLayers: - serializedVersion: 2 - m_Bits: 4294967295 - m_ForceReceiveLayers: - serializedVersion: 2 - m_Bits: 4294967295 - m_ContactCaptureLayers: - serializedVersion: 2 - m_Bits: 4294967295 - m_CallbackLayers: - serializedVersion: 2 - m_Bits: 4294967295 - m_IsTrigger: 0 - m_UsedByEffector: 1 - m_CompositeOperation: 0 - m_CompositeOrder: 0 - m_Offset: {x: 0, y: 0} - m_SpriteTilingProperty: - border: {x: 0, y: 0, z: 0, w: 0} - pivot: {x: 0.5, y: 0.5} - oldSize: {x: 1, y: 1} - newSize: {x: 1, y: 1} - adaptiveTilingThreshold: 0.5 - drawMode: 0 - adaptiveTiling: 0 - m_AutoTiling: 0 - m_Size: {x: 1, y: 1} - m_EdgeRadius: 0 diff --git a/Game/Assets/Prefabs/Branches.prefab.meta b/Game/Assets/Prefabs/Branches.prefab.meta deleted file mode 100644 index be62b0d..0000000 --- a/Game/Assets/Prefabs/Branches.prefab.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 2f44dc6d6adb9ae7f9b4f644da0e3485 -PrefabImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Game/Assets/Scenes/MainScene.unity b/Game/Assets/Scenes/MainScene.unity index d8ace94..cbb3abe 100644 --- a/Game/Assets/Scenes/MainScene.unity +++ b/Game/Assets/Scenes/MainScene.unity @@ -139,6 +139,10 @@ PrefabInstance: propertyPath: m_Mass value: 1 objectReference: {fileID: 0} + - target: {fileID: 4266476263824402640, guid: d56297e435f8410a584581d73d99d2e4, type: 3} + propertyPath: m_Constraints + value: 4 + objectReference: {fileID: 0} - target: {fileID: 4266476263824402640, guid: d56297e435f8410a584581d73d99d2e4, type: 3} propertyPath: m_UseAutoMass value: 0 @@ -147,13 +151,17 @@ PrefabInstance: propertyPath: m_GravityScale value: 5 objectReference: {fileID: 0} + - target: {fileID: 6566899495513628888, guid: d56297e435f8410a584581d73d99d2e4, type: 3} + propertyPath: m_LocalScale.y + value: 0.5957 + objectReference: {fileID: 0} - target: {fileID: 6566899495513628888, guid: d56297e435f8410a584581d73d99d2e4, type: 3} propertyPath: m_LocalPosition.x - value: 0.05 + value: -3.55 objectReference: {fileID: 0} - target: {fileID: 6566899495513628888, guid: d56297e435f8410a584581d73d99d2e4, type: 3} propertyPath: m_LocalPosition.y - value: -0.02 + value: 2.43 objectReference: {fileID: 0} - target: {fileID: 6566899495513628888, guid: d56297e435f8410a584581d73d99d2e4, type: 3} propertyPath: m_LocalPosition.z @@ -305,6 +313,130 @@ Transform: m_Children: [] m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1001 &387884332 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 2072448676} + m_Modifications: + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalPosition.x + value: -0.53724 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalPosition.y + value: -0.64123 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8871780616060845038, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_Name + value: Branches (1) + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} +--- !u!4 &387884333 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + m_PrefabInstance: {fileID: 387884332} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &462295385 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 2072448676} + m_Modifications: + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalPosition.x + value: 2.1 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalPosition.y + value: 1.41 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8871780616060845038, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_Name + value: Branches + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} +--- !u!4 &462295386 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + m_PrefabInstance: {fileID: 462295385} + m_PrefabAsset: {fileID: 0} --- !u!1 &505713147 GameObject: m_ObjectHideFlags: 0 @@ -452,11 +584,11 @@ PrefabInstance: m_Modifications: - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} propertyPath: m_LocalPosition.x - value: -1.69 + value: -5.47 objectReference: {fileID: 0} - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} propertyPath: m_LocalPosition.y - value: -1.24 + value: 1.49 objectReference: {fileID: 0} - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} propertyPath: m_LocalPosition.z @@ -581,6 +713,8 @@ Transform: m_ConstrainProportionsScale: 0 m_Children: - {fileID: 1065178481} + - {fileID: 462295386} + - {fileID: 387884333} m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1660057539 &9223372036854775807 diff --git a/Game/Assets/Scripts/DamageHandler.cs b/Game/Assets/Scripts/DamageHandler.cs index 53df53e..544c820 100644 --- a/Game/Assets/Scripts/DamageHandler.cs +++ b/Game/Assets/Scripts/DamageHandler.cs @@ -1,3 +1,4 @@ +using System; using UnityEngine; public class DamageHandler : MonoBehaviour @@ -5,15 +6,9 @@ public class DamageHandler : MonoBehaviour public float threshold = 0.05f; public float multiplier = 5f; - // Start is called once before the first execution of Update after the MonoBehaviour is created - void Start() - { - - } - // Update is called once per frame - void Update() - { - - } + private void OnCollisionEnter(Collision collision) + { + throw new NotImplementedException(); + } } From e04fd16171318ace2fa009643ca5e18d57f3166a Mon Sep 17 00:00:00 2001 From: cemt1363 Date: Sat, 6 Jun 2026 02:09:36 +0200 Subject: [PATCH 13/16] added images folder --- Game/Assets/Images.meta | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Game/Assets/Images.meta diff --git a/Game/Assets/Images.meta b/Game/Assets/Images.meta new file mode 100644 index 0000000..b2888a3 --- /dev/null +++ b/Game/Assets/Images.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: bc8547deda124e4418a491921dad1ff9 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: From e40669b234f73a4c10325c9f67bcb9d6109bfb4d Mon Sep 17 00:00:00 2001 From: orsolya-st Date: Sat, 6 Jun 2026 02:10:19 +0200 Subject: [PATCH 14/16] dropwdown --- Game/Assets/Scripts/DropletMovement.cs | 50 +++++++++++++++++++++++--- 1 file changed, 46 insertions(+), 4 deletions(-) diff --git a/Game/Assets/Scripts/DropletMovement.cs b/Game/Assets/Scripts/DropletMovement.cs index 53bc6f9..cd8b0b6 100644 --- a/Game/Assets/Scripts/DropletMovement.cs +++ b/Game/Assets/Scripts/DropletMovement.cs @@ -30,16 +30,15 @@ public class DropletMovement : MonoBehaviour void Update() { + + //dashing if (isDashing) { return; } - movement.x = Input.GetAxisRaw("Horizontal"); - if (movement.x < 0) facingDirection = -1; if (movement.x > 0) facingDirection = 1; - if (isGrounded && (Input.GetKeyDown(KeyCode.Space) || Input.GetKeyDown(KeyCode.UpArrow) || @@ -47,11 +46,18 @@ public class DropletMovement : MonoBehaviour { rb.linearVelocity = new Vector2(rb.linearVelocity.x, jumpingPower); } - if (Input.GetKeyDown(KeyCode.LeftShift) && canDash) { StartCoroutine(Dash()); } + + //dropdown + if (!isGrounded){return;} + if (Input.GetKeyDown(KeyCode.DownArrow) || Input.GetKeyDown(KeyCode.S)) + { + DropDown(); + } + } private void FixedUpdate() @@ -103,4 +109,40 @@ public class DropletMovement : MonoBehaviour { isGrounded = false; } + + private void DropDown() + { + //when "s" or "down key" is pressed turn of/disable collider; + //move object slowly down (1 seconds, move down the height of the collision box) + //after that enable collider again + + if (isGrounded && (Input.GetKeyDown(KeyCode.S) || Input.GetKeyDown(KeyCode.DownArrow))) + { + StartCoroutine(DropRoutine()); + } + } + + private IEnumerator DropRoutine() + { + Collider2D playerCollider = GetComponent(); + + playerCollider.isTrigger = true; + + float duration = 1f; + float elapsed = 0f; //measure time + + //move down the height of the collider + float dropDistance = playerCollider.bounds.size.y; + float speed = dropDistance/duration; + + while (elapsed < duration) + { + transform.Translate(Vector3.down * speed * Time.deltaTime); + elapsed += Time.deltaTime; //update time + yield return null; + } + + //enable collider --> not a trigger anymore + playerCollider.isTrigger = false; + } } \ No newline at end of file From 9439f205cab043041c468c4e5b845066c6969a1b Mon Sep 17 00:00:00 2001 From: go38coz Date: Sat, 6 Jun 2026 02:11:40 +0200 Subject: [PATCH 15/16] Added effector to prefab; Renamed Branches to Branch --- Game/Assets/Scenes/MainScene.unity | 319 +++++++++++++---------------- 1 file changed, 138 insertions(+), 181 deletions(-) diff --git a/Game/Assets/Scenes/MainScene.unity b/Game/Assets/Scenes/MainScene.unity index cbb3abe..efde622 100644 --- a/Game/Assets/Scenes/MainScene.unity +++ b/Game/Assets/Scenes/MainScene.unity @@ -119,6 +119,63 @@ NavMeshSettings: debug: m_Flags: 0 m_NavMeshData: {fileID: 0} +--- !u!1001 &274994935 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 2072448676} + m_Modifications: + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalPosition.x + value: 0.39 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalPosition.y + value: 1.94 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8871780616060845038, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_Name + value: Branch (1) + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} --- !u!1001 &279662124 PrefabInstance: m_ObjectHideFlags: 0 @@ -131,6 +188,10 @@ PrefabInstance: propertyPath: moveSpeed value: 10 objectReference: {fileID: 0} + - target: {fileID: -8535381027169538, guid: d56297e435f8410a584581d73d99d2e4, type: 3} + propertyPath: jumpingPower + value: 20 + objectReference: {fileID: 0} - target: {fileID: 2141180002423843430, guid: d56297e435f8410a584581d73d99d2e4, type: 3} propertyPath: m_Name value: PlayerDroplet @@ -157,11 +218,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 6566899495513628888, guid: d56297e435f8410a584581d73d99d2e4, type: 3} propertyPath: m_LocalPosition.x - value: -3.55 + value: -4.63 objectReference: {fileID: 0} - target: {fileID: 6566899495513628888, guid: d56297e435f8410a584581d73d99d2e4, type: 3} propertyPath: m_LocalPosition.y - value: 2.43 + value: 3.74 objectReference: {fileID: 0} - target: {fileID: 6566899495513628888, guid: d56297e435f8410a584581d73d99d2e4, type: 3} propertyPath: m_LocalPosition.z @@ -313,130 +374,6 @@ Transform: m_Children: [] m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1001 &387884332 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - serializedVersion: 3 - m_TransformParent: {fileID: 2072448676} - m_Modifications: - - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - propertyPath: m_LocalPosition.x - value: -0.53724 - objectReference: {fileID: 0} - - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - propertyPath: m_LocalPosition.y - value: -0.64123 - objectReference: {fileID: 0} - - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8871780616060845038, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - propertyPath: m_Name - value: Branches (1) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_RemovedGameObjects: [] - m_AddedGameObjects: [] - m_AddedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} ---- !u!4 &387884333 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - m_PrefabInstance: {fileID: 387884332} - m_PrefabAsset: {fileID: 0} ---- !u!1001 &462295385 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - serializedVersion: 3 - m_TransformParent: {fileID: 2072448676} - m_Modifications: - - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - propertyPath: m_LocalPosition.x - value: 2.1 - objectReference: {fileID: 0} - - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - propertyPath: m_LocalPosition.y - value: 1.41 - objectReference: {fileID: 0} - - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8871780616060845038, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - propertyPath: m_Name - value: Branches - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_RemovedGameObjects: [] - m_AddedGameObjects: [] - m_AddedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} ---- !u!4 &462295386 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - m_PrefabInstance: {fileID: 462295385} - m_PrefabAsset: {fileID: 0} --- !u!1 &505713147 GameObject: m_ObjectHideFlags: 0 @@ -574,7 +511,17 @@ Transform: m_Children: [] m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1001 &1065178480 +--- !u!4 &1124127124 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + m_PrefabInstance: {fileID: 274994935} + m_PrefabAsset: {fileID: 0} +--- !u!4 &1710653547 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + m_PrefabInstance: {fileID: 1958370634} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &1890470405 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 @@ -584,11 +531,11 @@ PrefabInstance: m_Modifications: - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} propertyPath: m_LocalPosition.x - value: -5.47 + value: -3.03753 objectReference: {fileID: 0} - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} propertyPath: m_LocalPosition.y - value: 1.49 + value: -0.38336 objectReference: {fileID: 0} - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} propertyPath: m_LocalPosition.z @@ -622,26 +569,6 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} - - target: {fileID: 5310886650056327379, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - propertyPath: m_Size.x - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 5310886650056327379, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - propertyPath: m_Size.y - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 5310886650056327379, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - propertyPath: m_Offset.x - value: -0.000000014901161 - objectReference: {fileID: 0} - - target: {fileID: 5310886650056327379, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - propertyPath: m_AutoTiling - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 5310886650056327379, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - propertyPath: m_CompositeOperation - value: 0 - objectReference: {fileID: 0} - target: {fileID: 8871780616060845038, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} propertyPath: m_Name value: Branch @@ -649,40 +576,70 @@ PrefabInstance: m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] - m_AddedComponents: - - targetCorrespondingSourceObject: {fileID: 8871780616060845038, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - insertIndex: -1 - addedObject: {fileID: 1065178483} + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} ---- !u!4 &1065178481 stripped +--- !u!4 &1944302763 stripped Transform: m_CorrespondingSourceObject: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - m_PrefabInstance: {fileID: 1065178480} + m_PrefabInstance: {fileID: 1890470405} m_PrefabAsset: {fileID: 0} ---- !u!1 &1065178482 stripped -GameObject: - m_CorrespondingSourceObject: {fileID: 8871780616060845038, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} - m_PrefabInstance: {fileID: 1065178480} - m_PrefabAsset: {fileID: 0} ---- !u!251 &1065178483 -PlatformEffector2D: +--- !u!1001 &1958370634 +PrefabInstance: m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1065178482} - m_Enabled: 1 - m_UseColliderMask: 0 - m_ColliderMask: - serializedVersion: 2 - m_Bits: 4294967295 - m_RotationalOffset: 0 - m_UseOneWay: 1 - m_UseOneWayGrouping: 0 - m_SurfaceArc: 180 - m_UseSideFriction: 0 - m_UseSideBounce: 0 - m_SideArc: 1 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 2072448676} + m_Modifications: + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalPosition.x + value: -6.2 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalPosition.y + value: 2.81 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2163867978973577705, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8871780616060845038, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} + propertyPath: m_Name + value: Branch (2) + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 2f44dc6d6adb9ae7f9b4f644da0e3485, type: 3} --- !u!1 &2072448675 GameObject: m_ObjectHideFlags: 0 @@ -712,9 +669,9 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: - - {fileID: 1065178481} - - {fileID: 462295386} - - {fileID: 387884333} + - {fileID: 1944302763} + - {fileID: 1124127124} + - {fileID: 1710653547} m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1660057539 &9223372036854775807 From 5af9f6d194b99fe5e4fa75b7f0b58374225a5da8 Mon Sep 17 00:00:00 2001 From: go38coz Date: Sat, 6 Jun 2026 02:12:40 +0200 Subject: [PATCH 16/16] Added effector to prefab; Renamed Branches to Branch --- Game/Assets/Prefabs/Branch.prefab | 160 +++++++++++++++++++++++++ Game/Assets/Prefabs/Branch.prefab.meta | 7 ++ 2 files changed, 167 insertions(+) create mode 100644 Game/Assets/Prefabs/Branch.prefab create mode 100644 Game/Assets/Prefabs/Branch.prefab.meta diff --git a/Game/Assets/Prefabs/Branch.prefab b/Game/Assets/Prefabs/Branch.prefab new file mode 100644 index 0000000..d960d87 --- /dev/null +++ b/Game/Assets/Prefabs/Branch.prefab @@ -0,0 +1,160 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &8871780616060845038 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2163867978973577705} + - component: {fileID: 6893150318335556705} + - component: {fileID: 5310886650056327379} + - component: {fileID: 5321372118810808216} + m_Layer: 0 + m_Name: Branch + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2163867978973577705 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8871780616060845038} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -0.32, y: -0.13, z: 0} + m_LocalScale: {x: 2.8460264, y: 0.35938773, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!212 &6893150318335556705 +SpriteRenderer: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8871780616060845038} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_SmallMeshCulling: 1 + m_ForceMeshLod: -1 + m_MeshLodSelectionBias: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_GlobalIlluminationMeshLod: 0 + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_MaskInteraction: 0 + m_Sprite: {fileID: 7482667652216324306, guid: 311925a002f4447b3a28927169b83ea6, type: 3} + m_Color: {r: 0.32704395, g: 0.1984889, b: 0.1984889, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 1, y: 1} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_SpriteSortPoint: 0 +--- !u!61 &5310886650056327379 +BoxCollider2D: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8871780616060845038} + m_Enabled: 1 + serializedVersion: 3 + m_Density: 1 + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_ForceSendLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_ForceReceiveLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_ContactCaptureLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_CallbackLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_IsTrigger: 0 + m_UsedByEffector: 1 + m_CompositeOperation: 0 + m_CompositeOrder: 0 + m_Offset: {x: -0.000000014901161, y: 0} + m_SpriteTilingProperty: + border: {x: 0, y: 0, z: 0, w: 0} + pivot: {x: 0.5, y: 0.5} + oldSize: {x: 1, y: 1} + newSize: {x: 1, y: 1} + adaptiveTilingThreshold: 0.5 + drawMode: 0 + adaptiveTiling: 0 + m_AutoTiling: 0 + m_Size: {x: 1, y: 1} + m_EdgeRadius: 0 +--- !u!251 &5321372118810808216 +PlatformEffector2D: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8871780616060845038} + m_Enabled: 1 + m_UseColliderMask: 0 + m_ColliderMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RotationalOffset: 0 + m_UseOneWay: 1 + m_UseOneWayGrouping: 0 + m_SurfaceArc: 180 + m_UseSideFriction: 0 + m_UseSideBounce: 0 + m_SideArc: 1 diff --git a/Game/Assets/Prefabs/Branch.prefab.meta b/Game/Assets/Prefabs/Branch.prefab.meta new file mode 100644 index 0000000..be62b0d --- /dev/null +++ b/Game/Assets/Prefabs/Branch.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 2f44dc6d6adb9ae7f9b4f644da0e3485 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: