diff --git a/Assembly-CSharp.csproj b/Assembly-CSharp.csproj index 59ea4689..835bedc7 100644 --- a/Assembly-CSharp.csproj +++ b/Assembly-CSharp.csproj @@ -2,8 +2,10 @@ latest - C:\Program Files\Unity\Hub\Editor\2020.3.32f1\Editor\Data\Tools\RoslynScripts - unity_csc.bat + <_TargetFrameworkDirectories>non_empty_path_generated_by_unity.rider.package + <_FullFrameworkReferenceAssemblyPaths>non_empty_path_generated_by_unity.rider.package + true + Debug @@ -11,7 +13,8 @@ 10.0.20506 2.0 - {F58AF4E0-3E6D-54B1-523D-8F755DC8E665} + {e0f48af5-6d3e-b154-523d-8f755dc8e665} + {E097FAD1-6243-4DAD-9C02-E9B9EFC3FFC1};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} Library Properties Assembly-CSharp @@ -27,8 +30,9 @@ DEBUG;TRACE;UNITY_2020_3_32;UNITY_2020_3;UNITY_2020;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_5_OR_NEWER;UNITY_5_6_OR_NEWER;UNITY_2017_1_OR_NEWER;UNITY_2017_2_OR_NEWER;UNITY_2017_3_OR_NEWER;UNITY_2017_4_OR_NEWER;UNITY_2018_1_OR_NEWER;UNITY_2018_2_OR_NEWER;UNITY_2018_3_OR_NEWER;UNITY_2018_4_OR_NEWER;UNITY_2019_1_OR_NEWER;UNITY_2019_2_OR_NEWER;UNITY_2019_3_OR_NEWER;UNITY_2019_4_OR_NEWER;UNITY_2020_1_OR_NEWER;UNITY_2020_2_OR_NEWER;UNITY_2020_3_OR_NEWER;PLATFORM_ARCH_64;UNITY_64;UNITY_INCLUDE_TESTS;USE_SEARCH_ENGINE_API;SCENE_TEMPLATE_MODULE;ENABLE_AR;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_EVENT_QUEUE;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_TEXTURE_STREAMING;ENABLE_VIRTUALTEXTURING;ENABLE_UNET;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_VR;ENABLE_WEBCAM;ENABLE_UNITYWEBREQUEST;ENABLE_WWW;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_SERVICES_COLLAB_SOFTLOCKS;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_SERVICES_USE_WEBREQUEST;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_HUB_LICENSE;ENABLE_WEBSOCKET_CLIENT;ENABLE_DIRECTOR_AUDIO;ENABLE_DIRECTOR_TEXTURE;ENABLE_MANAGED_JOBS;ENABLE_MANAGED_TRANSFORM_JOBS;ENABLE_MANAGED_ANIMATION_JOBS;ENABLE_MANAGED_AUDIO_JOBS;ENABLE_MANAGED_UNITYTLS;INCLUDE_DYNAMIC_GI;ENABLE_MONO_BDWGC;ENABLE_SCRIPTING_GC_WBARRIERS;PLATFORM_SUPPORTS_MONO;RENDER_SOFTWARE_CURSOR;ENABLE_VIDEO;PLATFORM_STANDALONE;PLATFORM_STANDALONE_WIN;UNITY_STANDALONE_WIN;UNITY_STANDALONE;ENABLE_RUNTIME_GI;ENABLE_MOVIES;ENABLE_NETWORK;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_OUT_OF_PROCESS_CRASH_HANDLER;ENABLE_CLUSTER_SYNC;ENABLE_CLUSTERINPUT;PLATFORM_UPDATES_TIME_OUTSIDE_OF_PLAYER_LOOP;GFXDEVICE_WAITFOREVENT_MESSAGEPUMP;ENABLE_WEBSOCKET_HOST;ENABLE_MONO;NET_STANDARD_2_0;ENABLE_PROFILER;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_WIN;ENABLE_UNITY_COLLECTIONS_CHECKS;ENABLE_BURST_AOT;UNITY_TEAM_LICENSE;ENABLE_CUSTOM_RENDER_TEXTURE;ENABLE_DIRECTOR;ENABLE_LOCALIZATION;ENABLE_SPRITES;ENABLE_TERRAIN;ENABLE_TILEMAP;ENABLE_TIMELINE;ENABLE_LEGACY_INPUT_MANAGER;CSHARP_7_OR_LATER;CSHARP_7_3_OR_NEWER prompt 4 - 0169 + False + False pdbonly @@ -36,8 +40,9 @@ Temp\bin\Release\ prompt 4 - 0169 + False + False true @@ -48,118 +53,175 @@ + + - + - + + + - - - + + + + + + + - + + + + + + + - - - + + + - - - + + + + - + + + - - - - - - - - + + + + + + + + + + - - + + + + + + - - + + + + + + + + + + + + + + + + - - + + + - + - - + + + + - + + - + + + - + + + - - + + - + + + + + - + + + + + - - + + + - - - - - + + + + + - + - + + + + @@ -750,94 +812,94 @@ C:/Program Files/Unity/Hub/Editor/2020.3.32f1/Editor/Data/NetStandard/compat/2.0.0/shims/netfx/System.Xml.Serialization.dll - C:/Users/alicj/OneDrive/Desktop/Scriptum/Library/ScriptAssemblies/Unity.2D.Animation.Editor.dll + C:/Scriptum/Library/ScriptAssemblies/Unity.2D.Animation.Editor.dll - C:/Users/alicj/OneDrive/Desktop/Scriptum/Library/ScriptAssemblies/Unity.InternalAPIEngineBridge.001.dll + C:/Scriptum/Library/ScriptAssemblies/Unity.InternalAPIEngineBridge.001.dll - C:/Users/alicj/OneDrive/Desktop/Scriptum/Library/ScriptAssemblies/Unity.VSCode.Editor.dll + C:/Scriptum/Library/ScriptAssemblies/Unity.VSCode.Editor.dll - C:/Users/alicj/OneDrive/Desktop/Scriptum/Library/ScriptAssemblies/Unity.2D.PixelPerfect.dll + C:/Scriptum/Library/ScriptAssemblies/Unity.2D.PixelPerfect.dll - C:/Users/alicj/OneDrive/Desktop/Scriptum/Library/ScriptAssemblies/Unity.2D.Tilemap.Editor.dll + C:/Scriptum/Library/ScriptAssemblies/Unity.2D.Tilemap.Editor.dll - C:/Users/alicj/OneDrive/Desktop/Scriptum/Library/ScriptAssemblies/PsdPlugin.dll + C:/Scriptum/Library/ScriptAssemblies/PsdPlugin.dll - C:/Users/alicj/OneDrive/Desktop/Scriptum/Library/ScriptAssemblies/Unity.TextMeshPro.Editor.dll + C:/Scriptum/Library/ScriptAssemblies/Unity.TextMeshPro.Editor.dll - C:/Users/alicj/OneDrive/Desktop/Scriptum/Library/ScriptAssemblies/Unity.VisualStudio.Editor.dll + C:/Scriptum/Library/ScriptAssemblies/Unity.VisualStudio.Editor.dll - C:/Users/alicj/OneDrive/Desktop/Scriptum/Library/ScriptAssemblies/Unity.Timeline.dll + C:/Scriptum/Library/ScriptAssemblies/Unity.Timeline.dll - C:/Users/alicj/OneDrive/Desktop/Scriptum/Library/ScriptAssemblies/Unity.TextMeshPro.dll + C:/Scriptum/Library/ScriptAssemblies/Unity.TextMeshPro.dll - C:/Users/alicj/OneDrive/Desktop/Scriptum/Library/ScriptAssemblies/Unity.2D.IK.Editor.dll + C:/Scriptum/Library/ScriptAssemblies/Unity.2D.IK.Editor.dll - C:/Users/alicj/OneDrive/Desktop/Scriptum/Library/ScriptAssemblies/Unity.2D.Sprite.Editor.dll + C:/Scriptum/Library/ScriptAssemblies/Unity.2D.Sprite.Editor.dll - C:/Users/alicj/OneDrive/Desktop/Scriptum/Library/ScriptAssemblies/Unity.2D.Psdimporter.Editor.dll + C:/Scriptum/Library/ScriptAssemblies/Unity.2D.Psdimporter.Editor.dll - C:/Users/alicj/OneDrive/Desktop/Scriptum/Library/ScriptAssemblies/Unity.2D.Path.Editor.dll + C:/Scriptum/Library/ScriptAssemblies/Unity.2D.Path.Editor.dll - C:/Users/alicj/OneDrive/Desktop/Scriptum/Library/ScriptAssemblies/Unity.InternalAPIEditorBridge.001.dll + C:/Scriptum/Library/ScriptAssemblies/Unity.InternalAPIEditorBridge.001.dll - C:/Users/alicj/OneDrive/Desktop/Scriptum/Library/ScriptAssemblies/UnityEditor.UI.dll + C:/Scriptum/Library/ScriptAssemblies/UnityEditor.UI.dll - C:/Users/alicj/OneDrive/Desktop/Scriptum/Library/ScriptAssemblies/Unity.PlasticSCM.Editor.dll + C:/Scriptum/Library/ScriptAssemblies/Unity.PlasticSCM.Editor.dll - C:/Users/alicj/OneDrive/Desktop/Scriptum/Library/ScriptAssemblies/Unity.Rider.Editor.dll + C:/Scriptum/Library/ScriptAssemblies/Unity.Rider.Editor.dll - C:/Users/alicj/OneDrive/Desktop/Scriptum/Library/ScriptAssemblies/UnityEngine.UI.dll + C:/Scriptum/Library/ScriptAssemblies/UnityEngine.UI.dll - C:/Users/alicj/OneDrive/Desktop/Scriptum/Library/ScriptAssemblies/Unity.Mathematics.dll + C:/Scriptum/Library/ScriptAssemblies/Unity.Mathematics.dll - C:/Users/alicj/OneDrive/Desktop/Scriptum/Library/ScriptAssemblies/Unity.2D.IK.Runtime.dll + C:/Scriptum/Library/ScriptAssemblies/Unity.2D.IK.Runtime.dll - C:/Users/alicj/OneDrive/Desktop/Scriptum/Library/ScriptAssemblies/Unity.2D.Animation.Triangle.Runtime.dll + C:/Scriptum/Library/ScriptAssemblies/Unity.2D.Animation.Triangle.Runtime.dll - C:/Users/alicj/OneDrive/Desktop/Scriptum/Library/ScriptAssemblies/Unity.2D.Animation.Runtime.dll + C:/Scriptum/Library/ScriptAssemblies/Unity.2D.Animation.Runtime.dll - C:/Users/alicj/OneDrive/Desktop/Scriptum/Library/ScriptAssemblies/Unity.2D.PixelPerfect.Editor.dll + C:/Scriptum/Library/ScriptAssemblies/Unity.2D.PixelPerfect.Editor.dll - C:/Users/alicj/OneDrive/Desktop/Scriptum/Library/ScriptAssemblies/Unity.Timeline.Editor.dll + C:/Scriptum/Library/ScriptAssemblies/Unity.Timeline.Editor.dll - C:/Users/alicj/OneDrive/Desktop/Scriptum/Library/ScriptAssemblies/Unity.Mathematics.Editor.dll + C:/Scriptum/Library/ScriptAssemblies/Unity.Mathematics.Editor.dll - C:/Users/alicj/OneDrive/Desktop/Scriptum/Library/ScriptAssemblies/Unity.2D.Common.Runtime.dll + C:/Scriptum/Library/ScriptAssemblies/Unity.2D.Common.Runtime.dll - C:/Users/alicj/OneDrive/Desktop/Scriptum/Library/ScriptAssemblies/Unity.2D.SpriteShape.Editor.dll + C:/Scriptum/Library/ScriptAssemblies/Unity.2D.SpriteShape.Editor.dll - C:/Users/alicj/OneDrive/Desktop/Scriptum/Library/ScriptAssemblies/Unity.2D.Common.Editor.dll + C:/Scriptum/Library/ScriptAssemblies/Unity.2D.Common.Editor.dll - C:/Users/alicj/OneDrive/Desktop/Scriptum/Library/ScriptAssemblies/Unity.2D.SpriteShape.Runtime.dll + C:/Scriptum/Library/ScriptAssemblies/Unity.2D.SpriteShape.Runtime.dll diff --git a/Assets/Resources/ThePlayer.prefab b/Assets/Resources/ThePlayer.prefab index 461b2d98..6ce61304 100644 --- a/Assets/Resources/ThePlayer.prefab +++ b/Assets/Resources/ThePlayer.prefab @@ -19,7 +19,7 @@ GameObject: - component: {fileID: 4869648843286970676} - component: {fileID: 4869648843286970678} - component: {fileID: 4869648843286970673} - m_Layer: 8 + m_Layer: 0 m_Name: ThePlayer m_TagString: Player m_Icon: {fileID: 0} @@ -118,21 +118,16 @@ MonoBehaviour: walkSpeed: 10 Panel: {fileID: 0} dmgParticleSystem: {fileID: 4869648843387222763} + maxHealth: {fileID: 11400000, guid: 2cac7af95874b184aae736e0ed4994d7, type: 2} + currentHealth: 10 healthBar: {fileID: 0} lvlUp: 0 test: 0 - currentHealth: 10 - maxHealth: 0 - healthPoints: 0 - defensePoints: 0 - strengthPoints: 0 - intelligencePoints: 0 exp: 0 lvl: 0 maxExp: 0 levelBar: {fileID: 0} minPlayerExp: {fileID: 11400000, guid: e66e910aa7e03d342bda145946dad7bc, type: 2} - attackValue: 0 --- !u!61 &4869648843286970702 BoxCollider2D: m_ObjectHideFlags: 0 @@ -286,7 +281,7 @@ GameObject: - component: {fileID: 4869648843387222761} - component: {fileID: 4869648843387222763} - component: {fileID: 4869648843387222760} - m_Layer: 8 + m_Layer: 0 m_Name: Particle System m_TagString: Untagged m_Icon: {fileID: 0} @@ -5155,7 +5150,7 @@ GameObject: m_Component: - component: {fileID: 4869648843392866317} - component: {fileID: 4869648843392866316} - m_Layer: 8 + m_Layer: 0 m_Name: PickaxeDown m_TagString: PickaxeHitbox m_Icon: {fileID: 0} @@ -5236,7 +5231,7 @@ GameObject: m_Component: - component: {fileID: 4869648843792212564} - component: {fileID: 4869648843792212567} - m_Layer: 8 + m_Layer: 0 m_Name: HitboxFront m_TagString: AttackHitbox m_Icon: {fileID: 0} @@ -5299,7 +5294,7 @@ GameObject: m_Component: - component: {fileID: 4869648844298201121} - component: {fileID: 4869648844298201120} - m_Layer: 8 + m_Layer: 0 m_Name: HitboxBack m_TagString: AttackHitbox m_Icon: {fileID: 0} @@ -5362,7 +5357,7 @@ GameObject: m_Component: - component: {fileID: 4869648844605138518} - component: {fileID: 4869648844605138513} - m_Layer: 8 + m_Layer: 0 m_Name: HitboxLeft m_TagString: AttackHitbox m_Icon: {fileID: 0} @@ -5425,7 +5420,7 @@ GameObject: m_Component: - component: {fileID: 4869648844762232054} - component: {fileID: 4869648844762232049} - m_Layer: 8 + m_Layer: 0 m_Name: PickaxeRight m_TagString: PickaxeHitbox m_Icon: {fileID: 0} @@ -5501,7 +5496,7 @@ GameObject: m_Component: - component: {fileID: 4869648844801431961} - component: {fileID: 4869648844801431960} - m_Layer: 8 + m_Layer: 0 m_Name: HitboxRight m_TagString: AttackHitbox m_Icon: {fileID: 0} @@ -5564,7 +5559,7 @@ GameObject: m_Component: - component: {fileID: 4869648845035997474} - component: {fileID: 4869648845035997484} - m_Layer: 8 + m_Layer: 0 m_Name: Hitbox m_TagString: PlayerHitbox m_Icon: {fileID: 0} @@ -5612,7 +5607,7 @@ GameObject: m_Component: - component: {fileID: 4869648845042760662} - component: {fileID: 4869648845042760657} - m_Layer: 8 + m_Layer: 0 m_Name: PickaxeLeft m_TagString: PickaxeHitbox m_Icon: {fileID: 0} @@ -5688,7 +5683,7 @@ GameObject: m_Component: - component: {fileID: 4869648845194584457} - component: {fileID: 4869648845194584456} - m_Layer: 8 + m_Layer: 0 m_Name: PickaxeUp m_TagString: PickaxeHitbox m_Icon: {fileID: 0} diff --git a/Assets/Scene Sprites/Doors - objects.meta b/Assets/Scene Sprites/Doors - objects.meta new file mode 100644 index 00000000..94835c3f --- /dev/null +++ b/Assets/Scene Sprites/Doors - objects.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e4b674c129bf61e47b8f1eab05f03301 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scene Sprites/Doors - objects/Door_1_9.controller b/Assets/Scene Sprites/Doors - objects/Door_1_9.controller new file mode 100644 index 00000000..a2a1a88d --- /dev/null +++ b/Assets/Scene Sprites/Doors - objects/Door_1_9.controller @@ -0,0 +1,217 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1102 &-5650477289655641436 +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: door_1_9_close + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: + - {fileID: -600866205823699951} + m_StateMachineBehaviours: [] + m_Position: {x: 50, y: 50, z: 0} + m_IKOnFeet: 0 + m_WriteDefaultValues: 1 + m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 64c582b8cf3706e4ca8d8cb1bf080e8a, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1101 &-2219469702746360614 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: + m_Conditions: + - m_ConditionMode: 1 + m_ConditionEvent: DoorOpen + m_EventTreshold: 0 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 6932370142263922202} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.25 + m_TransitionOffset: 0 + m_ExitTime: 1 + m_HasExitTime: 1 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!1107 &-1555015966366631442 +AnimatorStateMachine: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Base Layer + m_ChildStates: + - serializedVersion: 1 + m_State: {fileID: 6932370142263922202} + m_Position: {x: 270, y: 150, z: 0} + - serializedVersion: 1 + m_State: {fileID: -5650477289655641436} + m_Position: {x: 520, y: 70, z: 0} + - serializedVersion: 1 + m_State: {fileID: 5663219179907893475} + m_Position: {x: 270, y: 10, z: 0} + m_ChildStateMachines: [] + m_AnyStateTransitions: [] + m_EntryTransitions: [] + m_StateMachineTransitions: {} + m_StateMachineBehaviours: [] + m_AnyStatePosition: {x: 50, y: 20, z: 0} + m_EntryPosition: {x: 50, y: 120, z: 0} + m_ExitPosition: {x: 800, y: 120, z: 0} + m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} + m_DefaultState: {fileID: 5663219179907893475} +--- !u!1101 &-600866205823699951 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: + m_Conditions: [] + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 5663219179907893475} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.25 + m_TransitionOffset: 0 + m_ExitTime: 1 + m_HasExitTime: 1 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!91 &9100000 +AnimatorController: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Door_1_9 + serializedVersion: 5 + m_AnimatorParameters: + - m_Name: DoorOpen + m_Type: 4 + m_DefaultFloat: 0 + m_DefaultInt: 0 + m_DefaultBool: 0 + m_Controller: {fileID: 0} + - m_Name: Close + m_Type: 9 + m_DefaultFloat: 0 + m_DefaultInt: 0 + m_DefaultBool: 0 + m_Controller: {fileID: 0} + m_AnimatorLayers: + - serializedVersion: 5 + m_Name: Base Layer + m_StateMachine: {fileID: -1555015966366631442} + m_Mask: {fileID: 0} + m_Motions: [] + m_Behaviours: [] + m_BlendingMode: 0 + m_SyncedLayerIndex: -1 + m_DefaultWeight: 0 + m_IKPass: 0 + m_SyncedLayerAffectsTiming: 0 + m_Controller: {fileID: 9100000} +--- !u!1102 &5663219179907893475 +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: door_1_9_idle + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: + - {fileID: -2219469702746360614} + m_StateMachineBehaviours: [] + m_Position: {x: 50, y: 50, z: 0} + m_IKOnFeet: 0 + m_WriteDefaultValues: 1 + m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 6c4a7553e08db994bb6cc9ef54a6cb97, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1102 &6932370142263922202 +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: door_1_9_open + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: + - {fileID: 7381343516417420649} + m_StateMachineBehaviours: [] + m_Position: {x: 50, y: 50, z: 0} + m_IKOnFeet: 0 + m_WriteDefaultValues: 1 + m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 8c97651d189932840b70c8e871f9d248, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1101 &7381343516417420649 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: + m_Conditions: + - m_ConditionMode: 2 + m_ConditionEvent: DoorOpen + m_EventTreshold: 0 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: -5650477289655641436} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.25 + m_TransitionOffset: 0 + m_ExitTime: 1 + m_HasExitTime: 1 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 diff --git a/Assets/Scene Sprites/Doors - objects/Door_1_9.controller.meta b/Assets/Scene Sprites/Doors - objects/Door_1_9.controller.meta new file mode 100644 index 00000000..8e11bc24 --- /dev/null +++ b/Assets/Scene Sprites/Doors - objects/Door_1_9.controller.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 1cf4b0f0d8d08c24a87a0d7fd9d8c2a8 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 9100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scene Sprites/Doors - objects/door_1_9_close.anim b/Assets/Scene Sprites/Doors - objects/door_1_9_close.anim new file mode 100644 index 00000000..96debdc1 --- /dev/null +++ b/Assets/Scene Sprites/Doors - objects/door_1_9_close.anim @@ -0,0 +1,74 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!74 &7400000 +AnimationClip: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: door_1_9_close + serializedVersion: 6 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: [] + m_PositionCurves: [] + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: + - curve: + - time: 0 + value: {fileID: -7689852701761092305, guid: e5c4536614d3c8141aa2de7b7dc736aa, type: 3} + - time: 0.083333336 + value: {fileID: 7016164506935527857, guid: e5c4536614d3c8141aa2de7b7dc736aa, type: 3} + - time: 0.16666667 + value: {fileID: 9012025826173606522, guid: e5c4536614d3c8141aa2de7b7dc736aa, type: 3} + attribute: m_Sprite + path: + classID: 212 + script: {fileID: 0} + m_SampleRate: 12 + m_WrapMode: 0 + m_Bounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0, y: 0, z: 0} + m_ClipBindingConstant: + genericBindings: + - serializedVersion: 2 + path: 0 + attribute: 0 + script: {fileID: 0} + typeID: 212 + customType: 23 + isPPtrCurve: 1 + pptrCurveMapping: + - {fileID: -7689852701761092305, guid: e5c4536614d3c8141aa2de7b7dc736aa, type: 3} + - {fileID: 7016164506935527857, guid: e5c4536614d3c8141aa2de7b7dc736aa, type: 3} + - {fileID: 9012025826173606522, guid: e5c4536614d3c8141aa2de7b7dc736aa, type: 3} + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 0.25 + m_OrientationOffsetY: 0 + m_Level: 0 + m_CycleOffset: 0 + m_HasAdditiveReferencePose: 0 + m_LoopTime: 0 + m_LoopBlend: 0 + m_LoopBlendOrientation: 0 + m_LoopBlendPositionY: 0 + m_LoopBlendPositionXZ: 0 + m_KeepOriginalOrientation: 0 + m_KeepOriginalPositionY: 1 + m_KeepOriginalPositionXZ: 0 + m_HeightFromFeet: 0 + m_Mirror: 0 + m_EditorCurves: [] + m_EulerEditorCurves: [] + m_HasGenericRootTransform: 0 + m_HasMotionFloatCurves: 0 + m_Events: [] diff --git a/Assets/Scene Sprites/Doors - objects/door_1_9_close.anim.meta b/Assets/Scene Sprites/Doors - objects/door_1_9_close.anim.meta new file mode 100644 index 00000000..467d3410 --- /dev/null +++ b/Assets/Scene Sprites/Doors - objects/door_1_9_close.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 64c582b8cf3706e4ca8d8cb1bf080e8a +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 7400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scene Sprites/Doors - objects/door_1_9_idle.anim b/Assets/Scene Sprites/Doors - objects/door_1_9_idle.anim new file mode 100644 index 00000000..4b24b396 --- /dev/null +++ b/Assets/Scene Sprites/Doors - objects/door_1_9_idle.anim @@ -0,0 +1,68 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!74 &7400000 +AnimationClip: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: door_1_9_idle + serializedVersion: 6 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: [] + m_PositionCurves: [] + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: + - curve: + - time: 0 + value: {fileID: 9012025826173606522, guid: e5c4536614d3c8141aa2de7b7dc736aa, type: 3} + attribute: m_Sprite + path: + classID: 212 + script: {fileID: 0} + m_SampleRate: 12 + m_WrapMode: 0 + m_Bounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0, y: 0, z: 0} + m_ClipBindingConstant: + genericBindings: + - serializedVersion: 2 + path: 0 + attribute: 0 + script: {fileID: 0} + typeID: 212 + customType: 23 + isPPtrCurve: 1 + pptrCurveMapping: + - {fileID: 9012025826173606522, guid: e5c4536614d3c8141aa2de7b7dc736aa, type: 3} + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 0.083333336 + m_OrientationOffsetY: 0 + m_Level: 0 + m_CycleOffset: 0 + m_HasAdditiveReferencePose: 0 + m_LoopTime: 0 + m_LoopBlend: 0 + m_LoopBlendOrientation: 0 + m_LoopBlendPositionY: 0 + m_LoopBlendPositionXZ: 0 + m_KeepOriginalOrientation: 0 + m_KeepOriginalPositionY: 1 + m_KeepOriginalPositionXZ: 0 + m_HeightFromFeet: 0 + m_Mirror: 0 + m_EditorCurves: [] + m_EulerEditorCurves: [] + m_HasGenericRootTransform: 0 + m_HasMotionFloatCurves: 0 + m_Events: [] diff --git a/Assets/Scene Sprites/Doors - objects/door_1_9_idle.anim.meta b/Assets/Scene Sprites/Doors - objects/door_1_9_idle.anim.meta new file mode 100644 index 00000000..7982a51d --- /dev/null +++ b/Assets/Scene Sprites/Doors - objects/door_1_9_idle.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6c4a7553e08db994bb6cc9ef54a6cb97 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 7400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scene Sprites/Doors - objects/door_1_9_open.anim b/Assets/Scene Sprites/Doors - objects/door_1_9_open.anim new file mode 100644 index 00000000..0b64bea1 --- /dev/null +++ b/Assets/Scene Sprites/Doors - objects/door_1_9_open.anim @@ -0,0 +1,74 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!74 &7400000 +AnimationClip: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: door_1_9_open + serializedVersion: 6 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: [] + m_PositionCurves: [] + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: + - curve: + - time: 0 + value: {fileID: 9012025826173606522, guid: e5c4536614d3c8141aa2de7b7dc736aa, type: 3} + - time: 0.083333336 + value: {fileID: 7016164506935527857, guid: e5c4536614d3c8141aa2de7b7dc736aa, type: 3} + - time: 0.16666667 + value: {fileID: -7689852701761092305, guid: e5c4536614d3c8141aa2de7b7dc736aa, type: 3} + attribute: m_Sprite + path: + classID: 212 + script: {fileID: 0} + m_SampleRate: 12 + m_WrapMode: 0 + m_Bounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0, y: 0, z: 0} + m_ClipBindingConstant: + genericBindings: + - serializedVersion: 2 + path: 0 + attribute: 0 + script: {fileID: 0} + typeID: 212 + customType: 23 + isPPtrCurve: 1 + pptrCurveMapping: + - {fileID: 9012025826173606522, guid: e5c4536614d3c8141aa2de7b7dc736aa, type: 3} + - {fileID: 7016164506935527857, guid: e5c4536614d3c8141aa2de7b7dc736aa, type: 3} + - {fileID: -7689852701761092305, guid: e5c4536614d3c8141aa2de7b7dc736aa, type: 3} + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 0.25 + m_OrientationOffsetY: 0 + m_Level: 0 + m_CycleOffset: 0 + m_HasAdditiveReferencePose: 0 + m_LoopTime: 0 + m_LoopBlend: 0 + m_LoopBlendOrientation: 0 + m_LoopBlendPositionY: 0 + m_LoopBlendPositionXZ: 0 + m_KeepOriginalOrientation: 0 + m_KeepOriginalPositionY: 1 + m_KeepOriginalPositionXZ: 0 + m_HeightFromFeet: 0 + m_Mirror: 0 + m_EditorCurves: [] + m_EulerEditorCurves: [] + m_HasGenericRootTransform: 0 + m_HasMotionFloatCurves: 0 + m_Events: [] diff --git a/Assets/Scene Sprites/Doors - objects/door_1_9_open.anim.meta b/Assets/Scene Sprites/Doors - objects/door_1_9_open.anim.meta new file mode 100644 index 00000000..9d4af9ee --- /dev/null +++ b/Assets/Scene Sprites/Doors - objects/door_1_9_open.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8c97651d189932840b70c8e871f9d248 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 7400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scene Sprites/Doors - objects/doors 1.png b/Assets/Scene Sprites/Doors - objects/doors 1.png new file mode 100644 index 00000000..0792a4b1 Binary files /dev/null and b/Assets/Scene Sprites/Doors - objects/doors 1.png differ diff --git a/Assets/Scene Sprites/Doors - objects/doors 1.png.meta b/Assets/Scene Sprites/Doors - objects/doors 1.png.meta new file mode 100644 index 00000000..4888a4ef --- /dev/null +++ b/Assets/Scene Sprites/Doors - objects/doors 1.png.meta @@ -0,0 +1,2253 @@ +fileFormatVersion: 2 +guid: e5c4536614d3c8141aa2de7b7dc736aa +TextureImporter: + internalIDToNameTable: + - first: + 213: -3813957895643319183 + second: doors_0 + - first: + 213: -5869873724788712370 + second: doors_1 + - first: + 213: -7037842594108204779 + second: doors_2 + - first: + 213: -7794273071397281860 + second: doors_3 + - first: + 213: -3625015000923761378 + second: doors_4 + - first: + 213: -1156514691743307414 + second: doors_5 + - first: + 213: 3997338004448197912 + second: doors_6 + - first: + 213: 8272023497553938944 + second: doors_7 + - first: + 213: 2982644332970639994 + second: doors_8 + - first: + 213: -7972576404697737973 + second: doors_9 + - first: + 213: 5466900881963460571 + second: doors_10 + - first: + 213: 6750987736431425758 + second: doors_11 + - first: + 213: 1308679017610120818 + second: doors_12 + - first: + 213: -8458522060679029643 + second: doors_13 + - first: + 213: -6564391307037914582 + second: doors_14 + - first: + 213: -5899190155484250575 + second: doors_15 + - first: + 213: 4175052448552185335 + second: doors_16 + - first: + 213: -6025679175451820724 + second: doors_17 + - first: + 213: -3681002762094653604 + second: doors_18 + - first: + 213: -1280752913425907830 + second: doors_19 + - first: + 213: -5049243504920101666 + second: doors_20 + - first: + 213: -1958119218845726607 + second: doors_21 + - first: + 213: 6889700044301887726 + second: doors_22 + - first: + 213: 1363996149854214005 + second: doors_23 + - first: + 213: 1596648987123739756 + second: doors_24 + - first: + 213: 6020181767337106263 + second: doors_25 + - first: + 213: -6853761168004744720 + second: doors_26 + - first: + 213: -9082326169266055655 + second: doors_27 + - first: + 213: -7894810604640916676 + second: doors_28 + - first: + 213: 6848390037857352135 + second: doors_29 + - first: + 213: 6551690688029605959 + second: doors_30 + - first: + 213: 2966477461511061381 + second: doors_31 + - first: + 213: -6102317115972939548 + second: doors_32 + - first: + 213: -3906194768193564834 + second: doors_33 + - first: + 213: -8492322840415938542 + second: doors_34 + - first: + 213: 1863806671017619467 + second: doors_35 + - first: + 213: -2118165423545017155 + second: doors_36 + - first: + 213: -2184548365706268872 + second: doors_37 + - first: + 213: 8803828465840922645 + second: doors_38 + - first: + 213: 899879479971221679 + second: doors_39 + - first: + 213: -2420690498082510407 + second: doors_40 + - first: + 213: 2701744442680865387 + second: doors_41 + - first: + 213: -1443257480047820895 + second: doors_42 + - first: + 213: 7400347780572996166 + second: doors_43 + - first: + 213: 9074634592487408608 + second: doors_44 + - first: + 213: -5472746223829059119 + second: doors_45 + - first: + 213: 331407026601794511 + second: doors_46 + - first: + 213: -7918593694100620403 + second: doors_47 + - first: + 213: 8812169419269217662 + second: doors_48 + - first: + 213: 1124029493040897768 + second: doors_49 + - first: + 213: 5341706501594341289 + second: doors_50 + - first: + 213: 7657440551875429737 + second: doors_51 + - first: + 213: 4224237506017633377 + second: doors_52 + - first: + 213: -2186145037898994402 + second: doors_53 + - first: + 213: -2873306046373954406 + second: doors_54 + - first: + 213: -1099188785707635702 + second: doors_55 + - first: + 213: -8879704765246545770 + second: doors_56 + - first: + 213: 6671658344629330569 + second: doors_57 + - first: + 213: 2683737439053752784 + second: doors_58 + - first: + 213: -7411029574912746516 + second: doors_59 + - first: + 213: 8597038108201796421 + second: doors_60 + - first: + 213: 8643012656944040802 + second: doors_61 + - first: + 213: -1313066653437106328 + second: doors_62 + - first: + 213: 2010624952408528779 + second: doors_63 + - first: + 213: -2288861579965599989 + second: doors_64 + - first: + 213: 1495478159016230998 + second: doors_65 + - first: + 213: 8233211115632169432 + second: doors_66 + - first: + 213: -4138471972847128353 + second: doors_67 + - first: + 213: 6657451513097092341 + second: doors_68 + - first: + 213: -7869046103805624920 + second: doors_69 + - first: + 213: -3271446919111426045 + second: doors_70 + - first: + 213: 6112901307884729012 + second: doors_71 + - first: + 213: -665516865325514461 + second: doors_72 + - first: + 213: -7284321564297638778 + second: doors_73 + - first: + 213: -7269306497302895069 + second: doors_74 + - first: + 213: 511182788679771713 + second: doors_75 + - first: + 213: 4554295653738205133 + second: doors_76 + - first: + 213: 3609697619750965419 + second: doors_77 + - first: + 213: -1068543286441364303 + second: doors_78 + - first: + 213: -3738494923921046319 + second: doors_79 + - first: + 213: -6607095377364412302 + second: doors_80 + - first: + 213: 5106663456422253854 + second: doors_81 + - first: + 213: -5888370042849336598 + second: doors_82 + - first: + 213: -4511428356294614643 + second: doors_83 + - first: + 213: 16361096432943507 + second: doors_84 + - first: + 213: -5018976440536507621 + second: doors_85 + - first: + 213: 7985373814679191776 + second: doors_86 + - first: + 213: -1387498567419566608 + second: doors_87 + - first: + 213: -3193393479043869050 + second: doors_88 + - first: + 213: -1427904502108723471 + second: doors_89 + - first: + 213: -3372150133474304429 + second: doors_90 + - first: + 213: 745029492338148244 + second: doors_91 + - first: + 213: -4422400043987567570 + second: doors_92 + - first: + 213: 7104007739047318085 + second: doors_93 + - first: + 213: 3988925246652654516 + second: doors_94 + - first: + 213: -1272466382055638639 + second: doors_95 + - first: + 213: -3490528867933899779 + second: doors_96 + - first: + 213: 2163264644114145210 + second: doors_97 + - first: + 213: 5303743674498044311 + second: doors_98 + - first: + 213: -3481657999998423368 + second: doors_99 + - first: + 213: 3595598816634271529 + second: doors_100 + - first: + 213: 1248923909113392547 + second: doors_101 + - first: + 213: 5283019790414379783 + second: doors_102 + - first: + 213: 4535840516408075721 + second: doors_103 + - first: + 213: -4511341600188969120 + second: doors_104 + - first: + 213: 5166663567489283951 + second: doors_105 + - first: + 213: 3254498696702675489 + second: doors_106 + - first: + 213: 6803672178897278668 + second: doors_107 + - first: + 213: 8123942675945332015 + second: doors_108 + - first: + 213: -4794502702297447608 + second: doors_109 + - first: + 213: 4014134464793985180 + second: doors_110 + - first: + 213: 1157298271579470204 + second: doors_111 + - first: + 213: 7818118294643518544 + second: doors_112 + - first: + 213: -6720521401880531115 + second: doors_113 + - first: + 213: -6372844483800114250 + second: doors_114 + - first: + 213: 810054747176975857 + second: doors_115 + - first: + 213: 4154796671173747938 + second: doors_116 + - first: + 213: 4857557396861579079 + second: doors_117 + - first: + 213: 3352423727115451875 + second: doors_118 + - first: + 213: -8908397500000629800 + second: doors_119 + - first: + 213: -7221890720882776067 + second: doors_120 + - first: + 213: -1361999543284178371 + second: doors_121 + - first: + 213: 8770880750785871729 + second: doors_122 + - first: + 213: 1876645783263410114 + second: doors_123 + - first: + 213: -3296317823454896479 + second: doors_124 + - first: + 213: 1961696669786316672 + second: doors_125 + - first: + 213: 8673346118665360563 + second: doors_126 + - first: + 213: 1823384448544624787 + second: doors_127 + - first: + 213: 8859219060044484181 + second: doors_128 + - first: + 213: 1452101079469725359 + second: doors_129 + - first: + 213: 3911724544444761368 + second: doors_130 + - first: + 213: 8126687974660544876 + second: doors_131 + - first: + 213: 3915704962675947153 + second: doors_132 + - first: + 213: 1392510809492365370 + second: doors_133 + - first: + 213: 1407118568463124417 + second: doors_134 + - first: + 213: 4276086118928357414 + second: doors_135 + - first: + 213: -1534697343650481998 + second: doors_136 + - first: + 213: -6216638833551934842 + second: doors_137 + - first: + 213: -2315204322784876515 + second: doors_138 + - first: + 213: -3786527542486357257 + second: doors 1_0 + - first: + 213: -331872256699442669 + second: doors 1_1 + - first: + 213: 9115415836455118056 + second: doors 1_2 + - first: + 213: -4368258712906457978 + second: doors 1_3 + - first: + 213: -7195962643960103178 + second: doors 1_4 + - first: + 213: -2834703396609181409 + second: doors 1_5 + - first: + 213: 571973401050243167 + second: doors 1_6 + - first: + 213: -5401715003750271111 + second: doors 1_7 + - first: + 213: -1816238826609711017 + second: doors 1_8 + - first: + 213: 9012025826173606522 + second: doors 1_9 + - first: + 213: -7914546393854931910 + second: doors 1_10 + - first: + 213: 5282653138162408528 + second: doors 1_11 + - first: + 213: 6475583446928232876 + second: doors 1_12 + - first: + 213: -8523655535075329999 + second: doors 1_13 + - first: + 213: -6119466958610523095 + second: doors 1_14 + - first: + 213: -6708102230272028725 + second: doors 1_15 + - first: + 213: -6266308936540733439 + second: doors 1_16 + - first: + 213: -5613911834573384694 + second: doors 1_17 + - first: + 213: 179648600172082225 + second: doors 1_18 + - first: + 213: -3928597234882754965 + second: doors 1_19 + - first: + 213: 6225860454185570551 + second: doors 1_20 + - first: + 213: 7016164506935527857 + second: doors 1_21 + - first: + 213: 6371468897110921879 + second: doors 1_22 + - first: + 213: -3205934445272094089 + second: doors 1_23 + - first: + 213: 1549364118061126412 + second: doors 1_24 + - first: + 213: -5665126690702212510 + second: doors 1_25 + - first: + 213: 2606353644592842756 + second: doors 1_26 + - first: + 213: -8948553419935410903 + second: doors 1_27 + - first: + 213: 3339464747442809772 + second: doors 1_28 + - first: + 213: -3229337934151099905 + second: doors 1_29 + - first: + 213: 4852430206709024536 + second: doors 1_30 + - first: + 213: -2702565387728676111 + second: doors 1_31 + - first: + 213: 4520204466837531415 + second: doors 1_32 + - first: + 213: -7689852701761092305 + second: doors 1_33 + - first: + 213: -8439771996798817440 + second: doors 1_34 + - first: + 213: 436025936460892061 + second: doors 1_35 + - first: + 213: 1942368021603953087 + second: doors 1_36 + - first: + 213: 2942386727214489440 + second: doors 1_37 + - first: + 213: -6689703311418985154 + second: doors 1_38 + - first: + 213: 5054751464601715431 + second: doors 1_39 + - first: + 213: -4709245306444034967 + second: doors 1_40 + - first: + 213: -5483920234109466681 + second: doors 1_41 + - first: + 213: -8118634313715639442 + second: doors 1_42 + - first: + 213: 8124737272856606135 + second: doors 1_43 + - first: + 213: 7550444223870673296 + second: doors 1_44 + - first: + 213: -3116170116529169606 + second: doors 1_45 + - first: + 213: -971287533078513556 + second: doors 1_46 + - first: + 213: 2419196851009090912 + second: doors 1_47 + - first: + 213: 897109342787381346 + second: doors 1_48 + - first: + 213: 8273699184517302580 + second: doors 1_49 + - first: + 213: 4989475729729793387 + second: doors 1_50 + - first: + 213: 6273829940056167216 + second: doors 1_51 + - first: + 213: 8868611924658128258 + second: doors 1_52 + - first: + 213: -4849299236824518407 + second: doors 1_53 + - first: + 213: -6554370933467172041 + second: doors 1_54 + - first: + 213: -6421088247045818615 + second: doors 1_55 + - first: + 213: 8781690291683715661 + second: doors 1_56 + - first: + 213: 6458349938728484189 + second: doors 1_57 + - first: + 213: 7087950272925707697 + second: doors 1_58 + - first: + 213: -510176265256301580 + second: doors 1_59 + - first: + 213: 8874742834778163078 + second: doors 1_60 + - first: + 213: -1710287502974108655 + second: doors 1_61 + - first: + 213: 7642051932684814007 + second: doors 1_62 + - first: + 213: 2946705499975961033 + second: doors 1_63 + - first: + 213: -7848407230486217343 + second: doors 1_64 + - first: + 213: -7870818483472398239 + second: doors 1_65 + - first: + 213: -5930208591880822973 + second: doors 1_66 + - first: + 213: -902513957856798507 + second: doors 1_67 + - first: + 213: 1482585953668397413 + second: doors 1_68 + - first: + 213: 5289229196812485017 + second: doors 1_69 + - first: + 213: -8117949163967425159 + second: doors 1_70 + - first: + 213: 1979744727820724609 + second: doors 1_71 + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 0 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 2 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 16 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 0 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 0 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: + - serializedVersion: 2 + name: doors 1_0 + rect: + serializedVersion: 2 + x: 0 + y: 224 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 7fa2ed1134d837bc0800000000000000 + internalID: -3786527542486357257 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_1 + rect: + serializedVersion: 2 + x: 16 + y: 224 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 31a5f9cd0f3f46bf0800000000000000 + internalID: -331872256699442669 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_2 + rect: + serializedVersion: 2 + x: 32 + y: 224 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 8e4a0ef5866708e70800000000000000 + internalID: 9115415836455118056 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_3 + rect: + serializedVersion: 2 + x: 48 + y: 224 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 68c943a38d3d063c0800000000000000 + internalID: -4368258712906457978 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_4 + rect: + serializedVersion: 2 + x: 64 + y: 224 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 6fef6c5e91ec22c90800000000000000 + internalID: -7195962643960103178 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_5 + rect: + serializedVersion: 2 + x: 80 + y: 224 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: f193489974c19a8d0800000000000000 + internalID: -2834703396609181409 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_6 + rect: + serializedVersion: 2 + x: 96 + y: 224 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: f50629e17ce00f700800000000000000 + internalID: 571973401050243167 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_7 + rect: + serializedVersion: 2 + x: 112 + y: 224 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 9773197d2d04905b0800000000000000 + internalID: -5401715003750271111 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_8 + rect: + serializedVersion: 2 + x: 128 + y: 224 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 758e7a8f86c6bc6e0800000000000000 + internalID: -1816238826609711017 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_9 + rect: + serializedVersion: 2 + x: 144 + y: 224 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: a7a59bbbdb5211d70800000000000000 + internalID: 9012025826173606522 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_10 + rect: + serializedVersion: 2 + x: 160 + y: 224 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: a3c8de3ecf1e92290800000000000000 + internalID: -7914546393854931910 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_11 + rect: + serializedVersion: 2 + x: 176 + y: 224 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 05cd5cb5a01cf4940800000000000000 + internalID: 5282653138162408528 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_12 + rect: + serializedVersion: 2 + x: 0 + y: 192 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: ca19e8bf5d4edd950800000000000000 + internalID: 6475583446928232876 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_13 + rect: + serializedVersion: 2 + x: 16 + y: 192 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 138fa0c7374e5b980800000000000000 + internalID: -8523655535075329999 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_14 + rect: + serializedVersion: 2 + x: 32 + y: 192 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 92c97453939431ba0800000000000000 + internalID: -6119466958610523095 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_15 + rect: + serializedVersion: 2 + x: 48 + y: 192 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: bcf41a7009808e2a0800000000000000 + internalID: -6708102230272028725 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_16 + rect: + serializedVersion: 2 + x: 64 + y: 192 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 10042a8f8399909a0800000000000000 + internalID: -6266308936540733439 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_17 + rect: + serializedVersion: 2 + x: 80 + y: 192 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: a0454e32ee06712b0800000000000000 + internalID: -5613911834573384694 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_18 + rect: + serializedVersion: 2 + x: 96 + y: 192 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 13437a5337d3e7200800000000000000 + internalID: 179648600172082225 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_19 + rect: + serializedVersion: 2 + x: 112 + y: 192 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: b664b3521a1da79c0800000000000000 + internalID: -3928597234882754965 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_20 + rect: + serializedVersion: 2 + x: 128 + y: 192 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 7f012e8d813b66650800000000000000 + internalID: 6225860454185570551 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_21 + rect: + serializedVersion: 2 + x: 144 + y: 192 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 1b98891227c6e5160800000000000000 + internalID: 7016164506935527857 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_22 + rect: + serializedVersion: 2 + x: 160 + y: 192 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 7921fb554310c6850800000000000000 + internalID: 6371468897110921879 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_23 + rect: + serializedVersion: 2 + x: 176 + y: 192 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 77a2e589b9b3283d0800000000000000 + internalID: -3205934445272094089 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_24 + rect: + serializedVersion: 2 + x: 0 + y: 160 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: c0315ccd472708510800000000000000 + internalID: 1549364118061126412 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_25 + rect: + serializedVersion: 2 + x: 16 + y: 160 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 2624c193a4d6161b0800000000000000 + internalID: -5665126690702212510 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_26 + rect: + serializedVersion: 2 + x: 32 + y: 160 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 4084009a4d0ab2420800000000000000 + internalID: 2606353644592842756 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_27 + rect: + serializedVersion: 2 + x: 48 + y: 160 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 9259427731a50d380800000000000000 + internalID: -8948553419935410903 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_28 + rect: + serializedVersion: 2 + x: 64 + y: 160 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: caba44b9e79285e20800000000000000 + internalID: 3339464747442809772 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_29 + rect: + serializedVersion: 2 + x: 80 + y: 160 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: ff9da3732461f23d0800000000000000 + internalID: -3229337934151099905 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_30 + rect: + serializedVersion: 2 + x: 96 + y: 160 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 8174440509b475340800000000000000 + internalID: 4852430206709024536 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_31 + rect: + serializedVersion: 2 + x: 112 + y: 160 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 1fa9a22491f8e7ad0800000000000000 + internalID: -2702565387728676111 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_32 + rect: + serializedVersion: 2 + x: 128 + y: 160 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 71b2cf5730efabe30800000000000000 + internalID: 4520204466837531415 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_33 + rect: + serializedVersion: 2 + x: 144 + y: 160 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: f25c378d5b7284590800000000000000 + internalID: -7689852701761092305 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_34 + rect: + serializedVersion: 2 + x: 160 + y: 160 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 06b6481b518efda80800000000000000 + internalID: -8439771996798817440 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_35 + rect: + serializedVersion: 2 + x: 176 + y: 160 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: d97cb9f67431d0600800000000000000 + internalID: 436025936460892061 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_36 + rect: + serializedVersion: 2 + x: 0 + y: 96 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: fb928ceac6da4fa10800000000000000 + internalID: 1942368021603953087 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_37 + rect: + serializedVersion: 2 + x: 16 + y: 96 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 06f9173932575d820800000000000000 + internalID: 2942386727214489440 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_38 + rect: + serializedVersion: 2 + x: 32 + y: 96 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: e35fd1628466923a0800000000000000 + internalID: -6689703311418985154 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_39 + rect: + serializedVersion: 2 + x: 48 + y: 96 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 7e288730da5162640800000000000000 + internalID: 5054751464601715431 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_40 + rect: + serializedVersion: 2 + x: 64 + y: 96 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 96c4a3d285665aeb0800000000000000 + internalID: -4709245306444034967 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_41 + rect: + serializedVersion: 2 + x: 80 + y: 96 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 7c704552a9335e3b0800000000000000 + internalID: -5483920234109466681 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_42 + rect: + serializedVersion: 2 + x: 96 + y: 96 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: e6b9ea52b11d45f80800000000000000 + internalID: -8118634313715639442 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_43 + rect: + serializedVersion: 2 + x: 112 + y: 96 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 7b57ef1c08dd0c070800000000000000 + internalID: 8124737272856606135 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_44 + rect: + serializedVersion: 2 + x: 128 + y: 96 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 0912634840198c860800000000000000 + internalID: 7550444223870673296 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_45 + rect: + serializedVersion: 2 + x: 144 + y: 96 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: a3b57980ac321c4d0800000000000000 + internalID: -3116170116529169606 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_46 + rect: + serializedVersion: 2 + x: 160 + y: 96 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: c68f610822b4582f0800000000000000 + internalID: -971287533078513556 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_47 + rect: + serializedVersion: 2 + x: 176 + y: 96 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 065f322f7b6b29120800000000000000 + internalID: 2419196851009090912 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_48 + rect: + serializedVersion: 2 + x: 0 + y: 64 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 268a685b13c237c00800000000000000 + internalID: 897109342787381346 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_49 + rect: + serializedVersion: 2 + x: 16 + y: 64 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 439c797829512d270800000000000000 + internalID: 8273699184517302580 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_50 + rect: + serializedVersion: 2 + x: 32 + y: 64 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: b6d2af5adbd2e3540800000000000000 + internalID: 4989475729729793387 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_51 + rect: + serializedVersion: 2 + x: 48 + y: 64 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 033124e171f111750800000000000000 + internalID: 6273829940056167216 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_52 + rect: + serializedVersion: 2 + x: 64 + y: 64 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 2858a0cbe83a31b70800000000000000 + internalID: 8868611924658128258 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_53 + rect: + serializedVersion: 2 + x: 80 + y: 64 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 9f0708b6904d3bcb0800000000000000 + internalID: -4849299236824518407 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_54 + rect: + serializedVersion: 2 + x: 96 + y: 64 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 7333b80dc523a05a0800000000000000 + internalID: -6554370933467172041 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_55 + rect: + serializedVersion: 2 + x: 112 + y: 64 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 907f56b7246b3e6a0800000000000000 + internalID: -6421088247045818615 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_56 + rect: + serializedVersion: 2 + x: 128 + y: 64 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: d4aed4bfac4ded970800000000000000 + internalID: 8781690291683715661 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_57 + rect: + serializedVersion: 2 + x: 144 + y: 64 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: d5db31d2d0ba0a950800000000000000 + internalID: 6458349938728484189 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_58 + rect: + serializedVersion: 2 + x: 160 + y: 64 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 1bdae5b38357d5260800000000000000 + internalID: 7087950272925707697 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_59 + rect: + serializedVersion: 2 + x: 176 + y: 64 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 4fb0098c36d7be8f0800000000000000 + internalID: -510176265256301580 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_60 + rect: + serializedVersion: 2 + x: 0 + y: 32 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 68745eb769b692b70800000000000000 + internalID: 8874742834778163078 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_61 + rect: + serializedVersion: 2 + x: 16 + y: 32 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 11c3079d396d348e0800000000000000 + internalID: -1710287502974108655 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_62 + rect: + serializedVersion: 2 + x: 32 + y: 32 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 7b604c25eb50e0a60800000000000000 + internalID: 7642051932684814007 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_63 + rect: + serializedVersion: 2 + x: 48 + y: 32 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 9c9c1c73a0dc4e820800000000000000 + internalID: 2946705499975961033 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_64 + rect: + serializedVersion: 2 + x: 64 + y: 32 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 18df24ed43bd41390800000000000000 + internalID: -7848407230486217343 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_65 + rect: + serializedVersion: 2 + x: 80 + y: 32 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 1688c096a4c35c290800000000000000 + internalID: -7870818483472398239 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_66 + rect: + serializedVersion: 2 + x: 96 + y: 32 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 34f59fc84baa3bda0800000000000000 + internalID: -5930208591880822973 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_67 + rect: + serializedVersion: 2 + x: 112 + y: 32 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 5d81d194650a973f0800000000000000 + internalID: -902513957856798507 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_68 + rect: + serializedVersion: 2 + x: 128 + y: 32 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 569736dd114339410800000000000000 + internalID: 1482585953668397413 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_69 + rect: + serializedVersion: 2 + x: 144 + y: 32 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 99102a35eed176940800000000000000 + internalID: 5289229196812485017 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_70 + rect: + serializedVersion: 2 + x: 160 + y: 32 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 975da010f30475f80800000000000000 + internalID: -8117949163967425159 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: doors 1_71 + rect: + serializedVersion: 2 + x: 176 + y: 32 + width: 16 + height: 32 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + outline: [] + physicsShape: [] + tessellationDetail: 0 + bones: [] + spriteID: 189e4bf3757797b10800000000000000 + internalID: 1979744727820724609 + vertices: [] + indices: + edges: [] + weights: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/Dungeon.unity b/Assets/Scenes/Dungeon.unity new file mode 100644 index 00000000..76fd58bf --- /dev/null +++ b/Assets/Scenes/Dungeon.unity @@ -0,0 +1,622 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 9 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 3 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 0} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} + m_UseRadianceAmbientProbe: 0 +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 12 + m_GIWorkflowMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 0 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 12 + m_Resolution: 2 + m_BakeResolution: 40 + m_AtlasSize: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_ExtractAmbientOcclusion: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 1 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 512 + m_PVRBounces: 2 + m_PVREnvironmentSampleCount: 256 + m_PVREnvironmentReferencePointCount: 2048 + m_PVRFilteringMode: 1 + m_PVRDenoiserTypeDirect: 1 + m_PVRDenoiserTypeIndirect: 1 + m_PVRDenoiserTypeAO: 1 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVREnvironmentMIS: 1 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ExportTrainingData: 0 + m_TrainingDataDestination: TrainingData + m_LightProbeSampleCountMultiplier: 4 + m_LightingDataAsset: {fileID: 0} + m_LightingSettings: {fileID: 0} +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + maxJobWorkers: 0 + preserveTilesOutsideBounds: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &178967047 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 178967050} + - component: {fileID: 178967048} + - component: {fileID: 178967049} + m_Layer: 0 + m_Name: Ground + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1839735485 &178967048 +Tilemap: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 178967047} + m_Enabled: 1 + m_Tiles: {} + m_AnimatedTiles: {} + m_TileAssetArray: [] + m_TileSpriteArray: [] + m_TileMatrixArray: [] + m_TileColorArray: [] + m_TileObjectToInstantiateArray: [] + m_AnimationFrameRate: 1 + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_Origin: {x: 0, y: 0, z: 0} + m_Size: {x: 0, y: 0, z: 1} + m_TileAnchor: {x: 0.5, y: 0.5, z: 0} + m_TileOrientation: 0 + m_TileOrientationMatrix: + e00: 1 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 1 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 1 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 1 +--- !u!483693784 &178967049 +TilemapRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 178967047} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 0 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + 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_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_ChunkSize: {x: 32, y: 32, z: 32} + m_ChunkCullingBounds: {x: 0, y: 0, z: 0} + m_MaxChunkCount: 16 + m_MaxFrameAge: 16 + m_SortOrder: 0 + m_Mode: 0 + m_DetectChunkCullingBounds: 0 + m_MaskInteraction: 0 +--- !u!4 &178967050 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 178967047} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1796128697} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1177818048 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1177818051} + - component: {fileID: 1177818049} + - component: {fileID: 1177818050} + m_Layer: 0 + m_Name: Walls + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1839735485 &1177818049 +Tilemap: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1177818048} + m_Enabled: 1 + m_Tiles: {} + m_AnimatedTiles: {} + m_TileAssetArray: [] + m_TileSpriteArray: [] + m_TileMatrixArray: [] + m_TileColorArray: [] + m_TileObjectToInstantiateArray: [] + m_AnimationFrameRate: 1 + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_Origin: {x: 0, y: 0, z: 0} + m_Size: {x: 0, y: 0, z: 1} + m_TileAnchor: {x: 0.5, y: 0.5, z: 0} + m_TileOrientation: 0 + m_TileOrientationMatrix: + e00: 1 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 1 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 1 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 1 +--- !u!483693784 &1177818050 +TilemapRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1177818048} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 0 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + 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_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_ChunkSize: {x: 32, y: 32, z: 32} + m_ChunkCullingBounds: {x: 0, y: 0, z: 0} + m_MaxChunkCount: 16 + m_MaxFrameAge: 16 + m_SortOrder: 0 + m_Mode: 0 + m_DetectChunkCullingBounds: 0 + m_MaskInteraction: 0 +--- !u!4 &1177818051 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1177818048} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1796128697} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1796128694 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1796128697} + - component: {fileID: 1796128696} + - component: {fileID: 1796128695} + m_Layer: 0 + m_Name: Grid + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1796128695 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1796128694} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 18149eba0830c174c9dcc882c0e77eba, type: 3} + m_Name: + m_EditorClassIdentifier: + ground: {fileID: 178967048} + walls: {fileID: 1177818049} + ground1: {fileID: 11400000, guid: 5b70fbf89fe74ba4899b6d05830a8340, type: 2} + wall1: {fileID: 11400000, guid: 120f4295c33110c42ada777e171036d1, type: 2} +--- !u!156049354 &1796128696 +Grid: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1796128694} + m_Enabled: 1 + m_CellSize: {x: 1, y: 1, z: 0} + m_CellGap: {x: 0, y: 0, z: 0} + m_CellLayout: 0 + m_CellSwizzle: 0 +--- !u!4 &1796128697 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1796128694} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 178967050} + - {fileID: 1177818051} + m_Father: {fileID: 0} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1856799950 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1856799956} + - component: {fileID: 1856799955} + - component: {fileID: 1856799954} + - component: {fileID: 1856799953} + - component: {fileID: 1856799952} + - component: {fileID: 1856799951} + m_Layer: 0 + m_Name: LocalSceneManager + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1856799951 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1856799950} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e11719a854a3211459e4fb55658c64c3, type: 3} + m_Name: + m_EditorClassIdentifier: + avatar: {fileID: 0} + AvatarClone: {fileID: 0} + startPosition: {x: 0, y: 0, z: 0} +--- !u!114 &1856799952 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1856799950} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ef71482e4d2df8440a1117e181018706, type: 3} + m_Name: + m_EditorClassIdentifier: + isNewGame: 1 + isContinued: 0 + MapName: + ElementFolderName: InventoryItem + ItemsListName: InventoryItemList +--- !u!114 &1856799953 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1856799950} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: b8a65f0b147a2e44e8f244301ff0de57, type: 3} + m_Name: + m_EditorClassIdentifier: + TaskElements: [] + isNewGame: 1 + isContinued: 0 + MapName: + ElementFolderName: Quest + ItemsListName: QuestsList +--- !u!114 &1856799954 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1856799950} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3414ebe7b0de81b47a6726905f4c1322, type: 3} + m_Name: + m_EditorClassIdentifier: + StaticElements: [] + DynamicElements: [] + isNewGame: 1 + isContinued: 0 + MapName: + ElementFolderName: EquippableItem + ItemsListName: EquippableItemList +--- !u!114 &1856799955 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1856799950} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 9fbd4e55be86a9d49adcb35c89ee9c18, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!4 &1856799956 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1856799950} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 2.8525665, y: -0.1126967, z: -140.81984} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &2115064208 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2115064211} + - component: {fileID: 2115064210} + - component: {fileID: 2115064209} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!81 &2115064209 +AudioListener: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2115064208} + m_Enabled: 1 +--- !u!20 &2115064210 +Camera: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2115064208} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 2 + m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} + m_projectionMatrixMode: 1 + m_GateFitMode: 2 + m_FOVAxisMode: 0 + m_SensorSize: {x: 36, y: 24} + m_LensShift: {x: 0, y: 0} + m_FocalLength: 50 + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: 0.3 + far clip plane: 1000 + field of view: 60 + orthographic: 1 + orthographic size: 5 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 1 + m_AllowMSAA: 1 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: 0.022 +--- !u!4 &2115064211 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2115064208} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} diff --git a/Assets/Scenes/Dungeon.unity.meta b/Assets/Scenes/Dungeon.unity.meta new file mode 100644 index 00000000..279f65cc --- /dev/null +++ b/Assets/Scenes/Dungeon.unity.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: b6120123e7d93d84491a51c1d12dc291 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/Main Menu.unity b/Assets/Scenes/Main Menu.unity index a42d910f..af603872 100644 --- a/Assets/Scenes/Main Menu.unity +++ b/Assets/Scenes/Main Menu.unity @@ -823,6 +823,7 @@ GameObject: - component: {fileID: 680041737} - component: {fileID: 680041736} - component: {fileID: 680041739} + - component: {fileID: 680041740} m_Layer: 5 m_Name: NewGameButton m_TagString: Untagged @@ -902,7 +903,19 @@ MonoBehaviour: m_Arguments: m_ObjectArgument: {fileID: 0} m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine - m_IntArgument: 10 + m_IntArgument: 5 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 + - m_Target: {fileID: 680041740} + m_TargetAssemblyTypeName: NewGame, Assembly-CSharp + m_MethodName: ResetSettings + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 m_FloatArgument: 0 m_StringArgument: m_BoolArgument: 0 @@ -957,6 +970,18 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 48a2ec1fec857c946ae3ae8e69b29562, type: 3} m_Name: m_EditorClassIdentifier: +--- !u!114 &680041740 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 680041734} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e6b43804df63af347866e3fbd09a6e25, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!1 &724438447 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/Scenes/SampleScene.unity b/Assets/Scenes/SampleScene.unity index 7c40a4e1..3d3be44d 100644 --- a/Assets/Scenes/SampleScene.unity +++ b/Assets/Scenes/SampleScene.unity @@ -135466,5 +135466,13 @@ PrefabInstance: propertyPath: tilemap value: objectReference: {fileID: 1644923233} + - target: {fileID: 3079617781123838031, guid: 6b44df46620f48f41903e7858379f704, type: 3} + propertyPath: mapSize.x + value: 179 + objectReference: {fileID: 0} + - target: {fileID: 3079617781123838031, guid: 6b44df46620f48f41903e7858379f704, type: 3} + propertyPath: mapSize.y + value: 190 + objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 6b44df46620f48f41903e7858379f704, type: 3} diff --git a/Assets/Scripts/Enemies' Scprits/FollowingPatrollingEnemy.cs b/Assets/Scripts/Enemies' Scprits/FollowingPatrollingEnemy.cs index bf1196a6..2e2c243a 100644 --- a/Assets/Scripts/Enemies' Scprits/FollowingPatrollingEnemy.cs +++ b/Assets/Scripts/Enemies' Scprits/FollowingPatrollingEnemy.cs @@ -9,7 +9,7 @@ public class FollowingPatrollingEnemy : Enemy public Transform currentGoal; public AStarPathfindingAgent agent; - + public Transform target; public float chaseRadius; public float attackRadius; @@ -42,14 +42,12 @@ public class FollowingPatrollingEnemy : Enemy public float expValue; - public float dmgValue; - void Awake() { //agent = GetComponent(); } - + // Start is called before the first frame update void Start() { @@ -106,8 +104,7 @@ public class FollowingPatrollingEnemy : Enemy { if (timerHit >= hitWaitTime) { - dmgValue = PlayerPrefs.GetFloat("attackValue"); - TakeDamage(dmgValue); + TakeDamage(1.0f); hit = false; timerHit = 0f; TakeKnockback(); @@ -126,7 +123,7 @@ public class FollowingPatrollingEnemy : Enemy StopAllCoroutines(); if (Vector2.Distance(target.position, transform.position) <= chaseRadius && Vector2.Distance(target.position, transform.position) > attackRadius) { - + //Debug.Log(agent); agent.FindPath(); //transform.position = Vector2.MoveTowards(transform.position, target.position, moveSpeed * Time.deltaTime); @@ -134,9 +131,9 @@ public class FollowingPatrollingEnemy : Enemy } else if (Vector2.Distance(target.position, transform.position) > chaseRadius) { - + //Debug.Log(Vector2.Distance(transform.position, path[currentPoint].position)); - + if (Vector2.Distance(transform.position, path[currentPoint].position) > roundingDistance) { StopAllCoroutines(); @@ -164,7 +161,7 @@ public class FollowingPatrollingEnemy : Enemy firstAttack = false; } - if (collision.tag == "AttackHitbox" || collision.tag == "PickaxeHitbox") + if (collision.tag == "AttackHitbox" || collision.tag == "PickaxeHitbox") { hit = true; } diff --git a/Assets/Scripts/ProceduralGeneration/FloodFill.cs b/Assets/Scripts/ProceduralGeneration/FloodFill.cs index 73ce8813..450b152b 100644 --- a/Assets/Scripts/ProceduralGeneration/FloodFill.cs +++ b/Assets/Scripts/ProceduralGeneration/FloodFill.cs @@ -6,11 +6,10 @@ using UnityEngine; namespace GUI_Scripts.ProceduralGeneration { - public class FloodFill + public class FloodFill : GraphNode { private Map map; - private int id; - private List positions = new List(); + private List queue = new List(); public FloodFill(Map map, int id, Vector2Int startPosition) @@ -29,6 +28,7 @@ namespace GUI_Scripts.ProceduralGeneration if (map.tiles.ContainsKey(posiiton) && map.tiles[posiiton] == 0) { map.tiles[posiiton] = id; + positions.Add(posiiton); foreach (var dir in Directions2D) { if (map.tiles.ContainsKey(posiiton + dir) && !positions.Contains(posiiton+dir)) @@ -36,6 +36,7 @@ namespace GUI_Scripts.ProceduralGeneration queue.Add(posiiton+dir); } } + break; } } @@ -50,38 +51,5 @@ namespace GUI_Scripts.ProceduralGeneration Vector2Int.down, }; } - - - public class Map - { - public Dictionary tiles; - - public Map(Vector2Int size) - { - tiles = new Dictionary(); - for (int x = 0; x < size.x; x++) - { - for (int y = 0; y < size.y; y++) - { - tiles.Add(new Vector2Int(x,y),0); - } - } - } - - public void Fill(List fillers) - { - int count = fillers.Count; - while (count > 0) - { - count = fillers.Count; - foreach (var filler in fillers) - { - if (filler.Fill()) - { - count--; - } - } - } - } - } + } \ No newline at end of file diff --git a/Assets/Scripts/ProceduralGeneration/Graph.cs b/Assets/Scripts/ProceduralGeneration/Graph.cs new file mode 100644 index 00000000..cc931e68 --- /dev/null +++ b/Assets/Scripts/ProceduralGeneration/Graph.cs @@ -0,0 +1,119 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using GUI_Scripts.ProceduralGeneration; +using UnityEditor.MemoryProfiler; +using UnityEngine; + +public class Graph +{ + public List graphNodes = new List(); + public Dictionary nodesPositions = new Dictionary(); + public Map map; + public Graph(Map map) + { + this.map = map; + } + + public void Connect() + { + nodesPositions.Clear(); + foreach (var node in graphNodes) + { + node.neighbours.Clear(); + foreach (var pos in node.positions) + { + nodesPositions.Add(pos, node); + } + } + Debug.Log(graphNodes.Count); + Debug.Log(nodesPositions.Count); + + for (int i = 0; i < map.size.x-1; i++) + { + for (int j = 0; j < map.size.y-1; j++) + { + Vector2Int pos = new Vector2Int(i, j); + Vector2Int right = new Vector2Int(i + 1, j); + Vector2Int down = new Vector2Int(i, j + 1); + + if (!nodesPositions.ContainsKey(pos)) + { + continue; + } + + GraphNode node = nodesPositions[pos]; + + if (nodesPositions.TryGetValue(right, out GraphNode nodeRight)) + { + if (node != nodeRight) + { + node.neighbours.Add(nodeRight); + nodeRight.neighbours.Add(node); + } + } + + if (nodesPositions.TryGetValue(right, out GraphNode nodeDown)) + { + if (node != nodeDown) + { + node.neighbours.Add(nodeDown); + nodeDown.neighbours.Add(node); + } + } + + + + } + } + } + + public void removeNode(GraphNode node) + { + graphNodes.Remove(node); + Connect(); + } + + public void AddNode(GraphNode node) + { + graphNodes.Add(node); + Connect(); + } + + public bool checkConnectivity() + { + GraphNode nodeStart = graphNodes[0]; + Queue toCheck = new Queue(); + List visited = new List(); + toCheck.Enqueue(nodeStart); + while (toCheck.Count > 0) + { + GraphNode checkNow = toCheck.Dequeue(); + visited.Add(checkNow); + foreach (var node in checkNow.neighbours) + { + if (!toCheck.Contains(node) && !visited.Contains(node)) + { + toCheck.Enqueue(node); + } + } + } + + return visited.Count == graphNodes.Count; + } + + // Start is called before the first frame update + void Start() + { + + + } + + // Update is called once per frame + void Update() + { + + } +} + diff --git a/Assets/Scripts/ProceduralGeneration/Graph.cs.meta b/Assets/Scripts/ProceduralGeneration/Graph.cs.meta new file mode 100644 index 00000000..ec304032 --- /dev/null +++ b/Assets/Scripts/ProceduralGeneration/Graph.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: e069f5d1e3084101831c42a88d412f64 +timeCreated: 1670439462 \ No newline at end of file diff --git a/Assets/Scripts/ProceduralGeneration/GraphNode.cs b/Assets/Scripts/ProceduralGeneration/GraphNode.cs new file mode 100644 index 00000000..008d332d --- /dev/null +++ b/Assets/Scripts/ProceduralGeneration/GraphNode.cs @@ -0,0 +1,25 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class GraphNode +{ + public HashSet positions = new HashSet(); + + public HashSet neighbours = new HashSet(); + + public int id; + + + // Start is called before the first frame update + void Start() + { + + } + + // Update is called once per frame + void Update() + { + + } +} diff --git a/Assets/Scripts/ProceduralGeneration/GraphNode.cs.meta b/Assets/Scripts/ProceduralGeneration/GraphNode.cs.meta new file mode 100644 index 00000000..e41bd0b7 --- /dev/null +++ b/Assets/Scripts/ProceduralGeneration/GraphNode.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: d8ce4ad370e84880ab46419c1a4266c8 +timeCreated: 1670439462 \ No newline at end of file diff --git a/Assets/Scripts/ProceduralGeneration/Map.cs b/Assets/Scripts/ProceduralGeneration/Map.cs new file mode 100644 index 00000000..a32592c6 --- /dev/null +++ b/Assets/Scripts/ProceduralGeneration/Map.cs @@ -0,0 +1,41 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +namespace GUI_Scripts.ProceduralGeneration +{ + public class Map + { + public Dictionary tiles; + public Vector2Int size; + public Map(Vector2Int size) + { + tiles = new Dictionary(); + for (int x = 0; x < size.x; x++) + { + for (int y = 0; y < size.y; y++) + { + tiles.Add(new Vector2Int(x,y),0); + } + } + + this.size = size; + } + + public void Fill(List fillers) + { + int count = fillers.Count; + while (count > 0) + { + count = fillers.Count; + foreach (var filler in fillers) + { + if (filler.Fill()) + { + count--; + } + } + } + } + } +} diff --git a/Assets/Scripts/ProceduralGeneration/Map.cs.meta b/Assets/Scripts/ProceduralGeneration/Map.cs.meta new file mode 100644 index 00000000..f7b98e13 --- /dev/null +++ b/Assets/Scripts/ProceduralGeneration/Map.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 2f807347817942e7852f4be3790f27b6 +timeCreated: 1670439462 \ No newline at end of file diff --git a/Assets/Scripts/ProceduralGeneration/TileMapGenerator.cs b/Assets/Scripts/ProceduralGeneration/TileMapGenerator.cs new file mode 100644 index 00000000..2fa9513a --- /dev/null +++ b/Assets/Scripts/ProceduralGeneration/TileMapGenerator.cs @@ -0,0 +1,85 @@ +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using GUI_Scripts.ProceduralGeneration; +using UnityEngine; +using UnityEngine.Tilemaps; + +public class TileMapGenerator : MonoBehaviour +{ + // Start is called before the first frame update + + public Tilemap ground, walls; + public Tile ground1, wall1; + public Graph graph; + + void Start() + { + Map map = new Map(new Vector2Int(100, 100)); + List fillers = new List(); + + for (int i = 0; i < 50; i++) + { + FloodFill filler = new FloodFill(map, 1, new Vector2Int(Random.Range(0, 50), Random.Range(0, 50))); + fillers.Add(filler); + } + map.Fill(fillers); + + Graph graph = new Graph(map); + foreach (var filler in fillers) + { + graph.graphNodes.Add(filler); + } + graph.Connect(); + Debug.Log(graph.checkConnectivity()); + + int count = fillers.Count; + for (int i = 0; i < 101; i++) + { + GraphNode random = graph.graphNodes[Random.Range(0, graph.graphNodes.Count)]; + graph.removeNode(random); + random.id = 2; + + if (!graph.checkConnectivity()) + { + graph.AddNode(random); + random.id = 1; + } + + if (graph.graphNodes.Count < count / 2) + { + break; + } + + } + + foreach (var filler in fillers) + { + int id = filler.id; + foreach (var pos in filler.positions) + { + if (id == 1) + { + ground.SetTile(new Vector3Int(pos.x,pos.y,0), ground1); + + } + else if (id == 2) + { + ground.SetTile(new Vector3Int(pos.x,pos.y,0), wall1); + + } + } + + } + + GraphNode playerPosStart = graph.graphNodes[Random.Range(0, graph.graphNodes.Count)]; + Vector2Int startPos = playerPosStart.positions.ElementAt(Random.Range(0, playerPosStart.positions.Count)); + Debug.Log(startPos); + } + + // Update is called once per frame + void Update() + { + + } +} diff --git a/Assets/Scripts/ProceduralGeneration/TileMapGenerator.cs.meta b/Assets/Scripts/ProceduralGeneration/TileMapGenerator.cs.meta new file mode 100644 index 00000000..e058b97b --- /dev/null +++ b/Assets/Scripts/ProceduralGeneration/TileMapGenerator.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 16a738463a5a474dac5fa29bccecbf43 +timeCreated: 1670439462 \ No newline at end of file diff --git a/Assets/Scripts/REFACTORING/Application/Mission/Factory.meta b/Assets/Scripts/REFACTORING/Application/Mission/Factory.meta deleted file mode 100644 index 560d09ba..00000000 --- a/Assets/Scripts/REFACTORING/Application/Mission/Factory.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: bd745c9f052f4169bc80877d750caa5f -timeCreated: 1670242368 \ No newline at end of file diff --git a/Assets/Scripts/REFACTORING/Application/NPC/NpcDialogueManager.cs.meta b/Assets/Scripts/REFACTORING/Application/NPC/NpcDialogueManager.cs.meta new file mode 100644 index 00000000..0034743d --- /dev/null +++ b/Assets/Scripts/REFACTORING/Application/NPC/NpcDialogueManager.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 3a6e7fe9a7e85294fbf51884f7313f11 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ProjectSettings/EditorBuildSettings.asset b/ProjectSettings/EditorBuildSettings.asset index 824ac001..6f82cc80 100644 --- a/ProjectSettings/EditorBuildSettings.asset +++ b/ProjectSettings/EditorBuildSettings.asset @@ -35,12 +35,6 @@ EditorBuildSettings: - enabled: 1 path: Assets/Scenes/OutsideWizardsHouse.unity guid: 026457bfff0078a4399011036b83ba22 - - enabled: 1 - path: Assets/Scenes/NewGame - Confirmation.unity - guid: 5a154444dad816d41b4e975d5866fd40 - - enabled: 1 - path: Assets/Scenes/FirstVillage.unity - guid: d09d8f73d205f2c4b84728e6fe6c2839 - enabled: 1 path: Assets/Scenes/InnVillage.unity guid: 9803284c8d1e9e1408a8090084742a25 diff --git a/ProjectSettings/Physics2DSettings.asset b/ProjectSettings/Physics2DSettings.asset index 32e3bd36..6cfcddaa 100644 --- a/ProjectSettings/Physics2DSettings.asset +++ b/ProjectSettings/Physics2DSettings.asset @@ -53,4 +53,4 @@ Physics2DSettings: m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} - m_LayerCollisionMatrix: fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff + m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff diff --git a/ProjectSettings/TagManager.asset b/ProjectSettings/TagManager.asset index 50bafacc..53bc826b 100644 --- a/ProjectSettings/TagManager.asset +++ b/ProjectSettings/TagManager.asset @@ -23,8 +23,8 @@ TagManager: - Water - UI - Settings - - Trees - - Player + - + - - - - diff --git a/Scriptum.sln b/Scriptum.sln index a0073ad3..06cdecf1 100644 --- a/Scriptum.sln +++ b/Scriptum.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 11.00 # Visual Studio 2010 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assembly-CSharp", "Assembly-CSharp.csproj", "{F58AF4E0-3E6D-54B1-523D-8F755DC8E665}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assembly-CSharp", "Assembly-CSharp.csproj", "{e0f48af5-6d3e-b154-523d-8f755dc8e665}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -9,10 +9,10 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {F58AF4E0-3E6D-54B1-523D-8F755DC8E665}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F58AF4E0-3E6D-54B1-523D-8F755DC8E665}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F58AF4E0-3E6D-54B1-523D-8F755DC8E665}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F58AF4E0-3E6D-54B1-523D-8F755DC8E665}.Release|Any CPU.Build.0 = Release|Any CPU + {e0f48af5-6d3e-b154-523d-8f755dc8e665}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {e0f48af5-6d3e-b154-523d-8f755dc8e665}.Debug|Any CPU.Build.0 = Debug|Any CPU + {e0f48af5-6d3e-b154-523d-8f755dc8e665}.Release|Any CPU.ActiveCfg = Release|Any CPU + {e0f48af5-6d3e-b154-523d-8f755dc8e665}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/UserSettings/EditorUserSettings.asset b/UserSettings/EditorUserSettings.asset index 95ed264d..557c7956 100644 --- a/UserSettings/EditorUserSettings.asset +++ b/UserSettings/EditorUserSettings.asset @@ -15,19 +15,22 @@ EditorUserSettings: value: 22424703114646680e0b0227036c70050204112e291f2f2a2c3b1920caef212be7a923e7ee2e26 flags: 0 RecentlyUsedScenePath-3: - value: 22424703114646680e0b0227036c6c111b07142f1f2b233e2867083debf42d - flags: 0 - RecentlyUsedScenePath-4: value: 22424703114646680e0b0227036c72111f19352f223d667d6d0a1532f0e1372ce7f518e8ea3f7129370bfb25 flags: 0 - RecentlyUsedScenePath-5: + RecentlyUsedScenePath-4: value: 22424703114646680e0b0227036c72111f19352f223d667d6d1a1226ece42776f7e93ffdfe flags: 0 + RecentlyUsedScenePath-5: + value: 22424703114646680e0b0227036c71150130192729686b700e261335ebf23939f6ee39e7a92f31352d1b + flags: 0 RecentlyUsedScenePath-6: - value: 22424703114646680e0b0227036c72111f1958072926337e38271427fb + value: 22424703114646680e0b0227036c7b0518101d252266333e243d04 flags: 0 RecentlyUsedScenePath-7: - value: 22424703114646680e0b0227036c71150130192729686b700e261335ebf23939f6ee39e7a92f31352d1b + value: 22424703114646680e0b0227036c6c111b07142f1f2b233e2867083debf42d + flags: 0 + RecentlyUsedScenePath-8: + value: 22424703114646680e0b0227036c72111f1958072926337e38271427fb flags: 0 vcSharedLogLevel: value: 0d5e400f0650