diff --git a/Assembly-CSharp.csproj b/Assembly-CSharp.csproj index 2e28085..8bdbc81 100644 --- a/Assembly-CSharp.csproj +++ b/Assembly-CSharp.csproj @@ -1,21 +1,25 @@ - - + - 9.0 + Temp\obj\$(MSBuildProjectName) + $(BaseIntermediateOutputPath) + false + true + Temp\bin\Debug\ + + + + + - Debug - AnyCPU - 10.0.20506 - 2.0 + false + false + 9.0 - {1E981750-D248-28D9-7629-4D5A5BCFF26D} Library - Properties Assembly-CSharp - v4.7.1 - 512 + netstandard2.1 . @@ -23,39 +27,23 @@ UNITY_6000_3_6;UNITY_6000_3;UNITY_6000;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;UNITY_2021_1_OR_NEWER;UNITY_2021_2_OR_NEWER;UNITY_2021_3_OR_NEWER;UNITY_2022_1_OR_NEWER;UNITY_2022_2_OR_NEWER;UNITY_2022_3_OR_NEWER;UNITY_2023_1_OR_NEWER;UNITY_2023_2_OR_NEWER;UNITY_2023_3_OR_NEWER;UNITY_6000_0_OR_NEWER;UNITY_6000_1_OR_NEWER;UNITY_6000_2_OR_NEWER;UNITY_6000_3_OR_NEWER;PLATFORM_ARCH_64;UNITY_64;UNITY_INCLUDE_TESTS;ENABLE_AR;ENABLE_AUDIO;ENABLE_AUDIO_SCRIPTABLE_PIPELINE;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_EVENT_QUEUE;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_TEXTURE_STREAMING;ENABLE_VIRTUALTEXTURING;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_VR;ENABLE_WEBCAM;ENABLE_UNITYWEBREQUEST;ENABLE_WWW;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_SERVICES_USE_WEBREQUEST;ENABLE_UNITY_CONSENT;ENABLE_UNITY_CLOUD_IDENTIFIERS;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;ENABLE_CLOUD_SERVICES_NATIVE_CRASH_REPORTING;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_EDITOR_GAME_SERVICES;ENABLE_UNITY_GAME_SERVICES_ANALYTICS_SUPPORT;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_HUB_LICENSE;ENABLE_WEBSOCKET_CLIENT;ENABLE_GENERATE_NATIVE_PLUGINS_FOR_ASSEMBLIES_API;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_SCRIPTING_GC_WBARRIERS;PLATFORM_SUPPORTS_MONO;RENDER_SOFTWARE_CURSOR;ENABLE_MARSHALLING_TESTS;ENABLE_VIDEO;ENABLE_NAVIGATION_OFFMESHLINK_TO_NAVMESHLINK;ENABLE_ACCELERATOR_CLIENT_DEBUGGING;ENABLE_ACCESSIBILITY_SCREEN_READER;TEXTCORE_1_0_OR_NEWER;EDITOR_ONLY_NAVMESH_BUILDER_DEPRECATED;PLATFORM_STANDALONE_WIN;PLATFORM_STANDALONE;UNITY_STANDALONE_WIN;UNITY_STANDALONE;ENABLE_RUNTIME_GI;ENABLE_MOVIES;ENABLE_NETWORK;ENABLE_NVIDIA;ENABLE_AMD;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_CLOUD_SERVICES_ENGINE_DIAGNOSTICS;ENABLE_OUT_OF_PROCESS_CRASH_HANDLER;ENABLE_CLUSTER_SYNC;ENABLE_CLUSTERINPUT;PLATFORM_UPDATES_TIME_OUTSIDE_OF_PLAYER_LOOP;GFXDEVICE_WAITFOREVENT_MESSAGEPUMP;PLATFORM_USES_EXPLICIT_MEMORY_MANAGER_INITIALIZER;PLATFORM_SUPPORTS_WAIT_FOR_PRESENTATION;PLATFORM_SUPPORTS_SPLIT_GRAPHICS_JOBS;ENABLE_MONO;NET_STANDARD_2_0;NET_STANDARD;NET_STANDARD_2_1;NETSTANDARD;NETSTANDARD2_1;ENABLE_PROFILER;DEBUG;TRACE;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_INPUT_SYSTEM;TEXTCORE_FONT_ENGINE_1_5_OR_NEWER;TEXTCORE_TEXT_ENGINE_1_5_OR_NEWER;TEXTCORE_FONT_ENGINE_1_6_OR_NEWER;CSHARP_7_OR_LATER;CSHARP_7_3_OR_NEWER False - - true - full - false - Temp\bin\Debug\ - prompt - 4 - - - pdbonly - true - Temp\bin\Release\ - prompt - 4 - - true + true true - false - false - false + true + true + MSB3277 - {E097FAD1-6243-4DAD-9C02-E9B9EFC3FFC1};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} Package 2.0.26 - Legacy + SDK Game:1 StandaloneWindows64:19 6000.3.6f1 - + @@ -1417,13 +1405,15 @@ - - - + + + + + + + + + + + diff --git a/Assets/Art/Explosion.png.meta b/Assets/Art/Explosion.png.meta new file mode 100644 index 0000000..351dd54 --- /dev/null +++ b/Assets/Art/Explosion.png.meta @@ -0,0 +1,767 @@ +fileFormatVersion: 2 +guid: 00adcf1d6df2fe648901717df5c22d69 +TextureImporter: + internalIDToNameTable: + - first: + 213: 5986030973748356752 + second: Explosion_0 + - first: + 213: -5600206312213581617 + second: Explosion_1 + - first: + 213: 3815954189206336483 + second: Explosion_2 + - first: + 213: -3690502768834906923 + second: Explosion_3 + - first: + 213: -49130668184793455 + second: Explosion_4 + - first: + 213: -2330519403281856691 + second: Explosion_5 + - first: + 213: -4796932125324312052 + second: Explosion_6 + - first: + 213: 4348620978117878488 + second: Explosion_7 + - first: + 213: 7788287979965792003 + second: Explosion_8 + - first: + 213: -5876230404456235001 + second: Explosion_9 + - first: + 213: -7061159883300251746 + second: Explosion_10 + - first: + 213: 497560801652076451 + second: Explosion_11 + - first: + 213: -222035745519106718 + second: Explosion_12 + - first: + 213: -5197271548307897853 + second: Explosion_13 + - first: + 213: -3806839202968226997 + second: Explosion_14 + - first: + 213: 1213653969873606975 + second: Explosion_15 + - first: + 213: -4915350518889871028 + second: Explosion_16 + - first: + 213: -966352174932169086 + second: Explosion_17 + - first: + 213: 5240812164920822625 + second: Explosion_18 + - first: + 213: -293603124231823741 + second: Explosion_19 + - first: + 213: 6340498610658388462 + second: Explosion_20 + - first: + 213: -8875219262236141736 + second: Explosion_21 + - first: + 213: -3137233733933034950 + second: Explosion_22 + - first: + 213: -6028636648774303401 + second: Explosion_23 + - first: + 213: 7046362073872118415 + second: Explosion_24 + externalObjects: {} + serializedVersion: 13 + 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 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + 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: 100 + 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 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 4 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: + - serializedVersion: 2 + name: Explosion_0 + rect: + serializedVersion: 2 + x: 728 + y: 577 + width: 11 + height: 52 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 096a1cc8477a21350800000000000000 + internalID: 5986030973748356752 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion_1 + rect: + serializedVersion: 2 + x: 1037 + y: 164 + width: 95 + height: 420 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: fc0fb9bb7021842b0800000000000000 + internalID: -5600206312213581617 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion_2 + rect: + serializedVersion: 2 + x: 576 + y: 0 + width: 249 + height: 559 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 3e3bec60e1ef4f430800000000000000 + internalID: 3815954189206336483 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion_3 + rect: + serializedVersion: 2 + x: 1401 + y: 457 + width: 7 + height: 10 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 5d4fffce843b8ccc0800000000000000 + internalID: -3690502768834906923 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion_4 + rect: + serializedVersion: 2 + x: 1402 + y: 441 + width: 15 + height: 21 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 19e8447eae3715ff0800000000000000 + internalID: -49130668184793455 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion_5 + rect: + serializedVersion: 2 + x: 1542 + y: 388 + width: 36 + height: 177 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: d47ca3943f458afd0800000000000000 + internalID: -2330519403281856691 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion_6 + rect: + serializedVersion: 2 + x: 1615 + y: 398 + width: 27 + height: 69 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: c028262b5afdd6db0800000000000000 + internalID: -4796932125324312052 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion_7 + rect: + serializedVersion: 2 + x: 957 + y: 144 + width: 91 + height: 295 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 8d227875db7695c30800000000000000 + internalID: 4348620978117878488 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion_8 + rect: + serializedVersion: 2 + x: 1404 + y: 383 + width: 39 + height: 64 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 30f3e4657ae851c60800000000000000 + internalID: 7788287979965792003 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion_9 + rect: + serializedVersion: 2 + x: 1479 + y: 371 + width: 33 + height: 65 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 700490ca49f637ea0800000000000000 + internalID: -5876230404456235001 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion_10 + rect: + serializedVersion: 2 + x: 1644 + y: 404 + width: 24 + height: 44 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: e9756ad6f78b10e90800000000000000 + internalID: -7061159883300251746 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion_11 + rect: + serializedVersion: 2 + x: 1672 + y: 370 + width: 47 + height: 48 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 3af61a4b9e0b7e600800000000000000 + internalID: 497560801652076451 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion_12 + rect: + serializedVersion: 2 + x: 167 + y: 0 + width: 100 + height: 394 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 26505e47aab2becf0800000000000000 + internalID: -222035745519106718 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion_13 + rect: + serializedVersion: 2 + x: 1130 + y: 165 + width: 57 + height: 229 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 3020dd920159fd7b0800000000000000 + internalID: -5197271548307897853 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion_14 + rect: + serializedVersion: 2 + x: 1380 + y: 332 + width: 38 + height: 56 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: b433c061ae36b2bc0800000000000000 + internalID: -3806839202968226997 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion_15 + rect: + serializedVersion: 2 + x: 1392 + y: 321 + width: 8 + height: 15 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: f391f8afad3c7d010800000000000000 + internalID: 1213653969873606975 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion_16 + rect: + serializedVersion: 2 + x: 1750 + y: 321 + width: 42 + height: 39 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: c498907eeba29cbb0800000000000000 + internalID: -4915350518889871028 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion_17 + rect: + serializedVersion: 2 + x: 1177 + y: 166 + width: 57 + height: 133 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 28eed3d11d3d692f0800000000000000 + internalID: -966352174932169086 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion_18 + rect: + serializedVersion: 2 + x: 1340 + y: 218 + width: 38 + height: 41 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 16bc6a0a5ea1bb840800000000000000 + internalID: 5240812164920822625 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion_19 + rect: + serializedVersion: 2 + x: 1698 + y: 0 + width: 168 + height: 273 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 38e973b9389ecebf0800000000000000 + internalID: -293603124231823741 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion_20 + rect: + serializedVersion: 2 + x: 1202 + y: 167 + width: 12 + height: 8 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: ee9a62b94e9fdf750800000000000000 + internalID: 6340498610658388462 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion_21 + rect: + serializedVersion: 2 + x: 551 + y: 0 + width: 91 + height: 99 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 857d5ba9a13e4d480800000000000000 + internalID: -8875219262236141736 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion_22 + rect: + serializedVersion: 2 + x: 920 + y: 15 + width: 79 + height: 95 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: a329c8f6a8e4674d0800000000000000 + internalID: -3137233733933034950 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion_23 + rect: + serializedVersion: 2 + x: 963 + y: 86 + width: 47 + height: 50 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 75108e5b8eaf55ca0800000000000000 + internalID: -6028636648774303401 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion_24 + rect: + serializedVersion: 2 + x: 1206 + y: 65 + width: 54 + height: 45 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: f82bee319f4b9c160800000000000000 + internalID: 7046362073872118415 + vertices: [] + indices: + edges: [] + weights: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: + Explosion_0: 5986030973748356752 + Explosion_1: -5600206312213581617 + Explosion_10: -7061159883300251746 + Explosion_11: 497560801652076451 + Explosion_12: -222035745519106718 + Explosion_13: -5197271548307897853 + Explosion_14: -3806839202968226997 + Explosion_15: 1213653969873606975 + Explosion_16: -4915350518889871028 + Explosion_17: -966352174932169086 + Explosion_18: 5240812164920822625 + Explosion_19: -293603124231823741 + Explosion_2: 3815954189206336483 + Explosion_20: 6340498610658388462 + Explosion_21: -8875219262236141736 + Explosion_22: -3137233733933034950 + Explosion_23: -6028636648774303401 + Explosion_24: 7046362073872118415 + Explosion_3: -3690502768834906923 + Explosion_4: -49130668184793455 + Explosion_5: -2330519403281856691 + Explosion_6: -4796932125324312052 + Explosion_7: 4348620978117878488 + Explosion_8: 7788287979965792003 + Explosion_9: -5876230404456235001 + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Explosion01.png.meta b/Assets/Art/Explosion01.png.meta new file mode 100644 index 0000000..0a42097 --- /dev/null +++ b/Assets/Art/Explosion01.png.meta @@ -0,0 +1,143 @@ +fileFormatVersion: 2 +guid: b8851f9b6bb24074c8f552166b1e3786 +TextureImporter: + internalIDToNameTable: + - first: + 213: -2872193064155031137 + second: Explosion01_0 + externalObjects: {} + serializedVersion: 13 + 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 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + 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: 100 + 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 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 4 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: + - serializedVersion: 2 + name: Explosion01_0 + rect: + serializedVersion: 2 + x: 198 + y: 0 + width: 100 + height: 386 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: f99d2bc20abe328d0800000000000000 + internalID: -2872193064155031137 + vertices: [] + indices: + edges: [] + weights: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: + Explosion01_0: -2872193064155031137 + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Explosion02.png.meta b/Assets/Art/Explosion02.png.meta new file mode 100644 index 0000000..21486aa --- /dev/null +++ b/Assets/Art/Explosion02.png.meta @@ -0,0 +1,195 @@ +fileFormatVersion: 2 +guid: d0b467cc565264241a78c4c8b6fa1066 +TextureImporter: + internalIDToNameTable: + - first: + 213: 5263944732724515155 + second: Explosion02_0 + - first: + 213: -8590316094126912911 + second: Explosion02_1 + - first: + 213: -542222377048940156 + second: Explosion02_2 + externalObjects: {} + serializedVersion: 13 + 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 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + 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: 100 + 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 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 4 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: + - serializedVersion: 2 + name: Explosion02_0 + rect: + serializedVersion: 2 + x: 286 + y: 580 + width: 11 + height: 52 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 351555748d94d0940800000000000000 + internalID: 5263944732724515155 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion02_1 + rect: + serializedVersion: 2 + x: 109 + y: 2 + width: 91 + height: 100 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 17a8e3d960119c880800000000000000 + internalID: -8590316094126912911 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion02_2 + rect: + serializedVersion: 2 + x: 134 + y: 2 + width: 249 + height: 560 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 481eab2fe93a978f0800000000000000 + internalID: -542222377048940156 + vertices: [] + indices: + edges: [] + weights: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: + Explosion02_0: 5263944732724515155 + Explosion02_1: -8590316094126912911 + Explosion02_2: -542222377048940156 + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Explosion03.png.meta b/Assets/Art/Explosion03.png.meta new file mode 100644 index 0000000..ca69309 --- /dev/null +++ b/Assets/Art/Explosion03.png.meta @@ -0,0 +1,325 @@ +fileFormatVersion: 2 +guid: 14bd92f1e1bb07d4d86e8ccaf890b22f +TextureImporter: + internalIDToNameTable: + - first: + 213: 5056632362915681825 + second: Explosion03_0 + - first: + 213: -6673973777471064390 + second: Explosion03_1 + - first: + 213: -8449821423817703365 + second: Explosion03_2 + - first: + 213: -5317630614089735961 + second: Explosion03_3 + - first: + 213: -1311935447905904987 + second: Explosion03_4 + - first: + 213: 867550563537955917 + second: Explosion03_5 + - first: + 213: 3021492006674002862 + second: Explosion03_6 + - first: + 213: -2168451637150714788 + second: Explosion03_7 + externalObjects: {} + serializedVersion: 13 + 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 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + 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: 100 + 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 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 4 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: + - serializedVersion: 2 + name: Explosion03_0 + rect: + serializedVersion: 2 + x: 119 + y: 161 + width: 91 + height: 295 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 1265557c754cc2640800000000000000 + internalID: 5056632362915681825 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion03_1 + rect: + serializedVersion: 2 + x: 199 + y: 181 + width: 95 + height: 420 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: ab6b099a5384163a0800000000000000 + internalID: -6673973777471064390 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion03_2 + rect: + serializedVersion: 2 + x: 292 + y: 182 + width: 57 + height: 229 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: b304cd12f243cba80800000000000000 + internalID: -8449821423817703365 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion03_3 + rect: + serializedVersion: 2 + x: 339 + y: 183 + width: 57 + height: 133 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 7e06078612bf336b0800000000000000 + internalID: -5317630614089735961 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion03_4 + rect: + serializedVersion: 2 + x: 364 + y: 184 + width: 12 + height: 8 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 5a6535b39a11bcde0800000000000000 + internalID: -1311935447905904987 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion03_5 + rect: + serializedVersion: 2 + x: 82 + y: 32 + width: 79 + height: 95 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: d4cae5c14a82a0c00800000000000000 + internalID: 867550563537955917 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion03_6 + rect: + serializedVersion: 2 + x: 125 + y: 103 + width: 47 + height: 50 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: ea37c75b8fe7ee920800000000000000 + internalID: 3021492006674002862 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion03_7 + rect: + serializedVersion: 2 + x: 368 + y: 82 + width: 54 + height: 45 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: c54740799bc18e1e0800000000000000 + internalID: -2168451637150714788 + vertices: [] + indices: + edges: [] + weights: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: + Explosion03_0: 5056632362915681825 + Explosion03_1: -6673973777471064390 + Explosion03_2: -8449821423817703365 + Explosion03_3: -5317630614089735961 + Explosion03_4: -1311935447905904987 + Explosion03_5: 867550563537955917 + Explosion03_6: 3021492006674002862 + Explosion03_7: -2168451637150714788 + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Explosion04.png.meta b/Assets/Art/Explosion04.png.meta new file mode 100644 index 0000000..ef0dc57 --- /dev/null +++ b/Assets/Art/Explosion04.png.meta @@ -0,0 +1,455 @@ +fileFormatVersion: 2 +guid: 5e21ef15033394f41852a503ed95b32c +TextureImporter: + internalIDToNameTable: + - first: + 213: -7253038990916170444 + second: Explosion04_0 + - first: + 213: -2846724526272779489 + second: Explosion04_1 + - first: + 213: 568970357463690507 + second: Explosion04_2 + - first: + 213: -1658307840785030272 + second: Explosion04_3 + - first: + 213: 3822703668184652042 + second: Explosion04_4 + - first: + 213: -237962372213289916 + second: Explosion04_5 + - first: + 213: -7259233471560937660 + second: Explosion04_6 + - first: + 213: 2722833822301322866 + second: Explosion04_7 + - first: + 213: 7450094208704473133 + second: Explosion04_8 + - first: + 213: -6287813533118926092 + second: Explosion04_9 + - first: + 213: 6216236849653545786 + second: Explosion04_10 + - first: + 213: 1219365015400639660 + second: Explosion04_11 + - first: + 213: -6698639041047873766 + second: Explosion04_12 + externalObjects: {} + serializedVersion: 13 + 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 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + 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: 100 + 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 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 4 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: + - serializedVersion: 2 + name: Explosion04_0 + rect: + serializedVersion: 2 + x: 91 + y: 457 + width: 7 + height: 10 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 43d426c4777085b90800000000000000 + internalID: -7253038990916170444 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion04_1 + rect: + serializedVersion: 2 + x: 92 + y: 441 + width: 15 + height: 21 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: f1b6e1e30276e78d0800000000000000 + internalID: -2846724526272779489 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion04_2 + rect: + serializedVersion: 2 + x: 232 + y: 388 + width: 36 + height: 177 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: b0da95c868365e700800000000000000 + internalID: 568970357463690507 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion04_3 + rect: + serializedVersion: 2 + x: 305 + y: 398 + width: 27 + height: 69 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 08363cd0ec18cf8e0800000000000000 + internalID: -1658307840785030272 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion04_4 + rect: + serializedVersion: 2 + x: 94 + y: 383 + width: 39 + height: 64 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: a099abf8bb8fc0530800000000000000 + internalID: 3822703668184652042 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion04_5 + rect: + serializedVersion: 2 + x: 169 + y: 371 + width: 33 + height: 65 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 44c4156bb7692bcf0800000000000000 + internalID: -237962372213289916 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion04_6 + rect: + serializedVersion: 2 + x: 334 + y: 404 + width: 24 + height: 44 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 44f0cf16e95024b90800000000000000 + internalID: -7259233471560937660 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion04_7 + rect: + serializedVersion: 2 + x: 362 + y: 370 + width: 47 + height: 48 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 27e70b86fe279c520800000000000000 + internalID: 2722833822301322866 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion04_8 + rect: + serializedVersion: 2 + x: 70 + y: 332 + width: 38 + height: 56 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: d286605e53d046760800000000000000 + internalID: 7450094208704473133 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion04_9 + rect: + serializedVersion: 2 + x: 82 + y: 321 + width: 8 + height: 15 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 4f27d88e7e23db8a0800000000000000 + internalID: -6287813533118926092 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion04_10 + rect: + serializedVersion: 2 + x: 440 + y: 321 + width: 42 + height: 39 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: a3bfa4fca72844650800000000000000 + internalID: 6216236849653545786 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion04_11 + rect: + serializedVersion: 2 + x: 30 + y: 218 + width: 38 + height: 41 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: cac6e72650e0ce010800000000000000 + internalID: 1219365015400639660 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: Explosion04_12 + rect: + serializedVersion: 2 + x: 388 + y: 196 + width: 84 + height: 77 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: a1737c77847a903a0800000000000000 + internalID: -6698639041047873766 + vertices: [] + indices: + edges: [] + weights: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: + Explosion04_0: -7253038990916170444 + Explosion04_1: -2846724526272779489 + Explosion04_10: 6216236849653545786 + Explosion04_11: 1219365015400639660 + Explosion04_12: -6698639041047873766 + Explosion04_2: 568970357463690507 + Explosion04_3: -1658307840785030272 + Explosion04_4: 3822703668184652042 + Explosion04_5: -237962372213289916 + Explosion04_6: -7259233471560937660 + Explosion04_7: 2722833822301322866 + Explosion04_8: 7450094208704473133 + Explosion04_9: -6287813533118926092 + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/LoseScreen.png.meta b/Assets/Art/LoseScreen.png.meta new file mode 100644 index 0000000..a3eedd8 --- /dev/null +++ b/Assets/Art/LoseScreen.png.meta @@ -0,0 +1,143 @@ +fileFormatVersion: 2 +guid: c6fb9e98526949049b62d5c570b0cdbf +TextureImporter: + internalIDToNameTable: + - first: + 213: -8697964458621741418 + second: LoseScreen_0 + externalObjects: {} + serializedVersion: 13 + 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 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + 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: 100 + 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 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 4 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: + - serializedVersion: 2 + name: LoseScreen_0 + rect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1920 + height: 1080 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 696d0ee986f9a4780800000000000000 + internalID: -8697964458621741418 + vertices: [] + indices: + edges: [] + weights: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: + LoseScreen_0: -8697964458621741418 + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/Pumpkin.png.meta b/Assets/Art/Pumpkin.png.meta new file mode 100644 index 0000000..46b2c3d --- /dev/null +++ b/Assets/Art/Pumpkin.png.meta @@ -0,0 +1,143 @@ +fileFormatVersion: 2 +guid: c37b63e9f480cfb43a85b6bfe79905e2 +TextureImporter: + internalIDToNameTable: + - first: + 213: -3545189308076068758 + second: Pumpkin_0 + externalObjects: {} + serializedVersion: 13 + 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 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + 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: 100 + 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 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 4 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: + - serializedVersion: 2 + name: Pumpkin_0 + rect: + serializedVersion: 2 + x: 697 + y: 383 + width: 568 + height: 337 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: a60fc968b15fccec0800000000000000 + internalID: -3545189308076068758 + vertices: [] + indices: + edges: [] + weights: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: + Pumpkin_0: -3545189308076068758 + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/PurplePlatform.aseprite.meta b/Assets/Art/PurplePlatform.aseprite.meta new file mode 100644 index 0000000..5e59596 --- /dev/null +++ b/Assets/Art/PurplePlatform.aseprite.meta @@ -0,0 +1,185 @@ +fileFormatVersion: 2 +guid: 29c172fb3c0930c4ea77b9da4a7e6d57 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 62a9f0aa5b59740cfbadc7e5f9823bb0, type: 3} + importerVersion: 2 + textureImporterSettings: + alphaSource: 1 + mipMapMode: 0 + enableMipMap: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + convertToNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + swizzle: 50462976 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + nPOTScale: 1 + sRGBTexture: 1 + spriteMode: 2 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 0 + flipbookColumns: 0 + ignorePngGamma: 0 + cookieMode: 0 + filterMode: 0 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + normalMap: 0 + textureFormat: 0 + maxTextureSize: 0 + lightmap: 0 + compressionQuality: 0 + linearTexture: 0 + grayScaleToAlpha: 0 + rGBM: 0 + cubemapConvolutionSteps: 0 + cubemapConvolutionExponent: 0 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + applyGammaDecoding: 0 + previousAsepriteImporterSettings: + fileImportMode: 1 + importHiddenLayers: 0 + layerImportMode: 1 + defaultPivotSpace: 0 + defaultPivotAlignment: 7 + customPivotPosition: {x: 0.5, y: 0.5} + mosaicPadding: 4 + spritePadding: 0 + generateModelPrefab: 1 + generateAnimationClips: 1 + addSortingGroup: 1 + addShadowCasters: 0 + generateIndividualEvents: 1 + generateSpriteAtlas: 1 + asepriteImporterSettings: + fileImportMode: 1 + importHiddenLayers: 0 + layerImportMode: 1 + defaultPivotSpace: 0 + defaultPivotAlignment: 7 + customPivotPosition: {x: 0.5, y: 0.5} + mosaicPadding: 4 + spritePadding: 0 + generateModelPrefab: 1 + generateAnimationClips: 1 + addSortingGroup: 1 + addShadowCasters: 0 + generateIndividualEvents: 1 + generateSpriteAtlas: 1 + importFileNodeState: 1 + platformSettingsDirtyTick: 0 + textureAssetName: + singleSpriteImportData: + - name: + originalName: + pivot: {x: 0, y: 0} + alignment: 0 + border: {x: 0, y: 0, z: 0, w: 0} + customData: + rect: + serializedVersion: 2 + x: 0 + y: 0 + width: 0 + height: 0 + spriteID: + spriteBone: [] + spriteOutline: [] + vertices: [] + spritePhysicsOutline: [] + indices: + edges: [] + tessellationDetail: 0 + uvTransform: {x: 0, y: 0} + animatedSpriteImportData: + - name: PurplePlatform + originalName: + pivot: {x: 0.5, y: 0} + alignment: 9 + border: {x: 0, y: 0, z: 0, w: 0} + customData: + rect: + serializedVersion: 2 + x: 4 + y: 4 + width: 82 + height: 14 + spriteID: 88043f5321625a34cbc5edc95a705a8a + spriteBone: [] + spriteOutline: [] + vertices: [] + spritePhysicsOutline: [] + indices: + edges: [] + tessellationDetail: 0 + uvTransform: {x: 4, y: 4} + spriteSheetImportData: [] + tileSetImportData: [] + asepriteLayers: + - layerIndex: 0 + uuid: + value0: 844079081 + value1: 0 + value2: 0 + value3: 0 + guid: 0 + name: PurplePlatform + layerFlags: 0 + layerType: 0 + blendMode: 0 + cells: + - name: PurplePlatform + frameIndex: 0 + additiveSortOrder: 0 + cellRect: + x: 7 + y: 0 + width: 82 + height: 14 + spriteId: 88043f5321625a34cbc5edc95a705a8a + linkedCells: [] + tileCells: [] + tileSetIndex: 0 + parentIndex: -1 + tileSets: [] + platformSettings: [] + generatePhysicsShape: 0 + secondarySpriteTextures: [] + spritePackingTag: + canvasSize: {x: 96, y: 32} + previousTextureSize: {x: 128, y: 32} diff --git a/Assets/Art/TitleScreen.png.meta b/Assets/Art/TitleScreen.png.meta new file mode 100644 index 0000000..b4bc6e4 --- /dev/null +++ b/Assets/Art/TitleScreen.png.meta @@ -0,0 +1,169 @@ +fileFormatVersion: 2 +guid: 2fb519ff85e172249986486e89778e76 +TextureImporter: + internalIDToNameTable: + - first: + 213: -1408437573596956881 + second: TitleScreen_0 + - first: + 213: 6662437350718754850 + second: TitleScreen_1 + externalObjects: {} + serializedVersion: 13 + 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 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + 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: 100 + 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 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 4 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: + - serializedVersion: 2 + name: TitleScreen_0 + rect: + serializedVersion: 2 + x: 127 + y: 148 + width: 1387 + height: 729 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: f27b0713d79347ce0800000000000000 + internalID: -1408437573596956881 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: TitleScreen_1 + rect: + serializedVersion: 2 + x: 1359 + y: 611 + width: 213 + height: 246 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 220d2eba87bb57c50800000000000000 + internalID: 6662437350718754850 + vertices: [] + indices: + edges: [] + weights: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: + TitleScreen_0: -1408437573596956881 + TitleScreen_1: 6662437350718754850 + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Art/winScreen.png b/Assets/Art/winScreen.png index 3410c68..97875fd 100644 Binary files a/Assets/Art/winScreen.png and b/Assets/Art/winScreen.png differ diff --git a/Assets/Prefabs/Trick.prefab b/Assets/Prefabs/Trick.prefab index abc688a..faea691 100644 --- a/Assets/Prefabs/Trick.prefab +++ b/Assets/Prefabs/Trick.prefab @@ -13,6 +13,8 @@ GameObject: - component: {fileID: 700000003} - component: {fileID: 700000004} - component: {fileID: 700000005} + - component: {fileID: 3917207367007631320} + - component: {fileID: -9156742802622042603} m_Layer: 3 m_Name: Trick m_TagString: Interactable @@ -187,13 +189,15 @@ MonoBehaviour: consumeCooldown: 3 trickPrefab: {fileID: 700000005} avoidPlayerRadius: 0 - avoidTrickRadius: 0 treatSeekWeight: 1 wanderWeight: 0.4 maxTricks: 50 jumpImpulse: 6 + jumpImpulseVariance: 0.25 jumpCooldown: 1 jumpChancePerSecond: 0.5 + jumpArcChance: 0.5 + jumpArcHorizontalImpulse: 2 groundMask: serializedVersion: 2 m_Bits: 4294967295 @@ -201,3 +205,202 @@ MonoBehaviour: despawnMinX: -12 despawnMaxX: 12 despawnMinY: -10 + despawnMaxY: 20 + throwControlLockTime: 0.35 + wallCheckDistance: 0.1 + wallAvoidDuration: 0.6 + trickEatSound: {fileID: -9156742802622042603} +--- !u!82 &3917207367007631320 +AudioSource: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 700000000} + m_Enabled: 1 + serializedVersion: 4 + OutputAudioMixerGroup: {fileID: 0} + m_audioClip: {fileID: 0} + m_Resource: {fileID: 0} + m_PlayOnAwake: 1 + m_Volume: 1 + m_Pitch: 1 + Loop: 0 + Mute: 0 + Spatialize: 0 + SpatializePostEffects: 0 + Priority: 128 + DopplerLevel: 1 + MinDistance: 1 + MaxDistance: 500 + Pan2D: 0 + rolloffMode: 0 + BypassEffects: 0 + BypassListenerEffects: 0 + BypassReverbZones: 0 + rolloffCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + panLevelCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + spreadCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + reverbZoneMixCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 +--- !u!82 &-9156742802622042603 +AudioSource: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 700000000} + m_Enabled: 1 + serializedVersion: 4 + OutputAudioMixerGroup: {fileID: 0} + m_audioClip: {fileID: 0} + m_Resource: {fileID: 8300000, guid: f69d2619e3b7cc14885cd3c2ce146442, type: 3} + m_PlayOnAwake: 1 + m_Volume: 0.4 + m_Pitch: 1 + Loop: 0 + Mute: 0 + Spatialize: 0 + SpatializePostEffects: 0 + Priority: 128 + DopplerLevel: 1 + MinDistance: 1 + MaxDistance: 500 + Pan2D: 0 + rolloffMode: 0 + BypassEffects: 0 + BypassListenerEffects: 0 + BypassReverbZones: 0 + rolloffCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + panLevelCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + spreadCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + reverbZoneMixCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 diff --git a/Assets/Scenes/Experiment.unity b/Assets/Scenes/Experiment.unity index 3388cc2..23232e2 100644 --- a/Assets/Scenes/Experiment.unity +++ b/Assets/Scenes/Experiment.unity @@ -2080,58 +2080,6 @@ PrefabInstance: m_AddedGameObjects: [] m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 99cce68fc82caea44b5a140697be00a8, type: 3} ---- !u!1 &1466477811 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1466477813} - - component: {fileID: 1466477812} - m_Layer: 0 - m_Name: Treat Spawner TL - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!114 &1466477812 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1466477811} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 14b0bf07aa1abc44a8ebd00cecacd6f4, type: 3} - m_Name: - m_EditorClassIdentifier: Assembly-CSharp::Spawner - objectToSpawn: {fileID: 262983251238298495, guid: 80c527a86ad6fc34dbc73ee80c1f2951, type: 3} - spawnInterval: 5 - maxAlive: 0 - spawnOnStart: 1 - repeatSpawns: 1 - launchForce: 0 - launchRandomAngle: 0 - spinSpeed: 0 ---- !u!4 &1466477813 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1466477811} - serializedVersion: 2 - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -2.42, y: 2.93, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 0} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1654086541 GameObject: m_ObjectHideFlags: 0 @@ -2383,110 +2331,6 @@ PrefabInstance: m_AddedGameObjects: [] m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 414ae949bae840c4589b38dd91c715e0, type: 3} ---- !u!1 &1759124602 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1759124604} - - component: {fileID: 1759124603} - m_Layer: 0 - m_Name: Treat Spawner TR - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!114 &1759124603 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1759124602} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 14b0bf07aa1abc44a8ebd00cecacd6f4, type: 3} - m_Name: - m_EditorClassIdentifier: Assembly-CSharp::Spawner - objectToSpawn: {fileID: 262983251238298495, guid: 80c527a86ad6fc34dbc73ee80c1f2951, type: 3} - spawnInterval: 5 - maxAlive: 0 - spawnOnStart: 1 - repeatSpawns: 1 - launchForce: 0 - launchRandomAngle: 0 - spinSpeed: 0 ---- !u!4 &1759124604 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1759124602} - serializedVersion: 2 - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 2.88, y: 2.69, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 0} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &1830238251 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1830238253} - - component: {fileID: 1830238252} - m_Layer: 0 - m_Name: Treat Spawner BR - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!114 &1830238252 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1830238251} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 14b0bf07aa1abc44a8ebd00cecacd6f4, type: 3} - m_Name: - m_EditorClassIdentifier: Assembly-CSharp::Spawner - objectToSpawn: {fileID: 262983251238298495, guid: 80c527a86ad6fc34dbc73ee80c1f2951, type: 3} - spawnInterval: 5 - maxAlive: 0 - spawnOnStart: 1 - repeatSpawns: 1 - launchForce: 0 - launchRandomAngle: 0 - spinSpeed: 0 ---- !u!4 &1830238253 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1830238251} - serializedVersion: 2 - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 4.5, y: -2, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 0} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &2057686360 GameObject: m_ObjectHideFlags: 0 @@ -2863,6 +2707,7 @@ MonoBehaviour: trickLayerName: Trick playerLayerName: Player treatLayerName: Treat + destroyTag: Destroy --- !u!114 &2100000103 MonoBehaviour: m_ObjectHideFlags: 0 @@ -2922,13 +2767,13 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: Assembly-CSharp::Spawner objectToSpawn: {fileID: 262983251238298495, guid: 80c527a86ad6fc34dbc73ee80c1f2951, type: 3} - spawnInterval: 5 + spawnInterval: 1.5 maxAlive: 0 spawnOnStart: 1 repeatSpawns: 1 launchForce: 4 launchRandomAngle: 360 - spinSpeed: 180 + spinSpeed: 100 --- !u!1001 &1760117322204329348 PrefabInstance: m_ObjectHideFlags: 0 @@ -3020,10 +2865,6 @@ SceneRoots: - {fileID: 1760117322204329348} - {fileID: 1277412258} - {fileID: 1227312797} - - {fileID: 1830238253} - - {fileID: 908853550} - - {fileID: 1466477813} - - {fileID: 1759124604} - {fileID: 792686806} - {fileID: 1685410085} - {fileID: 377513953} @@ -3034,3 +2875,4 @@ SceneRoots: - {fileID: 2200000001} - {fileID: 491328828} - {fileID: 738367608} + - {fileID: 908853550} diff --git a/Assets/Scripts/PlayerPickupController.cs b/Assets/Scripts/PlayerPickupController.cs index 6d27f17..ccc5307 100644 --- a/Assets/Scripts/PlayerPickupController.cs +++ b/Assets/Scripts/PlayerPickupController.cs @@ -24,6 +24,11 @@ public class PlayerPickupController : MonoBehaviour public float pickupRange = 2.0f; public GameObject heldObject; + private Rigidbody2D heldBody; + private float heldBodyMass; + private float heldBodyGravity; + private RigidbodyType2D heldBodyType; + private bool heldBodySimulated; private PlayerPlatformerController platformerController; private PlayerStressController playerStressController; private bool isChargingThrow; @@ -163,9 +168,17 @@ public class PlayerPickupController : MonoBehaviour // Disable physics so it doesn't fall or collide with the player if (heldObject.TryGetComponent(out Rigidbody2D rb)) { + heldBody = rb; + heldBodyMass = rb.mass; + heldBodyGravity = rb.gravityScale; + heldBodyType = rb.bodyType; + heldBodySimulated = rb.simulated; + + rb.simulated = false; rb.bodyType = RigidbodyType2D.Kinematic; - rb.gravityScale = 0; - rb.mass = 0; + rb.gravityScale = 0f; + rb.linearVelocity = Vector2.zero; + rb.angularVelocity = 0f; } if (trick != null) @@ -195,11 +208,14 @@ public class PlayerPickupController : MonoBehaviour public void DropObject(bool applyThrow) { // Re-enable physics - if (heldObject.TryGetComponent(out Rigidbody2D rb)) + if (heldBody != null) { - rb.bodyType = RigidbodyType2D.Dynamic; - rb.gravityScale = 1; - rb.linearVelocity = Vector2.zero; + heldBody.simulated = heldBodySimulated; + heldBody.bodyType = heldBodyType; + heldBody.gravityScale = heldBodyGravity; + heldBody.mass = heldBodyMass; + heldBody.linearVelocity = Vector2.zero; + heldBody.angularVelocity = 0f; } if (heldObject.TryGetComponent(out var trick)) { @@ -217,7 +233,7 @@ public class PlayerPickupController : MonoBehaviour heldPickup.enabled = true; } } - if (applyThrow && heldObject.TryGetComponent(out Rigidbody2D throwBody)) + if (applyThrow && heldBody != null) { var direction = 1f; if (platformerController != null && Mathf.Abs(platformerController.LastMoveX) > 0.01f) @@ -231,8 +247,9 @@ public class PlayerPickupController : MonoBehaviour charge01 = Mathf.Clamp01(heldTime / Mathf.Max(0.01f, throwChargeTime)); } var throwSpeed = Mathf.Lerp(minThrowSpeed, maxThrowSpeed, charge01); - throwBody.linearVelocity = new Vector2(direction * throwSpeed, 0f); - throwBody.angularVelocity = 0f; + var upwardSpeed = throwUpwardForce * charge01; + heldBody.linearVelocity = new Vector2(direction * throwSpeed, upwardSpeed); + heldBody.angularVelocity = 0f; } heldObject.transform.position += Vector3.up * dropClearance; Collider2D col = heldObject.GetComponent(); @@ -241,6 +258,7 @@ public class PlayerPickupController : MonoBehaviour // Unparent heldObject.transform.SetParent(null); heldObject = null; + heldBody = null; isChargingThrow = false; } diff --git a/Assets/Scripts/PlayerPlatformerController.cs b/Assets/Scripts/PlayerPlatformerController.cs index 1d5c042..a1b1913 100644 --- a/Assets/Scripts/PlayerPlatformerController.cs +++ b/Assets/Scripts/PlayerPlatformerController.cs @@ -275,10 +275,22 @@ public class PlayerPlatformerController : MonoBehaviour for (var i = 0; i < hits.Length; i++) { var hit = hits[i]; - if (hit != null && hit != bodyCollider) + if (hit == null || hit == bodyCollider || hit.isTrigger) { - return true; + continue; } + + if (hit.GetComponent() != null) + { + continue; + } + + if (hit.GetComponent() != null) + { + continue; + } + + return true; } return false; diff --git a/Assets/Scripts/TrickController.cs b/Assets/Scripts/TrickController.cs index f1775d2..4bfe8aa 100644 --- a/Assets/Scripts/TrickController.cs +++ b/Assets/Scripts/TrickController.cs @@ -25,14 +25,21 @@ public class TrickController : MonoBehaviour [SerializeField] private float wanderWeight = 0.4f; [SerializeField] private int maxTricks = 50; [SerializeField] private float jumpImpulse = 6f; + [SerializeField] private float jumpImpulseVariance = 0.25f; [SerializeField] private float jumpCooldown = 1f; [SerializeField] private float jumpChancePerSecond = 0.5f; + [SerializeField] private float jumpArcChance = 0.5f; + [SerializeField] private float jumpArcHorizontalImpulse = 2f; [SerializeField] private LayerMask groundMask = ~0; [SerializeField] private float groundCheckDistance = 0.05f; [SerializeField] private float despawnMinX = -12f; [SerializeField] private float despawnMaxX = 12f; [SerializeField] private float despawnMinY = -10f; + [SerializeField] private float despawnMaxY = 20f; [SerializeField] private float throwControlLockTime = 0.35f; + [SerializeField] private float wallCheckDistance = 0.1f; + [SerializeField] private float wallAvoidDuration = 0.6f; + [SerializeField] private AudioSource trickEatSound; private Rigidbody2D body; private Transform target; @@ -44,6 +51,10 @@ public class TrickController : MonoBehaviour private float desiredXVelocity; private float nextJumpTime; private float movementLockUntil; + private readonly RaycastHit2D[] groundHits = new RaycastHit2D[4]; + private readonly RaycastHit2D[] wallHits = new RaycastHit2D[4]; + private float wallAvoidUntil; + private float wallAvoidDirection; private void Awake() { @@ -79,7 +90,7 @@ public class TrickController : MonoBehaviour } var position = transform.position; - if (position.x < despawnMinX || position.x > despawnMaxX || position.y < despawnMinY) + if (position.x < despawnMinX || position.x > despawnMaxX || position.y < despawnMinY || position.y > despawnMaxY) { Destroy(gameObject); return; @@ -128,9 +139,6 @@ public class TrickController : MonoBehaviour if (!IsGrounded()) { - var airborne = body.linearVelocity; - airborne.x = 0f; - body.linearVelocity = airborne; return; } @@ -156,6 +164,18 @@ public class TrickController : MonoBehaviour desiredX = wanderDirection.x * 0.2f; } + var wallDirection = GetWallAvoidDirection(desiredX); + if (wallDirection != 0f) + { + wallAvoidDirection = wallDirection; + wallAvoidUntil = Time.time + wallAvoidDuration; + } + + if (Time.time < wallAvoidUntil && Mathf.Abs(wallAvoidDirection) > 0.01f) + { + desiredX = wallAvoidDirection; + } + desiredVelocity = new Vector2(Mathf.Clamp(desiredX, -1f, 1f) * moveSpeed, 0f); var velocity = body.linearVelocity; @@ -235,6 +255,7 @@ public class TrickController : MonoBehaviour { target = null; } + trickEatSound.Play(); SpawnTrick(spawnPosition); nextConsumeTime = Time.time + consumeCooldown; break; @@ -311,6 +332,11 @@ public class TrickController : MonoBehaviour return; } + if (body.linearVelocity.y > 0.01f) + { + return; + } + var chance = jumpChancePerSecond * Time.fixedDeltaTime; if (Random.value > chance) { @@ -326,7 +352,17 @@ public class TrickController : MonoBehaviour } velocity.x = jumpDir * moveSpeed; body.linearVelocity = velocity; - body.AddForce(Vector2.up * jumpImpulse, ForceMode2D.Impulse); + + var minImpulse = Mathf.Max(0f, jumpImpulse * (1f - jumpImpulseVariance)); + var maxImpulse = Mathf.Max(minImpulse, jumpImpulse * (1f + jumpImpulseVariance)); + var jumpImpulseActual = Random.Range(minImpulse, maxImpulse); + body.AddForce(Vector2.up * jumpImpulseActual, ForceMode2D.Impulse); + + if (Random.value < jumpArcChance && jumpArcHorizontalImpulse > 0f) + { + var arcDir = Random.value < 0.5f ? -1f : 1f; + body.AddForce(Vector2.right * arcDir * jumpArcHorizontalImpulse, ForceMode2D.Impulse); + } nextJumpTime = Time.time + jumpCooldown; } @@ -338,22 +374,78 @@ public class TrickController : MonoBehaviour return false; } - var bounds = collider.bounds; - var checkSize = new Vector2(bounds.size.x * 0.9f, groundCheckDistance * 2f); - var checkCenter = new Vector2(bounds.center.x, bounds.min.y - groundCheckDistance); - var hits = Physics2D.OverlapBoxAll(checkCenter, checkSize, 0f, groundMask); - for (var i = 0; i < hits.Length; i++) + var filter = new ContactFilter2D(); + filter.SetLayerMask(groundMask); + filter.useTriggers = false; + + var hitCount = collider.Cast(Vector2.down, filter, groundHits, groundCheckDistance); + for (var i = 0; i < hitCount; i++) { - var hit = hits[i]; - if (hit != null && hit != collider) + var hitCollider = groundHits[i].collider; + if (hitCollider == null || hitCollider == collider) { - return true; + continue; } + + if (hitCollider.GetComponent() != null) + { + continue; + } + + if (hitCollider.GetComponent() != null) + { + continue; + } + + return true; } return false; } + private float GetWallAvoidDirection(float desiredX) + { + if (Mathf.Abs(desiredX) < 0.01f) + { + return 0f; + } + + var collider = GetComponent(); + if (collider == null) + { + return 0f; + } + + var filter = new ContactFilter2D(); + filter.SetLayerMask(groundMask); + filter.useTriggers = false; + + var dir = Mathf.Sign(desiredX); + var hitCount = collider.Cast(Vector2.right * dir, filter, wallHits, wallCheckDistance); + for (var i = 0; i < hitCount; i++) + { + var hitCollider = wallHits[i].collider; + if (hitCollider == null || hitCollider == collider) + { + continue; + } + + if (hitCollider.GetComponent() != null) + { + continue; + } + + if (hitCollider.GetComponent() != null) + { + continue; + } + + return -dir; + } + + return 0f; + } + public void SetCarried(bool carried) {