diff --git a/.vs/Pick The Lock/v14/.suo b/.vs/Pick The Lock/v14/.suo new file mode 100644 index 0000000..f095434 Binary files /dev/null and b/.vs/Pick The Lock/v14/.suo differ diff --git a/Assembly-CSharp.csproj b/Assembly-CSharp.csproj new file mode 100644 index 0000000..561538d --- /dev/null +++ b/Assembly-CSharp.csproj @@ -0,0 +1,91 @@ + + + + Debug + AnyCPU + 10.0.20506 + 2.0 + + {347369DC-015B-7A08-4565-E221134A3F9F} + Library + Properties + Assembly-CSharp + v3.5 + 512 + Assets + + + true + full + false + Temp\bin\Debug\ + DEBUG;TRACE;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_4_1;UNITY_5_4;UNITY_5;UNITY_ADS;ENABLE_NEW_BUGREPORTER;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_EDITOR_RETINA;ENABLE_RETINA_GUISTYLES;ENABLE_FRAME_DEBUGGER;ENABLE_GENERICS;ENABLE_HOME_SCREEN;ENABLE_IMAGEEFFECTS;ENABLE_LIGHT_PROBES_LEGACY;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_PLUGIN_INSPECTOR;ENABLE_SHADOWS;ENABLE_SPRITERENDERER_FLIPPING;ENABLE_SPRITES;ENABLE_SPRITE_POLYGON;ENABLE_TERRAIN;ENABLE_RAKNET;ENABLE_UNET;ENABLE_UNITYEVENTS;ENABLE_VR;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;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_METRICS;ENABLE_EDITOR_METRICS_CACHING;INCLUDE_DYNAMIC_GI;INCLUDE_GI;INCLUDE_IL2CPP;INCLUDE_DIRECTX12;PLATFORM_SUPPORTS_MONO;INCLUDE_PUBNUB;ENABLE_LOCALIZATION;ENABLE_ANDROID_ATLAS_ETC1_COMPRESSION;ENABLE_EDITOR_TESTS_RUNNER;UNITY_ANDROID;UNITY_ANDROID_API;ENABLE_SUBSTANCE;ENABLE_TEXTUREID_MAP;ENABLE_EGL;ENABLE_NETWORK;ENABLE_RUNTIME_GI;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_UNITYWEBREQUEST;PLATFORM_SUPPORTS_ADS_ID;UNITY_CAN_SHOW_SPLASH_SCREEN;ENABLE_UNITYADS_RUNTIME;UNITY_UNITYADS_API;ENABLE_MONO;ENABLE_PROFILER;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_WIN;UNITY_TEAM_LICENSE + prompt + 4 + 0169 + + + pdbonly + true + Temp\bin\Release\ + prompt + 4 + 0169 + + + + + + + + C:/Program Files/Unity/Editor/Data/Managed/UnityEngine.dll + + + C:/Program Files/Unity/Editor/Data/Managed/UnityEditor.dll + + + + + + + + + + + + + + + + + + + + + + + + + + + + + C:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/Advertisements/UnityEngine.Advertisements.dll + + + C:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/GUISystem/UnityEngine.UI.dll + + + C:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/Networking/UnityEngine.Networking.dll + + + + + + diff --git a/Assets/Animations.meta b/Assets/Animations.meta new file mode 100644 index 0000000..acd5a9c --- /dev/null +++ b/Assets/Animations.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: f241c459f14ed53429b4f7ef0e900acb +folderAsset: yes +timeCreated: 1466803785 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Animations/Chamber Animation Controller.controller b/Assets/Animations/Chamber Animation Controller.controller new file mode 100644 index 0000000..15ccc87 Binary files /dev/null and b/Assets/Animations/Chamber Animation Controller.controller differ diff --git a/Assets/Animations/Chamber Animation Controller.controller.meta b/Assets/Animations/Chamber Animation Controller.controller.meta new file mode 100644 index 0000000..079af9e --- /dev/null +++ b/Assets/Animations/Chamber Animation Controller.controller.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8f941b13239295b4eb335fe240311ccb +timeCreated: 1468179956 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Animations/Chamber Animation.anim b/Assets/Animations/Chamber Animation.anim new file mode 100644 index 0000000..1afad31 Binary files /dev/null and b/Assets/Animations/Chamber Animation.anim differ diff --git a/Assets/Animations/Chamber Animation.anim.meta b/Assets/Animations/Chamber Animation.anim.meta new file mode 100644 index 0000000..755ac73 --- /dev/null +++ b/Assets/Animations/Chamber Animation.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b4f0b65a429d4db4581aea53364426ec +timeCreated: 1468179955 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Animations/Tumbler Animation Controller.controller b/Assets/Animations/Tumbler Animation Controller.controller new file mode 100644 index 0000000..9ab70c4 Binary files /dev/null and b/Assets/Animations/Tumbler Animation Controller.controller differ diff --git a/Assets/Animations/Tumbler Animation Controller.controller.meta b/Assets/Animations/Tumbler Animation Controller.controller.meta new file mode 100644 index 0000000..342ad4c --- /dev/null +++ b/Assets/Animations/Tumbler Animation Controller.controller.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d878519e36ee1824ca437e377663f779 +timeCreated: 1467256137 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Animations/Tumbler Animation X.25.anim b/Assets/Animations/Tumbler Animation X.25.anim new file mode 100644 index 0000000..9d8d1a8 Binary files /dev/null and b/Assets/Animations/Tumbler Animation X.25.anim differ diff --git a/Assets/Animations/Tumbler Animation X.25.anim.meta b/Assets/Animations/Tumbler Animation X.25.anim.meta new file mode 100644 index 0000000..a530f54 --- /dev/null +++ b/Assets/Animations/Tumbler Animation X.25.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: bf88c4eeadacabc41a4f55e5971f126c +timeCreated: 1470084966 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Animations/Tumbler Animation X.5.anim b/Assets/Animations/Tumbler Animation X.5.anim new file mode 100644 index 0000000..af05b78 Binary files /dev/null and b/Assets/Animations/Tumbler Animation X.5.anim differ diff --git a/Assets/Animations/Tumbler Animation X.5.anim.meta b/Assets/Animations/Tumbler Animation X.5.anim.meta new file mode 100644 index 0000000..9980da4 --- /dev/null +++ b/Assets/Animations/Tumbler Animation X.5.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0b3c66d2e85861d47a87188316d75cc7 +timeCreated: 1470081403 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Animations/Tumbler Animation.anim b/Assets/Animations/Tumbler Animation.anim new file mode 100644 index 0000000..fc3caa8 Binary files /dev/null and b/Assets/Animations/Tumbler Animation.anim differ diff --git a/Assets/Animations/Tumbler Animation.anim.meta b/Assets/Animations/Tumbler Animation.anim.meta new file mode 100644 index 0000000..032d827 --- /dev/null +++ b/Assets/Animations/Tumbler Animation.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 7a2d6768ecdfa4c40a92ffd6ada2108a +timeCreated: 1467256136 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Animations/Tumbler Slot Animation Controller.controller b/Assets/Animations/Tumbler Slot Animation Controller.controller new file mode 100644 index 0000000..a390c54 Binary files /dev/null and b/Assets/Animations/Tumbler Slot Animation Controller.controller differ diff --git a/Assets/Animations/Tumbler Slot Animation Controller.controller.meta b/Assets/Animations/Tumbler Slot Animation Controller.controller.meta new file mode 100644 index 0000000..2d4a55f --- /dev/null +++ b/Assets/Animations/Tumbler Slot Animation Controller.controller.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f4085b6c6d233254da845006f65c933f +timeCreated: 1467254714 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Animations/Tumbler Slot Animation.anim b/Assets/Animations/Tumbler Slot Animation.anim new file mode 100644 index 0000000..2d6d89f Binary files /dev/null and b/Assets/Animations/Tumbler Slot Animation.anim differ diff --git a/Assets/Animations/Tumbler Slot Animation.anim.meta b/Assets/Animations/Tumbler Slot Animation.anim.meta new file mode 100644 index 0000000..5e5f7d2 --- /dev/null +++ b/Assets/Animations/Tumbler Slot Animation.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 117370e1d4edfb54d83c32b739c88ea5 +timeCreated: 1467254714 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Audio.meta b/Assets/Audio.meta new file mode 100644 index 0000000..a8817ba --- /dev/null +++ b/Assets/Audio.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: b66ec42548a880642b7a08252f948032 +folderAsset: yes +timeCreated: 1480833551 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Audio/Background Music.wav b/Assets/Audio/Background Music.wav new file mode 100644 index 0000000..724f277 Binary files /dev/null and b/Assets/Audio/Background Music.wav differ diff --git a/Assets/Audio/Background Music.wav.meta b/Assets/Audio/Background Music.wav.meta new file mode 100644 index 0000000..8363654 --- /dev/null +++ b/Assets/Audio/Background Music.wav.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 4638dfc448c7072498c55bf4a585c563 +timeCreated: 1480838622 +licenseType: Free +AudioImporter: + serializedVersion: 6 + defaultSettings: + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Audio/ButtonClick.wav b/Assets/Audio/ButtonClick.wav new file mode 100644 index 0000000..f66ba16 Binary files /dev/null and b/Assets/Audio/ButtonClick.wav differ diff --git a/Assets/Audio/ButtonClick.wav.meta b/Assets/Audio/ButtonClick.wav.meta new file mode 100644 index 0000000..0bd9905 --- /dev/null +++ b/Assets/Audio/ButtonClick.wav.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: d8828c2e7abc9204a913aba341e9636f +timeCreated: 1481434364 +licenseType: Free +AudioImporter: + serializedVersion: 6 + defaultSettings: + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Audio/Click.wav b/Assets/Audio/Click.wav new file mode 100644 index 0000000..188e84a Binary files /dev/null and b/Assets/Audio/Click.wav differ diff --git a/Assets/Audio/Click.wav.meta b/Assets/Audio/Click.wav.meta new file mode 100644 index 0000000..93d1128 --- /dev/null +++ b/Assets/Audio/Click.wav.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 697b3520d48c15841be03962880e0da3 +timeCreated: 1480833593 +licenseType: Free +AudioImporter: + serializedVersion: 6 + defaultSettings: + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Audio/End_0_Star.wav b/Assets/Audio/End_0_Star.wav new file mode 100644 index 0000000..fdd5be9 Binary files /dev/null and b/Assets/Audio/End_0_Star.wav differ diff --git a/Assets/Audio/End_0_Star.wav.meta b/Assets/Audio/End_0_Star.wav.meta new file mode 100644 index 0000000..2a65560 --- /dev/null +++ b/Assets/Audio/End_0_Star.wav.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: e94143d9c40c84942b9e02120537f487 +timeCreated: 1481440305 +licenseType: Free +AudioImporter: + serializedVersion: 6 + defaultSettings: + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Audio/End_1_Star.wav b/Assets/Audio/End_1_Star.wav new file mode 100644 index 0000000..4ef93da Binary files /dev/null and b/Assets/Audio/End_1_Star.wav differ diff --git a/Assets/Audio/End_1_Star.wav.meta b/Assets/Audio/End_1_Star.wav.meta new file mode 100644 index 0000000..f6e0906 --- /dev/null +++ b/Assets/Audio/End_1_Star.wav.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 226af926d1bddb44089b9c7ebfd5737c +timeCreated: 1481440303 +licenseType: Free +AudioImporter: + serializedVersion: 6 + defaultSettings: + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Audio/End_2_Star.wav b/Assets/Audio/End_2_Star.wav new file mode 100644 index 0000000..8745346 Binary files /dev/null and b/Assets/Audio/End_2_Star.wav differ diff --git a/Assets/Audio/End_2_Star.wav.meta b/Assets/Audio/End_2_Star.wav.meta new file mode 100644 index 0000000..b783596 --- /dev/null +++ b/Assets/Audio/End_2_Star.wav.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 5ac90240a03c84d4dba1dc0fa036a9f9 +timeCreated: 1481440304 +licenseType: Free +AudioImporter: + serializedVersion: 6 + defaultSettings: + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Audio/End_3_Star.wav b/Assets/Audio/End_3_Star.wav new file mode 100644 index 0000000..7ffbf39 Binary files /dev/null and b/Assets/Audio/End_3_Star.wav differ diff --git a/Assets/Audio/End_3_Star.wav.meta b/Assets/Audio/End_3_Star.wav.meta new file mode 100644 index 0000000..dcd137f --- /dev/null +++ b/Assets/Audio/End_3_Star.wav.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 34a2fdabc121b024fa63c135060a1856 +timeCreated: 1481440304 +licenseType: Free +AudioImporter: + serializedVersion: 6 + defaultSettings: + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Audio/Lock Turn.wav b/Assets/Audio/Lock Turn.wav new file mode 100644 index 0000000..b892c08 Binary files /dev/null and b/Assets/Audio/Lock Turn.wav differ diff --git a/Assets/Audio/Lock Turn.wav.meta b/Assets/Audio/Lock Turn.wav.meta new file mode 100644 index 0000000..3fadc34 --- /dev/null +++ b/Assets/Audio/Lock Turn.wav.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: fa272ebe4e34b3b4cb59b561ea092ec1 +timeCreated: 1480831428 +licenseType: Free +AudioImporter: + serializedVersion: 6 + defaultSettings: + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Audio/Tap1.wav b/Assets/Audio/Tap1.wav new file mode 100644 index 0000000..2d3df82 Binary files /dev/null and b/Assets/Audio/Tap1.wav differ diff --git a/Assets/Audio/Tap1.wav.meta b/Assets/Audio/Tap1.wav.meta new file mode 100644 index 0000000..489fbed --- /dev/null +++ b/Assets/Audio/Tap1.wav.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 38f165d24be8c1342a1cd560d5d43e21 +timeCreated: 1480887114 +licenseType: Free +AudioImporter: + serializedVersion: 6 + defaultSettings: + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Audio/Tap2.wav b/Assets/Audio/Tap2.wav new file mode 100644 index 0000000..89d8ee6 Binary files /dev/null and b/Assets/Audio/Tap2.wav differ diff --git a/Assets/Audio/Tap2.wav.meta b/Assets/Audio/Tap2.wav.meta new file mode 100644 index 0000000..8d19028 --- /dev/null +++ b/Assets/Audio/Tap2.wav.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 3f741e1f77ae4f044a10469cbb9e402b +timeCreated: 1480885910 +licenseType: Free +AudioImporter: + serializedVersion: 6 + defaultSettings: + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources.meta b/Assets/Resources.meta new file mode 100644 index 0000000..63b0978 --- /dev/null +++ b/Assets/Resources.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: ba8e325507817a747b62d584979ac796 +folderAsset: yes +timeCreated: 1469499309 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/Bottom Tumbler X.25.prefab b/Assets/Resources/Bottom Tumbler X.25.prefab new file mode 100644 index 0000000..0f90d96 Binary files /dev/null and b/Assets/Resources/Bottom Tumbler X.25.prefab differ diff --git a/Assets/Resources/Bottom Tumbler X.25.prefab.meta b/Assets/Resources/Bottom Tumbler X.25.prefab.meta new file mode 100644 index 0000000..21bd735 --- /dev/null +++ b/Assets/Resources/Bottom Tumbler X.25.prefab.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 7405c8adb3f791f43a52e27ebe8c05fd +timeCreated: 1470084939 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/Bottom Tumbler X.5.prefab b/Assets/Resources/Bottom Tumbler X.5.prefab new file mode 100644 index 0000000..76f761e Binary files /dev/null and b/Assets/Resources/Bottom Tumbler X.5.prefab differ diff --git a/Assets/Resources/Bottom Tumbler X.5.prefab.meta b/Assets/Resources/Bottom Tumbler X.5.prefab.meta new file mode 100644 index 0000000..f078752 --- /dev/null +++ b/Assets/Resources/Bottom Tumbler X.5.prefab.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 26ba66bb7717da549bb60863fe62d612 +timeCreated: 1470082088 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/Bottom Tumbler.prefab b/Assets/Resources/Bottom Tumbler.prefab new file mode 100644 index 0000000..4e819e6 Binary files /dev/null and b/Assets/Resources/Bottom Tumbler.prefab differ diff --git a/Assets/Resources/Bottom Tumbler.prefab.meta b/Assets/Resources/Bottom Tumbler.prefab.meta new file mode 100644 index 0000000..98ce237 --- /dev/null +++ b/Assets/Resources/Bottom Tumbler.prefab.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 198896d44df889d45a82555f196cf354 +timeCreated: 1465752141 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/Game Manager.prefab b/Assets/Resources/Game Manager.prefab new file mode 100644 index 0000000..c8bac67 Binary files /dev/null and b/Assets/Resources/Game Manager.prefab differ diff --git a/Assets/Resources/Game Manager.prefab.meta b/Assets/Resources/Game Manager.prefab.meta new file mode 100644 index 0000000..d24c959 --- /dev/null +++ b/Assets/Resources/Game Manager.prefab.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f4b97efc59a37be4f91c7d36ed01ce9e +timeCreated: 1480839224 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/Top Tumbler.prefab b/Assets/Resources/Top Tumbler.prefab new file mode 100644 index 0000000..6e29a6a Binary files /dev/null and b/Assets/Resources/Top Tumbler.prefab differ diff --git a/Assets/Resources/Top Tumbler.prefab.meta b/Assets/Resources/Top Tumbler.prefab.meta new file mode 100644 index 0000000..dd0ab54 --- /dev/null +++ b/Assets/Resources/Top Tumbler.prefab.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 85bfb500e87a0704994e6bca1768015a +timeCreated: 1465751664 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/Tumbler Slot Animation.prefab b/Assets/Resources/Tumbler Slot Animation.prefab new file mode 100644 index 0000000..23f2012 Binary files /dev/null and b/Assets/Resources/Tumbler Slot Animation.prefab differ diff --git a/Assets/Resources/Tumbler Slot Animation.prefab.meta b/Assets/Resources/Tumbler Slot Animation.prefab.meta new file mode 100644 index 0000000..ac8d92b --- /dev/null +++ b/Assets/Resources/Tumbler Slot Animation.prefab.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: a2b15dc2f66fdd545863ae8a0b4ca6bc +timeCreated: 1469589143 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/Tumbler Slot.prefab b/Assets/Resources/Tumbler Slot.prefab new file mode 100644 index 0000000..44a25f3 Binary files /dev/null and b/Assets/Resources/Tumbler Slot.prefab differ diff --git a/Assets/Resources/Tumbler Slot.prefab.meta b/Assets/Resources/Tumbler Slot.prefab.meta new file mode 100644 index 0000000..e5c6e3f --- /dev/null +++ b/Assets/Resources/Tumbler Slot.prefab.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 7add625f249d81c4aaf3d51ad2e46000 +timeCreated: 1465751497 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes.meta b/Assets/Scenes.meta new file mode 100644 index 0000000..39663ca --- /dev/null +++ b/Assets/Scenes.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 630dcbcc0d4f82640a910d3cc86fcb9b +folderAsset: yes +timeCreated: 1465752758 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/Arena.unity b/Assets/Scenes/Arena.unity new file mode 100644 index 0000000..5d43e48 Binary files /dev/null and b/Assets/Scenes/Arena.unity differ diff --git a/Assets/Scenes/Arena.unity.meta b/Assets/Scenes/Arena.unity.meta new file mode 100644 index 0000000..02ecc91 --- /dev/null +++ b/Assets/Scenes/Arena.unity.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 5529574634515404ebcddbdfb7549b57 +timeCreated: 1466122811 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/Level Select.unity b/Assets/Scenes/Level Select.unity new file mode 100644 index 0000000..90488db Binary files /dev/null and b/Assets/Scenes/Level Select.unity differ diff --git a/Assets/Scenes/Level Select.unity.meta b/Assets/Scenes/Level Select.unity.meta new file mode 100644 index 0000000..37c4d70 --- /dev/null +++ b/Assets/Scenes/Level Select.unity.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 1b3c6d69150d09b439aac0bc7bbaa893 +timeCreated: 1466637894 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/Menu.unity b/Assets/Scenes/Menu.unity new file mode 100644 index 0000000..07a927d Binary files /dev/null and b/Assets/Scenes/Menu.unity differ diff --git a/Assets/Scenes/Menu.unity.meta b/Assets/Scenes/Menu.unity.meta new file mode 100644 index 0000000..b955786 --- /dev/null +++ b/Assets/Scenes/Menu.unity.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 09f43d03ba87d9a49a8d2bd27af24b9d +timeCreated: 1466026538 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts.meta b/Assets/Scripts.meta new file mode 100644 index 0000000..113e16c --- /dev/null +++ b/Assets/Scripts.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: e605238ea2f3def4b9495a8b8d50e557 +folderAsset: yes +timeCreated: 1465749473 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/BackgroundController.cs b/Assets/Scripts/BackgroundController.cs new file mode 100644 index 0000000..ecf1716 --- /dev/null +++ b/Assets/Scripts/BackgroundController.cs @@ -0,0 +1,15 @@ +using UnityEngine; +using System.Collections; + +public class BackgroundController : MonoBehaviour { + + void Start () + { + float height = Camera.main.orthographicSize * 2; + float width = height * Camera.main.aspect; + + transform.localScale = new Vector2(width / GetComponent().bounds.size.x, 1); + transform.position = Camera.main.ViewportToWorldPoint(new Vector3(.5f, .5f, 10)); + } + +} diff --git a/Assets/Scripts/BackgroundController.cs.meta b/Assets/Scripts/BackgroundController.cs.meta new file mode 100644 index 0000000..8a90628 --- /dev/null +++ b/Assets/Scripts/BackgroundController.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 891e8243f1e7e2a45a81172900ea1941 +timeCreated: 1466472688 +licenseType: Free +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/BottomTumblerController.cs b/Assets/Scripts/BottomTumblerController.cs new file mode 100644 index 0000000..c36603a --- /dev/null +++ b/Assets/Scripts/BottomTumblerController.cs @@ -0,0 +1,20 @@ +using UnityEngine; +using System.Collections; + +public class BottomTumblerController : MonoBehaviour { + + public float scaleMax; + public float scaleMin; + private GameObject chamber; + + void Start() + { + chamber = GameObject.Find("Chamber"); + + transform.localScale = chamber.transform.localScale; + transform.position = Camera.main.ViewportToWorldPoint(new Vector3(.53f, .4963f, 10)); + } + + + +} diff --git a/Assets/Scripts/BottomTumblerController.cs.meta b/Assets/Scripts/BottomTumblerController.cs.meta new file mode 100644 index 0000000..bb0d1a9 --- /dev/null +++ b/Assets/Scripts/BottomTumblerController.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: b3a8ea245ac6eac488ece9d8228066a3 +timeCreated: 1465757993 +licenseType: Free +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/ChamberController.cs b/Assets/Scripts/ChamberController.cs new file mode 100644 index 0000000..06dc111 --- /dev/null +++ b/Assets/Scripts/ChamberController.cs @@ -0,0 +1,150 @@ +using UnityEngine; +using System.Collections; +using UnityEngine.UI; + +public class ChamberController : MonoBehaviour { + + public bool tumblerCheck = false; + public bool pauseCheck = false; + public bool doneCheck = false; + + public GameObject end; + public GameObject next; + public GameObject timer; + public GameObject handle; + public GameObject instructions; + + public AudioSource endAudio0; + public AudioSource endAudio1; + public AudioSource endAudio2; + public AudioSource endAudio3; + void Awake() + { + float height = Camera.main.orthographicSize * 2; + float width = height * Camera.main.aspect; + + transform.localScale = new Vector2((width * .3878f) / GetComponent().bounds.size.x, 1); + + Vector3 k = GetComponent().bounds.size; + transform.position = Camera.main.ViewportToWorldPoint(new Vector3(1f, 0f, 10)); + transform.position = new Vector3(transform.position.x - (k.x / 2), transform.position.y + (k.y / 2)); + } + + void Start() + { + foreach (Tumbler tumbler in GameManager.Instance.levelData) + { + GameObject slot = (GameObject)Instantiate(Resources.Load("Tumbler Slot"), new Vector3(tumbler.x, tumbler.slotY, 0), Quaternion.identity); + slot.name = "Slot " + tumbler.ID; + slot.transform.parent = GameObject.Find("Tumbler Slots").transform; + + GameObject anim = (GameObject)Instantiate(Resources.Load("Tumbler Slot Animation"), new Vector3(tumbler.x, tumbler.slotY, 0), Quaternion.identity); + anim.name = "Animation " + tumbler.ID; + anim.transform.parent = slot.transform.parent; + + string botInstance = ""; + switch (tumbler.bottomScale) + { + case 0: + botInstance = "Bottom Tumbler"; + break; + case 1: + botInstance = "Bottom Tumbler X.5"; + break; + case 2: + botInstance = "Bottom Tumbler X.25"; + break; + } + GameObject bottom = (GameObject)Instantiate(Resources.Load(botInstance), new Vector3(tumbler.x, tumbler.bottomY, 0), Quaternion.identity); + bottom.GetComponent().SetInteger("Scale", tumbler.bottomScale); + switch (tumbler.bottomWeight) + { + case 0: + bottom.GetComponent().color = GameManager.Instance.lightColor; + bottom.GetComponent().gravityScale = 0.3f; + break; + case 2: + bottom.GetComponent().color = GameManager.Instance.heavyColor; + bottom.GetComponent().gravityScale = 50f; + break; + } + bottom.name = "Bottom Tumbler " + tumbler.ID; + bottom.transform.parent = GameObject.Find("Bottom Tumblers").transform; + + GameObject top = (GameObject)Instantiate(Resources.Load("Top Tumbler"), new Vector3(tumbler.x, tumbler.topY, 0), Quaternion.identity); + top.name = "Top Tumbler " + tumbler.ID; + if (tumbler.topFall == 1) + { + top.GetComponent().topFall = true; + } + top.transform.SetParent(GameObject.Find("Top Tumblers").transform); + } + gameObject.GetComponent().color = GameManager.Instance.chamberColor; + handle.GetComponent().color = GameManager.Instance.chamberColor; + if (GameManager.Instance.levelData.ID == "L_1") + { + instructions.SetActive(true); + } + } + + public void End() + { + end.SetActive(true); + Time.timeScale = 0; + + int stars = timer.GetComponent().stars; + switch (stars) + { + case 0: + endAudio0.Play(); + GameObject.Find("Star 1").SetActive(false); + GameObject.Find("Star 2").SetActive(false); + GameObject.Find("Star 3").SetActive(false); + if (GameManager.Instance.CheckNextLevelOpen() && GameManager.Instance.levelData.ID != "L_24") + { + GameObject.Find("Next Dark").SetActive(false); + GameObject.Find("Next").GetComponent