diff --git a/Puzzle/Assets/Assets.html b/Puzzle/Assets/Assets.html new file mode 100644 index 0000000..4401099 --- /dev/null +++ b/Puzzle/Assets/Assets.html @@ -0,0 +1,136 @@ + + + + + Unity Web Player | Puzzle + + + + + + +

Unity Web Player | Puzzle

+
+
+
+ + Unity Web Player. Install now! + +
+
+ + Unity Web Player. Install now! Restart your browser after install. + +
+
+
+ + + diff --git a/Puzzle/Assets/Assets.html.meta b/Puzzle/Assets/Assets.html.meta new file mode 100644 index 0000000..43d3e50 --- /dev/null +++ b/Puzzle/Assets/Assets.html.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: a03c2e41eab8b8d43ae8e2be1609f430 +timeCreated: 1444122041 +licenseType: Free +TextScriptImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Assets.unity3d b/Puzzle/Assets/Assets.unity3d new file mode 100644 index 0000000..3215a0b Binary files /dev/null and b/Puzzle/Assets/Assets.unity3d differ diff --git a/Puzzle/Assets/Assets.unity3d.meta b/Puzzle/Assets/Assets.unity3d.meta new file mode 100644 index 0000000..7d386d4 --- /dev/null +++ b/Puzzle/Assets/Assets.unity3d.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 27527f764cb76e54db463b8f3c049016 +timeCreated: 1444122041 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Elven_Sword.meta b/Puzzle/Assets/Elven_Sword.meta new file mode 100644 index 0000000..2e378b4 --- /dev/null +++ b/Puzzle/Assets/Elven_Sword.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 16dba64e9ed7ec84bbd4034690364807 +folderAsset: yes +timeCreated: 1443825100 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Elven_Sword/Materials.meta b/Puzzle/Assets/Elven_Sword/Materials.meta new file mode 100644 index 0000000..ff17dfc --- /dev/null +++ b/Puzzle/Assets/Elven_Sword/Materials.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 560d93659cf20f34598ee407e8348020 +folderAsset: yes +timeCreated: 1443825100 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Elven_Sword/Materials/Elven_Sword_01.mat b/Puzzle/Assets/Elven_Sword/Materials/Elven_Sword_01.mat new file mode 100644 index 0000000..ffe3356 Binary files /dev/null and b/Puzzle/Assets/Elven_Sword/Materials/Elven_Sword_01.mat differ diff --git a/Puzzle/Assets/Elven_Sword/Materials/Elven_Sword_01.mat.meta b/Puzzle/Assets/Elven_Sword/Materials/Elven_Sword_01.mat.meta new file mode 100644 index 0000000..b6fd26c --- /dev/null +++ b/Puzzle/Assets/Elven_Sword/Materials/Elven_Sword_01.mat.meta @@ -0,0 +1,4 @@ +fileFormatVersion: 2 +guid: af3e814047a2aba4a8393fd88483f0d7 +NativeFormatImporter: + userData: diff --git a/Puzzle/Assets/Elven_Sword/Materials/defaultMat.mat b/Puzzle/Assets/Elven_Sword/Materials/defaultMat.mat new file mode 100644 index 0000000..4d80993 Binary files /dev/null and b/Puzzle/Assets/Elven_Sword/Materials/defaultMat.mat differ diff --git a/Puzzle/Assets/Elven_Sword/Materials/defaultMat.mat.meta b/Puzzle/Assets/Elven_Sword/Materials/defaultMat.mat.meta new file mode 100644 index 0000000..609c967 --- /dev/null +++ b/Puzzle/Assets/Elven_Sword/Materials/defaultMat.mat.meta @@ -0,0 +1,4 @@ +fileFormatVersion: 2 +guid: c22b99b8dc2366c4ba93d5e1a9d26599 +NativeFormatImporter: + userData: diff --git a/Puzzle/Assets/Elven_Sword/Meshes.meta b/Puzzle/Assets/Elven_Sword/Meshes.meta new file mode 100644 index 0000000..1995c08 --- /dev/null +++ b/Puzzle/Assets/Elven_Sword/Meshes.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: ed47577a32ef6324b80b993cab81b8f7 +folderAsset: yes +timeCreated: 1443825100 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Elven_Sword/Meshes/Elven_Sword_01.obj.meta b/Puzzle/Assets/Elven_Sword/Meshes/Elven_Sword_01.obj.meta new file mode 100644 index 0000000..0bdbb10 --- /dev/null +++ b/Puzzle/Assets/Elven_Sword/Meshes/Elven_Sword_01.obj.meta @@ -0,0 +1,67 @@ +fileFormatVersion: 2 +guid: 9949e7e2b3aef594c9b6839202d497dc +ModelImporter: + serializedVersion: 16 + fileIDToRecycleName: + 100000: default + 100002: //RootNode + 400000: default + 400002: //RootNode + 2300000: default + 3300000: default + 4300000: default + 9500000: //RootNode + materials: + importMaterials: 1 + materialName: 0 + materialSearch: 1 + animations: + legacyGenerateAnimations: 4 + bakeSimulation: 0 + optimizeGameObjects: 0 + motionNodeName: + animationCompression: 1 + animationRotationError: .5 + animationPositionError: .5 + animationScaleError: .5 + animationWrapMode: 0 + extraExposedTransformPaths: [] + clipAnimations: [] + isReadable: 1 + meshes: + lODScreenPercentages: [] + globalScale: 1 + meshCompression: 0 + addColliders: 0 + importBlendShapes: 1 + swapUVChannels: 0 + generateSecondaryUV: 0 + useFileUnits: 1 + optimizeMeshForGPU: 1 + weldVertices: 1 + secondaryUVAngleDistortion: 8 + secondaryUVAreaDistortion: 15.000001 + secondaryUVHardAngle: 88 + secondaryUVPackMargin: 4 + tangentSpace: + normalSmoothAngle: 60 + splitTangentsAcrossUV: 1 + normalImportMode: 0 + tangentImportMode: 1 + importAnimation: 1 + copyAvatar: 0 + humanDescription: + human: [] + skeleton: [] + armTwist: .5 + foreArmTwist: .5 + upperLegTwist: .5 + legTwist: .5 + armStretch: .0500000007 + legStretch: .0500000007 + feetSpacing: 0 + rootMotionBoneName: + lastHumanDescriptionAvatarSource: {instanceID: 0} + animationType: 2 + additionalBone: 0 + userData: diff --git a/Puzzle/Assets/Elven_Sword/Prefabs.meta b/Puzzle/Assets/Elven_Sword/Prefabs.meta new file mode 100644 index 0000000..b047c89 --- /dev/null +++ b/Puzzle/Assets/Elven_Sword/Prefabs.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 5895df79331919c47ac66216f4655fb0 +folderAsset: yes +timeCreated: 1443825100 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Elven_Sword/Prefabs/Elven_Sword_01.prefab b/Puzzle/Assets/Elven_Sword/Prefabs/Elven_Sword_01.prefab new file mode 100644 index 0000000..2cd4925 Binary files /dev/null and b/Puzzle/Assets/Elven_Sword/Prefabs/Elven_Sword_01.prefab differ diff --git a/Puzzle/Assets/Elven_Sword/Prefabs/Elven_Sword_01.prefab.meta b/Puzzle/Assets/Elven_Sword/Prefabs/Elven_Sword_01.prefab.meta new file mode 100644 index 0000000..4726933 --- /dev/null +++ b/Puzzle/Assets/Elven_Sword/Prefabs/Elven_Sword_01.prefab.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e608e3bb17dc020489835bb64f6bf570 +timeCreated: 1432702740 +licenseType: Store +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Elven_Sword/ReadMe.txt b/Puzzle/Assets/Elven_Sword/ReadMe.txt new file mode 100644 index 0000000..1d26dc5 --- /dev/null +++ b/Puzzle/Assets/Elven_Sword/ReadMe.txt @@ -0,0 +1,5 @@ +A low-poly sword with a hand-painted texture. + +Polycount (tris): 404 + +Texture size: 256 x 512 \ No newline at end of file diff --git a/Puzzle/Assets/Elven_Sword/ReadMe.txt.meta b/Puzzle/Assets/Elven_Sword/ReadMe.txt.meta new file mode 100644 index 0000000..b87be97 --- /dev/null +++ b/Puzzle/Assets/Elven_Sword/ReadMe.txt.meta @@ -0,0 +1,4 @@ +fileFormatVersion: 2 +guid: 45e9f7d2018dde04ba7f27c95e325ae4 +TextScriptImporter: + userData: diff --git a/Puzzle/Assets/Elven_Sword/Textures.meta b/Puzzle/Assets/Elven_Sword/Textures.meta new file mode 100644 index 0000000..f966cd0 --- /dev/null +++ b/Puzzle/Assets/Elven_Sword/Textures.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: dee187929ce949d4c944196610aa1115 +folderAsset: yes +timeCreated: 1443825100 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Elven_Sword/Textures/Elven_Sword.psd b/Puzzle/Assets/Elven_Sword/Textures/Elven_Sword.psd new file mode 100644 index 0000000..11d29e5 Binary files /dev/null and b/Puzzle/Assets/Elven_Sword/Textures/Elven_Sword.psd differ diff --git a/Puzzle/Assets/Elven_Sword/Textures/Elven_Sword.psd.meta b/Puzzle/Assets/Elven_Sword/Textures/Elven_Sword.psd.meta new file mode 100644 index 0000000..aa690aa --- /dev/null +++ b/Puzzle/Assets/Elven_Sword/Textures/Elven_Sword.psd.meta @@ -0,0 +1,53 @@ +fileFormatVersion: 2 +guid: 379cc7669b302584e99fec5c3946f3b7 +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 2 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + linearTexture: 0 + correctGamma: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: .25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 0 + cubemapConvolution: 0 + cubemapConvolutionSteps: 8 + cubemapConvolutionExponent: 1.5 + seamlessCubemap: 0 + textureFormat: -3 + maxTextureSize: 512 + textureSettings: + filterMode: -1 + aniso: 3 + mipBias: -1 + wrapMode: -1 + nPOTScale: 1 + lightmap: 0 + rGBM: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: .5, y: .5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaIsTransparency: 0 + textureType: -1 + buildTargetSettings: [] + spriteSheet: + sprites: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Labyrinth Lord Enemy Character Sheet.jpg b/Puzzle/Assets/Labyrinth Lord Enemy Character Sheet.jpg new file mode 100644 index 0000000..df1e2a9 Binary files /dev/null and b/Puzzle/Assets/Labyrinth Lord Enemy Character Sheet.jpg differ diff --git a/Puzzle/Assets/Labyrinth Lord Enemy Character Sheet.jpg.meta b/Puzzle/Assets/Labyrinth Lord Enemy Character Sheet.jpg.meta new file mode 100644 index 0000000..7d43cad --- /dev/null +++ b/Puzzle/Assets/Labyrinth Lord Enemy Character Sheet.jpg.meta @@ -0,0 +1,56 @@ +fileFormatVersion: 2 +guid: 889a411f30489494ea83651d2e637d41 +timeCreated: 1444106778 +licenseType: Free +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 2 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + linearTexture: 0 + correctGamma: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: .25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 0 + cubemapConvolution: 0 + cubemapConvolutionSteps: 8 + cubemapConvolutionExponent: 1.5 + seamlessCubemap: 0 + textureFormat: -1 + maxTextureSize: 2048 + textureSettings: + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapMode: -1 + nPOTScale: 1 + lightmap: 0 + rGBM: 0 + compressionQuality: 50 + allowsAlphaSplitting: 0 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: .5, y: .5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaIsTransparency: 0 + textureType: -1 + buildTargetSettings: [] + spriteSheet: + sprites: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Labyrinth Lord Player Character Sheet.jpg b/Puzzle/Assets/Labyrinth Lord Player Character Sheet.jpg new file mode 100644 index 0000000..b29c3d5 Binary files /dev/null and b/Puzzle/Assets/Labyrinth Lord Player Character Sheet.jpg differ diff --git a/Puzzle/Assets/Labyrinth Lord Player Character Sheet.jpg.meta b/Puzzle/Assets/Labyrinth Lord Player Character Sheet.jpg.meta new file mode 100644 index 0000000..378c04e --- /dev/null +++ b/Puzzle/Assets/Labyrinth Lord Player Character Sheet.jpg.meta @@ -0,0 +1,56 @@ +fileFormatVersion: 2 +guid: 1785ca8e450a8dd4a8b056f508a2750c +timeCreated: 1444099508 +licenseType: Free +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 2 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + linearTexture: 0 + correctGamma: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: .25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 0 + cubemapConvolution: 0 + cubemapConvolutionSteps: 8 + cubemapConvolutionExponent: 1.5 + seamlessCubemap: 0 + textureFormat: -1 + maxTextureSize: 2048 + textureSettings: + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapMode: -1 + nPOTScale: 1 + lightmap: 0 + rGBM: 0 + compressionQuality: 50 + allowsAlphaSplitting: 0 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: .5, y: .5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaIsTransparency: 0 + textureType: -1 + buildTargetSettings: [] + spriteSheet: + sprites: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Material.meta b/Puzzle/Assets/Material.meta new file mode 100644 index 0000000..4c67db9 --- /dev/null +++ b/Puzzle/Assets/Material.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: f07bbb43cdf499a429ab397ef8d98f86 +folderAsset: yes +timeCreated: 1443827477 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Material/Blue.mat b/Puzzle/Assets/Material/Blue.mat new file mode 100644 index 0000000..7f6d4d6 Binary files /dev/null and b/Puzzle/Assets/Material/Blue.mat differ diff --git a/Puzzle/Assets/Material/Blue.mat.meta b/Puzzle/Assets/Material/Blue.mat.meta new file mode 100644 index 0000000..c49a435 --- /dev/null +++ b/Puzzle/Assets/Material/Blue.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8751cae708e4ef442a64f54705d29430 +timeCreated: 1443826330 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Material/Brown.mat b/Puzzle/Assets/Material/Brown.mat new file mode 100644 index 0000000..a7b01c3 Binary files /dev/null and b/Puzzle/Assets/Material/Brown.mat differ diff --git a/Puzzle/Assets/Material/Brown.mat.meta b/Puzzle/Assets/Material/Brown.mat.meta new file mode 100644 index 0000000..484de0f --- /dev/null +++ b/Puzzle/Assets/Material/Brown.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: dcf28728a1dc4594c8fffbf4d2a882d0 +timeCreated: 1443825301 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Material/Green.mat b/Puzzle/Assets/Material/Green.mat new file mode 100644 index 0000000..7162933 Binary files /dev/null and b/Puzzle/Assets/Material/Green.mat differ diff --git a/Puzzle/Assets/Material/Green.mat.meta b/Puzzle/Assets/Material/Green.mat.meta new file mode 100644 index 0000000..6028580 --- /dev/null +++ b/Puzzle/Assets/Material/Green.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c40a09fed74b3f0448c32a992581e809 +timeCreated: 1443826302 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Material/Red.mat b/Puzzle/Assets/Material/Red.mat new file mode 100644 index 0000000..9a04655 Binary files /dev/null and b/Puzzle/Assets/Material/Red.mat differ diff --git a/Puzzle/Assets/Material/Red.mat.meta b/Puzzle/Assets/Material/Red.mat.meta new file mode 100644 index 0000000..8efdfa7 --- /dev/null +++ b/Puzzle/Assets/Material/Red.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 822b096009cd73240bbd3c8ae852e6b3 +timeCreated: 1443825272 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Materials.meta b/Puzzle/Assets/Materials.meta new file mode 100644 index 0000000..b669ec8 --- /dev/null +++ b/Puzzle/Assets/Materials.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: e131d49026d59574eabbdb529aa42724 +folderAsset: yes +timeCreated: 1444099759 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Materials/Labyrinth Lord Enemy Character Sheet 1.mat b/Puzzle/Assets/Materials/Labyrinth Lord Enemy Character Sheet 1.mat new file mode 100644 index 0000000..1aaa882 Binary files /dev/null and b/Puzzle/Assets/Materials/Labyrinth Lord Enemy Character Sheet 1.mat differ diff --git a/Puzzle/Assets/Materials/Labyrinth Lord Enemy Character Sheet 1.mat.meta b/Puzzle/Assets/Materials/Labyrinth Lord Enemy Character Sheet 1.mat.meta new file mode 100644 index 0000000..8d7c4de --- /dev/null +++ b/Puzzle/Assets/Materials/Labyrinth Lord Enemy Character Sheet 1.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 2db9f5be8a452a3479bc89898a45aa8e +timeCreated: 1444106780 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Materials/Labyrinth Lord Enemy Character Sheet 2.mat b/Puzzle/Assets/Materials/Labyrinth Lord Enemy Character Sheet 2.mat new file mode 100644 index 0000000..1385f17 Binary files /dev/null and b/Puzzle/Assets/Materials/Labyrinth Lord Enemy Character Sheet 2.mat differ diff --git a/Puzzle/Assets/Materials/Labyrinth Lord Enemy Character Sheet 2.mat.meta b/Puzzle/Assets/Materials/Labyrinth Lord Enemy Character Sheet 2.mat.meta new file mode 100644 index 0000000..a175088 --- /dev/null +++ b/Puzzle/Assets/Materials/Labyrinth Lord Enemy Character Sheet 2.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e4e48108d96a8194da5ee9c5847e54d0 +timeCreated: 1444106782 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Materials/Labyrinth Lord Enemy Character Sheet.mat b/Puzzle/Assets/Materials/Labyrinth Lord Enemy Character Sheet.mat new file mode 100644 index 0000000..0da9b58 Binary files /dev/null and b/Puzzle/Assets/Materials/Labyrinth Lord Enemy Character Sheet.mat differ diff --git a/Puzzle/Assets/Materials/Labyrinth Lord Enemy Character Sheet.mat.meta b/Puzzle/Assets/Materials/Labyrinth Lord Enemy Character Sheet.mat.meta new file mode 100644 index 0000000..c758c64 --- /dev/null +++ b/Puzzle/Assets/Materials/Labyrinth Lord Enemy Character Sheet.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 668b2f137a342914685567c371898d1e +timeCreated: 1444099759 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Materials/Labyrinth Lord Player Character Sheet.mat b/Puzzle/Assets/Materials/Labyrinth Lord Player Character Sheet.mat new file mode 100644 index 0000000..70aae46 Binary files /dev/null and b/Puzzle/Assets/Materials/Labyrinth Lord Player Character Sheet.mat differ diff --git a/Puzzle/Assets/Materials/Labyrinth Lord Player Character Sheet.mat.meta b/Puzzle/Assets/Materials/Labyrinth Lord Player Character Sheet.mat.meta new file mode 100644 index 0000000..fd07f14 --- /dev/null +++ b/Puzzle/Assets/Materials/Labyrinth Lord Player Character Sheet.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c4adcf6a9f8d8ba458bd8dbd0b12c4d1 +timeCreated: 1444099769 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Puzzle.unity b/Puzzle/Assets/Puzzle.unity new file mode 100644 index 0000000..7482e3a Binary files /dev/null and b/Puzzle/Assets/Puzzle.unity differ diff --git a/Puzzle/Assets/Puzzle.unity.meta b/Puzzle/Assets/Puzzle.unity.meta new file mode 100644 index 0000000..b73af1a --- /dev/null +++ b/Puzzle/Assets/Puzzle.unity.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: a4b398d44144d42419bc21f61c042e10 +timeCreated: 1443828526 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Robot Kyle.meta b/Puzzle/Assets/Robot Kyle.meta new file mode 100644 index 0000000..fb51a4a --- /dev/null +++ b/Puzzle/Assets/Robot Kyle.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 28d8dd5522fee5748922e16b38251483 +folderAsset: yes +timeCreated: 1444116584 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Robot Kyle/Materials.meta b/Puzzle/Assets/Robot Kyle/Materials.meta new file mode 100644 index 0000000..5509ae2 --- /dev/null +++ b/Puzzle/Assets/Robot Kyle/Materials.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: e5fd508c3e37c48299886fc24fff49c1 +folderAsset: yes +timeCreated: 1444116584 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Robot Kyle/Materials/Robot_Color.mat b/Puzzle/Assets/Robot Kyle/Materials/Robot_Color.mat new file mode 100644 index 0000000..9fb4d33 Binary files /dev/null and b/Puzzle/Assets/Robot Kyle/Materials/Robot_Color.mat differ diff --git a/Puzzle/Assets/Robot Kyle/Materials/Robot_Color.mat.meta b/Puzzle/Assets/Robot Kyle/Materials/Robot_Color.mat.meta new file mode 100644 index 0000000..c64014d --- /dev/null +++ b/Puzzle/Assets/Robot Kyle/Materials/Robot_Color.mat.meta @@ -0,0 +1,6 @@ +fileFormatVersion: 2 +guid: 0aa851515cd3747d6b3b3e461199a2ed +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Robot Kyle/Model.meta b/Puzzle/Assets/Robot Kyle/Model.meta new file mode 100644 index 0000000..3b23502 --- /dev/null +++ b/Puzzle/Assets/Robot Kyle/Model.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 7fed4106219f345ba8957ddcac79815a +folderAsset: yes +timeCreated: 1444116584 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Robot Kyle/Model/Robot Kyle.fbx b/Puzzle/Assets/Robot Kyle/Model/Robot Kyle.fbx new file mode 100644 index 0000000..ce78d21 Binary files /dev/null and b/Puzzle/Assets/Robot Kyle/Model/Robot Kyle.fbx differ diff --git a/Puzzle/Assets/Robot Kyle/Model/Robot Kyle.fbx.meta b/Puzzle/Assets/Robot Kyle/Model/Robot Kyle.fbx.meta new file mode 100644 index 0000000..f8659f8 --- /dev/null +++ b/Puzzle/Assets/Robot Kyle/Model/Robot Kyle.fbx.meta @@ -0,0 +1,70 @@ +fileFormatVersion: 2 +guid: 320b1c2af77554f99a1658df4a6d3d5c +ModelImporter: + serializedVersion: 18 + fileIDToRecycleName: + 4300000: Robot2 + materials: + importMaterials: 1 + materialName: 0 + materialSearch: 1 + animations: + legacyGenerateAnimations: 4 + bakeSimulation: 0 + optimizeGameObjects: 0 + motionNodeName: + animationImportErrors: + animationImportWarnings: + animationRetargetingWarnings: + animationDoRetargetingWarnings: 0 + animationCompression: 1 + animationRotationError: .5 + animationPositionError: .5 + animationScaleError: .5 + animationWrapMode: 0 + extraExposedTransformPaths: [] + clipAnimations: [] + isReadable: 1 + meshes: + lODScreenPercentages: [] + globalScale: .00999999978 + meshCompression: 0 + addColliders: 0 + importBlendShapes: 1 + swapUVChannels: 0 + generateSecondaryUV: 0 + useFileUnits: 1 + optimizeMeshForGPU: 1 + keepQuads: 0 + weldVertices: 1 + secondaryUVAngleDistortion: 8 + secondaryUVAreaDistortion: 15.000001 + secondaryUVHardAngle: 88 + secondaryUVPackMargin: 4 + useFileScale: 0 + tangentSpace: + normalSmoothAngle: 60 + splitTangentsAcrossUV: 1 + normalImportMode: 0 + tangentImportMode: 1 + importAnimation: 1 + copyAvatar: 0 + humanDescription: + human: [] + skeleton: [] + armTwist: .5 + foreArmTwist: .5 + upperLegTwist: .5 + legTwist: .5 + armStretch: .0500000007 + legStretch: .0500000007 + feetSpacing: 0 + rootMotionBoneName: + hasTranslationDoF: 0 + lastHumanDescriptionAvatarSource: {instanceID: 0} + animationType: 1 + humanoidOversampling: 1 + additionalBone: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Robot Kyle/Textures.meta b/Puzzle/Assets/Robot Kyle/Textures.meta new file mode 100644 index 0000000..f7cce44 --- /dev/null +++ b/Puzzle/Assets/Robot Kyle/Textures.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 1ad884e3b6d9c4d85a91ca91c66a540a +folderAsset: yes +timeCreated: 1444116584 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Robot Kyle/Textures/Robot_Color.tga b/Puzzle/Assets/Robot Kyle/Textures/Robot_Color.tga new file mode 100644 index 0000000..6998fa3 Binary files /dev/null and b/Puzzle/Assets/Robot Kyle/Textures/Robot_Color.tga differ diff --git a/Puzzle/Assets/Robot Kyle/Textures/Robot_Color.tga.meta b/Puzzle/Assets/Robot Kyle/Textures/Robot_Color.tga.meta new file mode 100644 index 0000000..ed5d2da --- /dev/null +++ b/Puzzle/Assets/Robot Kyle/Textures/Robot_Color.tga.meta @@ -0,0 +1,54 @@ +fileFormatVersion: 2 +guid: 0a0e8af2869fa45f78e25460db578482 +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 2 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + linearTexture: 0 + correctGamma: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: .25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 0 + cubemapConvolution: 0 + cubemapConvolutionSteps: 8 + cubemapConvolutionExponent: 1.5 + seamlessCubemap: 0 + textureFormat: -1 + maxTextureSize: 1024 + textureSettings: + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapMode: -1 + nPOTScale: 1 + lightmap: 0 + rGBM: 0 + compressionQuality: 50 + allowsAlphaSplitting: 0 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: .5, y: .5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaIsTransparency: 0 + textureType: -1 + buildTargetSettings: [] + spriteSheet: + sprites: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Robot Kyle/Textures/Robot_Normal.tga b/Puzzle/Assets/Robot Kyle/Textures/Robot_Normal.tga new file mode 100644 index 0000000..b85ef1e Binary files /dev/null and b/Puzzle/Assets/Robot Kyle/Textures/Robot_Normal.tga differ diff --git a/Puzzle/Assets/Robot Kyle/Textures/Robot_Normal.tga.meta b/Puzzle/Assets/Robot Kyle/Textures/Robot_Normal.tga.meta new file mode 100644 index 0000000..d1c48e2 --- /dev/null +++ b/Puzzle/Assets/Robot Kyle/Textures/Robot_Normal.tga.meta @@ -0,0 +1,54 @@ +fileFormatVersion: 2 +guid: 94c473c9137744d7eabd829f1150da8d +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 2 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + linearTexture: 1 + correctGamma: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 1 + heightScale: .25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 0 + cubemapConvolution: 0 + cubemapConvolutionSteps: 8 + cubemapConvolutionExponent: 1.5 + seamlessCubemap: 0 + textureFormat: -1 + maxTextureSize: 1024 + textureSettings: + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapMode: -1 + nPOTScale: 1 + lightmap: 0 + rGBM: 0 + compressionQuality: 50 + allowsAlphaSplitting: 0 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: .5, y: .5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaIsTransparency: 0 + textureType: 1 + buildTargetSettings: [] + spriteSheet: + sprites: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Scripts.meta b/Puzzle/Assets/Scripts.meta new file mode 100644 index 0000000..1536e46 --- /dev/null +++ b/Puzzle/Assets/Scripts.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: d05cb03efd4b0f649a8c267c527a6b8f +folderAsset: yes +timeCreated: 1443827490 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Scripts/AEnemyDied.cs b/Puzzle/Assets/Scripts/AEnemyDied.cs new file mode 100644 index 0000000..456edd9 --- /dev/null +++ b/Puzzle/Assets/Scripts/AEnemyDied.cs @@ -0,0 +1,30 @@ +using UnityEngine; +using System.Collections; +using UnityEngine.UI; + +public class AEnemyDied : MonoBehaviour { + + void Update () { + superawesome (); + + + } + + void superawesome () + { + GameObject Player = GameObject.Find ("Player"); + CharMove CharMove = Player.GetComponent (); + + if (CharMove.AEnemy <= 0) { + Destroy (gameObject); + } + + if (CharMove.Room != 7) { + GetComponent ().enabled = false; + } else if (CharMove.Room == 7) { + GetComponent().enabled = true; + } + + + } +} \ No newline at end of file diff --git a/Puzzle/Assets/Scripts/AEnemyDied.cs.meta b/Puzzle/Assets/Scripts/AEnemyDied.cs.meta new file mode 100644 index 0000000..785afd5 --- /dev/null +++ b/Puzzle/Assets/Scripts/AEnemyDied.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 29d2e8a02e612c84cbff03fec4e997eb +timeCreated: 1444111305 +licenseType: Free +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Scripts/BEnemyDead.cs b/Puzzle/Assets/Scripts/BEnemyDead.cs new file mode 100644 index 0000000..2f93f80 --- /dev/null +++ b/Puzzle/Assets/Scripts/BEnemyDead.cs @@ -0,0 +1,30 @@ +using UnityEngine; +using System.Collections; +using UnityEngine.UI; + +public class BEnemyDead : MonoBehaviour { + + void Update () { + superawesomesauce (); + + + } + + void superawesomesauce () + { + GameObject Player = GameObject.Find ("Player"); + CharMove CharMove = Player.GetComponent (); + + if (CharMove.BEnemy <= 0) { + Destroy (gameObject); + } + + if (CharMove.Room != 9) { + GetComponent ().enabled = false; + } else if (CharMove.Room == 9 && CharMove.BEnemy != 0 && transform.eulerAngles.y == 0) { + GetComponent().enabled = true; + } + + + } +} diff --git a/Puzzle/Assets/Scripts/BEnemyDead.cs.meta b/Puzzle/Assets/Scripts/BEnemyDead.cs.meta new file mode 100644 index 0000000..6364a1f --- /dev/null +++ b/Puzzle/Assets/Scripts/BEnemyDead.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 24c71885b253de04ca321b0f1de308df +timeCreated: 1444114954 +licenseType: Free +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Scripts/CharMove.cs b/Puzzle/Assets/Scripts/CharMove.cs new file mode 100644 index 0000000..331a873 --- /dev/null +++ b/Puzzle/Assets/Scripts/CharMove.cs @@ -0,0 +1,224 @@ +using UnityEngine; +using System.Collections; +using UnityEngine.UI; + +public class CharMove : MonoBehaviour +{ + public float Room; + public float Look; + public float AccessNumber = 0f; + + public float Health; + public string healthString; + public Text textHealth; + + public float Damage; + public string damageString; + public Text textDamage; + + public float Sword; + + public float level; + public string levelString; + public Text textlevel; + + public float AEnemy; + public string aenemyString; + public Text textaenemy; + + public float ADamage; + public string adamageString; + public Text textadamage; + + public float BEnemy; + public string benemyString; + public Text textbenemy; + + public float BDamage; + public string bdamageString; + public Text textbdamage; + + public float EnemyKilled; + + public float bonus; + public float talk; + // Use this for initialization + void Start () + { + AccessNumber = 0; + Room = 0; + transform.position = new Vector3 (0, 2, -5); + Health = 10; + Damage = 1; + Sword = 0; + AEnemy = 4; + BEnemy = 30; + level = 0; + ADamage = 2; + BDamage = 7; + EnemyKilled = 0; + bonus = 0; + talk = 1; + } + + // Update is called once per frame + void Update () + { + charactermovement (); + Debug.Log (talk); + } + + void charactermovement () + { + healthString = Health.ToString(); + textHealth.text = healthString; + + damageString = Damage.ToString (); + textDamage.text = damageString; + + aenemyString = AEnemy.ToString (); + textaenemy.text = aenemyString; + + adamageString = ADamage.ToString (); + textadamage.text = adamageString; + + benemyString = BEnemy.ToString (); + textbenemy.text = benemyString; + + bdamageString = BDamage.ToString (); + textbdamage.text = bdamageString; + + levelString = level.ToString (); + textlevel.text = levelString; + + + //forward movement + if (Input.GetKeyDown ("w") && Room == 0 && transform.eulerAngles.y == 0) { + transform.position = new Vector3 (0, 2 , 5); + Room = 1; + } else if (Input.GetKeyDown ("w") && Room == 1 && transform.eulerAngles.y == 89) + { + transform.position = new Vector3 (10, 2, 5); + Room = 2; + } else if (Input.GetKeyDown ("w") && Room == 2 && transform.eulerAngles.y == 0) + { + transform.position = new Vector3 (10, 2, 15); + Room = 3; + } else if (Input.GetKeyDown ("w") && Room == 3 && transform.eulerAngles.y == 0) + { + transform.position = new Vector3 (10, 2, 25); + Room = 4; + } else if (Input.GetKeyDown ("w") && Room == 1 && transform.eulerAngles.y == 269) + { + transform.position = new Vector3 (-10, 2, 5); + Room = 5; + } else if (Input.GetKeyDown ("w") && Room == 5 && transform.eulerAngles.y == 269) + { + transform.position = new Vector3 (-20, 2, 5); + Room = 11; + } else if (Input.GetKeyDown ("w") && Room == 11 && transform.eulerAngles.y == 89) + { + transform.position = new Vector3 (-10, 2, 5); + Room = 5; + } else if (Input.GetKeyDown ("w") && Room == 5 && transform.eulerAngles.y == 0) + { + transform.position = new Vector3 (-10, 2, 15); + Room = 6; + } else if (Input.GetKeyDown ("w") && Room == 6 && transform.eulerAngles.y == 0) + { + transform.position = new Vector3 (-10, 2, 25); + Room = 7; + } else if (Input.GetKeyDown ("w") && Room == 7 && transform.eulerAngles.y == 269) + { + transform.position = new Vector3 (-20, 2, 25); + Room = 12; + } else if (Input.GetKeyDown ("w") && Room == 7 && transform.eulerAngles.y == 0 && Sword == 1 && EnemyKilled == 1 ) + { + transform.position = new Vector3 (-10, 2, 35); + Room = 8; + } else if (Input.GetKeyDown ("w") && Room == 8 && transform.eulerAngles.y == 89) + { + transform.position = new Vector3 (0, 2, 35); + Room = 9; + } else if (Input.GetKeyDown ("w") && Room == 4 && transform.eulerAngles.y == 179) + { + transform.position = new Vector3 (10, 2, 15); + Room = 3; + } else if (Input.GetKeyDown ("w") && Room == 3 && transform.eulerAngles.y == 179) + { + transform.position = new Vector3 (10, 2, 5); + Room = 2; + } else if (Input.GetKeyDown ("w") && Room == 2 && transform.eulerAngles.y == 269) + { + transform.position = new Vector3 (0, 2, 5); + Room = 1; + } else if (Input.GetKeyDown ("w") && Room == 5 && transform.eulerAngles.y == 89) + { + transform.position = new Vector3 (0, 2, 5); + Room = 1; + } else if (Input.GetKeyDown ("w") && Room == 6 && transform.eulerAngles.y == 179) + { + transform.position = new Vector3 (-10, 2, 5); + Room = 5; + } else if (Input.GetKeyDown ("w") && Room == 7 && transform.eulerAngles.y == 179) + { + transform.position = new Vector3 (-10, 2, 15); + Room = 6; + } else if (Input.GetKeyDown ("w") && Room == 12 && transform.eulerAngles.y == 89) + { + transform.position = new Vector3 (-10, 2, 25); + Room = 7; + } else if (Input.GetKeyDown ("w") && Room == 8 && transform.eulerAngles.y == 179) + { + transform.position = new Vector3 (-10, 2, 25); + Room = 7; + } else if (Input.GetKeyDown ("w") && Room == 9 && transform.eulerAngles.y == 0 && EnemyKilled == 2 && Health >= 1) + { + transform.position = new Vector3 (0, 2, 45); + Room = 10; + print ("You Win!"); + } + + if (Health <= 0) { + Time.timeScale = 0; + print ("You Died! Try again!"); + } + + + //Rotation + + if (Input.GetKeyDown ("a") && transform.eulerAngles.y == 0) { + transform.eulerAngles = new Vector3 (0, 269, 0); + } else if (Input.GetKeyDown ("a") && transform.eulerAngles.y == 269) { + transform.eulerAngles = new Vector3 (0, 179, 0); + } else if (Input.GetKeyDown ("a") && transform.eulerAngles.y == 179) { + transform.eulerAngles = new Vector3 (0, 89, 0); + } else if (Input.GetKeyDown ("a") && transform.eulerAngles.y == 89) { + transform.eulerAngles = new Vector3 (0, 0, 0); + } + + if (Input.GetKeyDown ("d") && transform.eulerAngles.y == 0) { + transform.eulerAngles = new Vector3 (0, 89, 0); + } else if (Input.GetKeyDown ("d") && transform.eulerAngles.y == 89) { + transform.eulerAngles = new Vector3 (0, 179, 0); + } else if (Input.GetKeyDown ("d") && transform.eulerAngles.y == 179) { + transform.eulerAngles = new Vector3 (0, 269, 0); + } else if (Input.GetKeyDown ("d") && transform.eulerAngles.y == 269) { + transform.eulerAngles = new Vector3 (0, 0, 0); + } + + if (level == 1 && bonus == 0) { + Health = Health + 5; + Damage = Damage + 3; + bonus = 1; + } else if (level == 2 && bonus == 1) { + EnemyKilled = 2; + level = 2; + Health = Health + 20; + Damage = Damage + 6; + bonus = 2; + } + + + } +} \ No newline at end of file diff --git a/Puzzle/Assets/Scripts/CharMove.cs.meta b/Puzzle/Assets/Scripts/CharMove.cs.meta new file mode 100644 index 0000000..3024474 --- /dev/null +++ b/Puzzle/Assets/Scripts/CharMove.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 49125e30017ad644cb55600ca6b8c1a4 +timeCreated: 1443830364 +licenseType: Free +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Scripts/DestroySword.cs b/Puzzle/Assets/Scripts/DestroySword.cs new file mode 100644 index 0000000..2c4cb4b --- /dev/null +++ b/Puzzle/Assets/Scripts/DestroySword.cs @@ -0,0 +1,24 @@ +using UnityEngine; +using System.Collections; + +public class DestroySword : MonoBehaviour +{ + public float newsowrd = 0f; + + void Start () + { + newsowrd = 0; + } + + void OnMouseDown() + { + Destroy (this.gameObject); + GameObject Player = GameObject.Find ("Player"); + CharMove CharMove = Player.GetComponent (); + CharMove.Sword = 1; + newsowrd = CharMove.Sword; + Debug.Log (newsowrd); + CharMove.Damage = CharMove.Damage + 1; + + } +} diff --git a/Puzzle/Assets/Scripts/DestroySword.cs.meta b/Puzzle/Assets/Scripts/DestroySword.cs.meta new file mode 100644 index 0000000..565a768 --- /dev/null +++ b/Puzzle/Assets/Scripts/DestroySword.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: fd8b0a9a3aafd8b44af653d62218e244 +timeCreated: 1444101199 +licenseType: Free +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Scripts/FirstBattle.cs b/Puzzle/Assets/Scripts/FirstBattle.cs new file mode 100644 index 0000000..c6df3ff --- /dev/null +++ b/Puzzle/Assets/Scripts/FirstBattle.cs @@ -0,0 +1,56 @@ +using UnityEngine; +using System.Collections; +using UnityEngine.UI; + +public class FirstBattle : MonoBehaviour +{ + void start () + { + GetComponent().enabled = false; + } + void Update () + { + RoomCheck (); + testing (); + fightfight (); + + } + + void RoomCheck () + { + GameObject Player = GameObject.Find ("Player"); + CharMove CharMove = Player.GetComponent (); + + if (CharMove.Room != 7) { + GetComponent ().enabled = false; + } else if (CharMove.Room == 7 && transform.eulerAngles.y == 0) { + GetComponent().enabled = true; + } + } + + void testing () + { + GameObject Player = GameObject.Find ("Player"); + CharMove CharMove = Player.GetComponent (); + + if (CharMove.AEnemy <= 0) { + Destroy (this.gameObject); + CharMove.level = 1; + CharMove.EnemyKilled = 1; + } + } + + public void fightfight () + { + + GameObject Player = GameObject.Find ("Player"); + CharMove CharMove = Player.GetComponent (); + + if (CharMove.AEnemy > 0 && CharMove.Room == 7 && CharMove.Sword == 1 && transform.eulerAngles.y == 0) { + CharMove.Health = CharMove.Health - CharMove.ADamage; + CharMove.AEnemy = CharMove.AEnemy - CharMove.Damage; + } else if (CharMove.AEnemy > 0 && CharMove.Room == 7 && CharMove.Sword == 0 && transform.eulerAngles.y == 0) { + CharMove.Health = CharMove.Health - CharMove.ADamage; + } + } +} diff --git a/Puzzle/Assets/Scripts/FirstBattle.cs.meta b/Puzzle/Assets/Scripts/FirstBattle.cs.meta new file mode 100644 index 0000000..664e2f5 --- /dev/null +++ b/Puzzle/Assets/Scripts/FirstBattle.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 200ecf57a964c55489baf774f6e8208c +timeCreated: 1444105887 +licenseType: Free +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Scripts/HealthBonus.cs b/Puzzle/Assets/Scripts/HealthBonus.cs new file mode 100644 index 0000000..2fa22b1 --- /dev/null +++ b/Puzzle/Assets/Scripts/HealthBonus.cs @@ -0,0 +1,17 @@ +using UnityEngine; +using System.Collections; + +public class HealthBonus : MonoBehaviour { + + void OnMouseDown() + { + GameObject Player = GameObject.Find ("Player"); + CharMove CharMove = Player.GetComponent (); + + Destroy (this.gameObject); + + CharMove.Health = CharMove.Health + 6; + } + +} + \ No newline at end of file diff --git a/Puzzle/Assets/Scripts/HealthBonus.cs.meta b/Puzzle/Assets/Scripts/HealthBonus.cs.meta new file mode 100644 index 0000000..be3b387 --- /dev/null +++ b/Puzzle/Assets/Scripts/HealthBonus.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: d50423119ebe09e49bbbf48546b9ad69 +timeCreated: 1444113530 +licenseType: Free +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Scripts/Materials.meta b/Puzzle/Assets/Scripts/Materials.meta new file mode 100644 index 0000000..2645eb3 --- /dev/null +++ b/Puzzle/Assets/Scripts/Materials.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 8c5220c387b0eef479ffe6de35016616 +folderAsset: yes +timeCreated: 1444105504 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Scripts/Materials/you-win.mat b/Puzzle/Assets/Scripts/Materials/you-win.mat new file mode 100644 index 0000000..e59af29 Binary files /dev/null and b/Puzzle/Assets/Scripts/Materials/you-win.mat differ diff --git a/Puzzle/Assets/Scripts/Materials/you-win.mat.meta b/Puzzle/Assets/Scripts/Materials/you-win.mat.meta new file mode 100644 index 0000000..0b2d84c --- /dev/null +++ b/Puzzle/Assets/Scripts/Materials/you-win.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 7bf683de701d5b841a1c2b92c5bcff7e +timeCreated: 1444105504 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Scripts/SecondBattle.cs b/Puzzle/Assets/Scripts/SecondBattle.cs new file mode 100644 index 0000000..4fa71e9 --- /dev/null +++ b/Puzzle/Assets/Scripts/SecondBattle.cs @@ -0,0 +1,54 @@ +using UnityEngine; +using System.Collections; +using UnityEngine.UI; + +public class SecondBattle : MonoBehaviour { + void start () + { + GetComponent().enabled = false; + } + void Update () + { + RoomCheck (); + testing (); + fightfight (); + + } + + void RoomCheck () + { + GameObject Player = GameObject.Find ("Player"); + CharMove CharMove = Player.GetComponent (); + + if (CharMove.Room != 9) { + GetComponent ().enabled = false; + } else if (CharMove.Room == 9 && transform.eulerAngles.y == 0) { + GetComponent().enabled = true; + } + } + + void testing () + { + GameObject Player = GameObject.Find ("Player"); + CharMove CharMove = Player.GetComponent (); + + if (CharMove.BEnemy <= 0) { + Destroy (this.gameObject); + CharMove.level = 2; + CharMove.EnemyKilled = 2; + } + } + + public void fightfight () + { + + GameObject Player = GameObject.Find ("Player"); + CharMove CharMove = Player.GetComponent (); + + if (CharMove.BEnemy > 0 && CharMove.Room == 9 && CharMove.Sword == 1 && transform.eulerAngles.y == 0) { + CharMove.Health = CharMove.Health - CharMove.BDamage; + CharMove.BEnemy = CharMove.BEnemy - CharMove.Damage; + } + + } +} \ No newline at end of file diff --git a/Puzzle/Assets/Scripts/SecondBattle.cs.meta b/Puzzle/Assets/Scripts/SecondBattle.cs.meta new file mode 100644 index 0000000..8471794 --- /dev/null +++ b/Puzzle/Assets/Scripts/SecondBattle.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: afe15fb0d9cd1ca409b511c0bf234047 +timeCreated: 1444105897 +licenseType: Free +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Scripts/SpeechOne.cs b/Puzzle/Assets/Scripts/SpeechOne.cs new file mode 100644 index 0000000..8e328fb --- /dev/null +++ b/Puzzle/Assets/Scripts/SpeechOne.cs @@ -0,0 +1,29 @@ +using UnityEngine; +using System.Collections; +using UnityEngine.UI; + +public class SpeechOne : MonoBehaviour { + public Text myText; + public float checking = 0; + + void Update (){ + uptexting (); + } + void OnMouseDown() + { + checking = checking + 1; + if (checking % 2 == 0) { + myText.text = "You will need to find the sword to kill the enemies."; + } else if (checking % 2 == 1) { + myText.text = "You need to find the two health potions to defeat the last boss."; + } + } + void uptexting () { + GameObject Player = GameObject.Find ("Player"); + CharMove CharMove = Player.GetComponent (); + + if (CharMove.Room >= 1) { + myText.enabled = false; + } + } +} diff --git a/Puzzle/Assets/Scripts/SpeechOne.cs.meta b/Puzzle/Assets/Scripts/SpeechOne.cs.meta new file mode 100644 index 0000000..62adeaf --- /dev/null +++ b/Puzzle/Assets/Scripts/SpeechOne.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 065613b0d9f81f2439fee09945d0c976 +timeCreated: 1444116837 +licenseType: Free +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Scripts/WallColor.cs b/Puzzle/Assets/Scripts/WallColor.cs new file mode 100644 index 0000000..8f59d0b --- /dev/null +++ b/Puzzle/Assets/Scripts/WallColor.cs @@ -0,0 +1,18 @@ +using UnityEngine; +using System.Collections; + +public class WallColor : MonoBehaviour +{ + + void Start () + { + InvokeRepeating ("ChangeColor", 3, 2f); + } + + void ChangeColor () + { + Color newColor = new Color( Random.value, Random.value, Random.value, 1.0f ); + GetComponent().material.color = newColor; + } + +} diff --git a/Puzzle/Assets/Scripts/WallColor.cs.meta b/Puzzle/Assets/Scripts/WallColor.cs.meta new file mode 100644 index 0000000..29da700 --- /dev/null +++ b/Puzzle/Assets/Scripts/WallColor.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 70b7332ca4005a8428e53525b5699cfc +timeCreated: 1443827598 +licenseType: Free +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Scripts/you-win.jpg b/Puzzle/Assets/Scripts/you-win.jpg new file mode 100644 index 0000000..81b18ed Binary files /dev/null and b/Puzzle/Assets/Scripts/you-win.jpg differ diff --git a/Puzzle/Assets/Scripts/you-win.jpg.meta b/Puzzle/Assets/Scripts/you-win.jpg.meta new file mode 100644 index 0000000..95f2220 --- /dev/null +++ b/Puzzle/Assets/Scripts/you-win.jpg.meta @@ -0,0 +1,56 @@ +fileFormatVersion: 2 +guid: 75a09b6b0a2dea542bda39c7906f2f29 +timeCreated: 1444105502 +licenseType: Free +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 2 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + linearTexture: 0 + correctGamma: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: .25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 0 + cubemapConvolution: 0 + cubemapConvolutionSteps: 8 + cubemapConvolutionExponent: 1.5 + seamlessCubemap: 0 + textureFormat: -1 + maxTextureSize: 2048 + textureSettings: + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapMode: -1 + nPOTScale: 1 + lightmap: 0 + rGBM: 0 + compressionQuality: 50 + allowsAlphaSplitting: 0 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: .5, y: .5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaIsTransparency: 0 + textureType: -1 + buildTargetSettings: [] + spriteSheet: + sprites: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/Assets/Web build.meta b/Puzzle/Assets/Web build.meta new file mode 100644 index 0000000..fe75387 --- /dev/null +++ b/Puzzle/Assets/Web build.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 109e03ae3273f5f4dbdb426a2f0b638a +folderAsset: yes +timeCreated: 1444122076 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Puzzle/ProjectSettings/AudioManager.asset b/Puzzle/ProjectSettings/AudioManager.asset new file mode 100644 index 0000000..dcf9de1 Binary files /dev/null and b/Puzzle/ProjectSettings/AudioManager.asset differ diff --git a/Puzzle/ProjectSettings/DynamicsManager.asset b/Puzzle/ProjectSettings/DynamicsManager.asset new file mode 100644 index 0000000..db1232a Binary files /dev/null and b/Puzzle/ProjectSettings/DynamicsManager.asset differ diff --git a/Puzzle/ProjectSettings/EditorBuildSettings.asset b/Puzzle/ProjectSettings/EditorBuildSettings.asset new file mode 100644 index 0000000..0ea0d9e Binary files /dev/null and b/Puzzle/ProjectSettings/EditorBuildSettings.asset differ diff --git a/Puzzle/ProjectSettings/EditorSettings.asset b/Puzzle/ProjectSettings/EditorSettings.asset new file mode 100644 index 0000000..72fd3ab Binary files /dev/null and b/Puzzle/ProjectSettings/EditorSettings.asset differ diff --git a/Puzzle/ProjectSettings/GraphicsSettings.asset b/Puzzle/ProjectSettings/GraphicsSettings.asset new file mode 100644 index 0000000..73b8051 Binary files /dev/null and b/Puzzle/ProjectSettings/GraphicsSettings.asset differ diff --git a/Puzzle/ProjectSettings/InputManager.asset b/Puzzle/ProjectSettings/InputManager.asset new file mode 100644 index 0000000..17bef0a Binary files /dev/null and b/Puzzle/ProjectSettings/InputManager.asset differ diff --git a/Puzzle/ProjectSettings/NavMeshAreas.asset b/Puzzle/ProjectSettings/NavMeshAreas.asset new file mode 100644 index 0000000..ac87f57 Binary files /dev/null and b/Puzzle/ProjectSettings/NavMeshAreas.asset differ diff --git a/Puzzle/ProjectSettings/NetworkManager.asset b/Puzzle/ProjectSettings/NetworkManager.asset new file mode 100644 index 0000000..534fb3b Binary files /dev/null and b/Puzzle/ProjectSettings/NetworkManager.asset differ diff --git a/Puzzle/ProjectSettings/Physics2DSettings.asset b/Puzzle/ProjectSettings/Physics2DSettings.asset new file mode 100644 index 0000000..0029e6d Binary files /dev/null and b/Puzzle/ProjectSettings/Physics2DSettings.asset differ diff --git a/Puzzle/ProjectSettings/ProjectSettings.asset b/Puzzle/ProjectSettings/ProjectSettings.asset new file mode 100644 index 0000000..9e8cfd5 Binary files /dev/null and b/Puzzle/ProjectSettings/ProjectSettings.asset differ diff --git a/Puzzle/ProjectSettings/ProjectVersion.txt b/Puzzle/ProjectSettings/ProjectVersion.txt new file mode 100644 index 0000000..e040c5c --- /dev/null +++ b/Puzzle/ProjectSettings/ProjectVersion.txt @@ -0,0 +1,2 @@ +m_EditorVersion: 5.2.0f3 +m_StandardAssetsVersion: 0 diff --git a/Puzzle/ProjectSettings/QualitySettings.asset b/Puzzle/ProjectSettings/QualitySettings.asset new file mode 100644 index 0000000..bd64e2d Binary files /dev/null and b/Puzzle/ProjectSettings/QualitySettings.asset differ diff --git a/Puzzle/ProjectSettings/TagManager.asset b/Puzzle/ProjectSettings/TagManager.asset new file mode 100644 index 0000000..df654d9 Binary files /dev/null and b/Puzzle/ProjectSettings/TagManager.asset differ diff --git a/Puzzle/ProjectSettings/TimeManager.asset b/Puzzle/ProjectSettings/TimeManager.asset new file mode 100644 index 0000000..3986e38 Binary files /dev/null and b/Puzzle/ProjectSettings/TimeManager.asset differ diff --git a/Puzzle/ProjectSettings/UnityAdsSettings.asset b/Puzzle/ProjectSettings/UnityAdsSettings.asset new file mode 100644 index 0000000..e6070fc Binary files /dev/null and b/Puzzle/ProjectSettings/UnityAdsSettings.asset differ diff --git a/Puzzle/ProjectSettings/UnityAnalyticsManager.asset b/Puzzle/ProjectSettings/UnityAnalyticsManager.asset new file mode 100644 index 0000000..e3dbe99 Binary files /dev/null and b/Puzzle/ProjectSettings/UnityAnalyticsManager.asset differ diff --git a/Web build/Web build.html b/Web build/Web build.html new file mode 100644 index 0000000..18aee5e --- /dev/null +++ b/Web build/Web build.html @@ -0,0 +1,136 @@ + + + + + Unity Web Player | Puzzle + + + + + + +

Unity Web Player | Puzzle

+
+
+
+ + Unity Web Player. Install now! + +
+
+ + Unity Web Player. Install now! Restart your browser after install. + +
+
+
+ + + diff --git a/Web build/Web build.html.meta b/Web build/Web build.html.meta new file mode 100644 index 0000000..7f3ee13 --- /dev/null +++ b/Web build/Web build.html.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 1b1ade153184d0c4b86cec7412387499 +timeCreated: 1444122076 +licenseType: Free +TextScriptImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Web build/Web build.unity3d b/Web build/Web build.unity3d new file mode 100644 index 0000000..8ac5ddc Binary files /dev/null and b/Web build/Web build.unity3d differ diff --git a/Web build/Web build.unity3d.meta b/Web build/Web build.unity3d.meta new file mode 100644 index 0000000..c75caa2 --- /dev/null +++ b/Web build/Web build.unity3d.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6596cc022103bfc4d8563f79db58678d +timeCreated: 1444122076 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: