diff --git a/FricaDeGaze/Assets/MiscaPaianjen.cs b/FricaDeGaze/Assets/MiscaPaianjen.cs new file mode 100644 index 0000000..801998a --- /dev/null +++ b/FricaDeGaze/Assets/MiscaPaianjen.cs @@ -0,0 +1,44 @@ +using UnityEngine; +using System.Collections; + +public class MisacaPaianjen : MonoBehaviour { + + // Use this for initialization + void Start () { + itembounce(); + } + + Vector3 speed = new Vector3(0,0.002f,0); + + bool bouncing = true; + + + // Update is called once per frame + void Update () { + if (bouncing == true) { + this.transform.position += speed; + } else if (bouncing == false) { + this.transform.position -= speed; + } + + //bouncing = !bouncing; + } + + + IEnumerator itembounce() { + + for(int i=0;i>1;i++) + { + + // yield return new WaitForSeconds(0.002f); + //bouncing = !bouncing; + + bouncing = !bouncing; + yield return new WaitForSeconds(0.002f); + } + + + } + + +} diff --git a/FricaDeGaze/Assets/MiscaPaianjen.cs.meta b/FricaDeGaze/Assets/MiscaPaianjen.cs.meta new file mode 100644 index 0000000..370d307 --- /dev/null +++ b/FricaDeGaze/Assets/MiscaPaianjen.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f63a20eaa3e3c1841b079fecfda81c75 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/FricaDeGaze/Assets/RandomSpider.cs b/FricaDeGaze/Assets/RandomSpider.cs new file mode 100644 index 0000000..1dee72a --- /dev/null +++ b/FricaDeGaze/Assets/RandomSpider.cs @@ -0,0 +1,15 @@ +using UnityEngine; +using System.Collections; + +public class RandomSpider : MonoBehaviour { + + // Use this for initialization + void Start () { + + } + + // Update is called once per frame + void Update () { + + } +} diff --git a/FricaDeGaze/Assets/RandomSpider.cs.meta b/FricaDeGaze/Assets/RandomSpider.cs.meta new file mode 100644 index 0000000..06045d4 --- /dev/null +++ b/FricaDeGaze/Assets/RandomSpider.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 82e5532adcca69249891443803001d52 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/FricaDeGaze/Assets/masa.blend b/FricaDeGaze/Assets/masa.blend new file mode 100644 index 0000000..1e68ea5 Binary files /dev/null and b/FricaDeGaze/Assets/masa.blend differ diff --git a/FricaDeGaze/Assets/masa.blend.meta b/FricaDeGaze/Assets/masa.blend.meta new file mode 100644 index 0000000..f6278f7 --- /dev/null +++ b/FricaDeGaze/Assets/masa.blend.meta @@ -0,0 +1,88 @@ +fileFormatVersion: 2 +guid: f327a34c9a416b040af7f8ca1a669c92 +ModelImporter: + serializedVersion: 16 + fileIDToRecycleName: + 100000: Fund + 100002: //RootNode + 100004: Picior1 + 100006: Picior2 + 100008: Picior3 + 100010: Picior4 + 400000: Fund + 400002: //RootNode + 400004: Picior1 + 400006: Picior2 + 400008: Picior3 + 400010: Picior4 + 2300000: Fund + 2300002: Picior1 + 2300004: Picior2 + 2300006: Picior3 + 2300008: Picior4 + 3300000: Fund + 3300002: Picior1 + 3300004: Picior2 + 3300006: Picior3 + 3300008: Picior4 + 4300000: Picior4 + 4300002: Picior3 + 4300004: Picior2 + 4300006: Picior1 + 4300008: Fund + 7400000: Default Take + 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/FricaDeGaze/Assets/masa.blend1 b/FricaDeGaze/Assets/masa.blend1 new file mode 100644 index 0000000..9d3ee30 Binary files /dev/null and b/FricaDeGaze/Assets/masa.blend1 differ diff --git a/FricaDeGaze/Assets/masa.blend1.meta b/FricaDeGaze/Assets/masa.blend1.meta new file mode 100644 index 0000000..a31f7cf --- /dev/null +++ b/FricaDeGaze/Assets/masa.blend1.meta @@ -0,0 +1,4 @@ +fileFormatVersion: 2 +guid: 6f06310fab9d89742b729daad0d15cc1 +DefaultImporter: + userData: diff --git a/FricaDeGaze/Assets/misca2.cs b/FricaDeGaze/Assets/misca2.cs new file mode 100644 index 0000000..d5e7eb4 --- /dev/null +++ b/FricaDeGaze/Assets/misca2.cs @@ -0,0 +1,36 @@ +using UnityEngine; +using System.Collections; + +public class misca2 : MonoBehaviour { + + IEnumerator Start () { + //yield return new WaitForSeconds (0.2f); + //float width = camera.pixelWidth; + + Vector3 position = new Vector3(Random.Range(-5.0F, 5.0F), 0, Random.Range(-5.0F, 5.0F)); + + Vector3 pointA = transform.position; + Vector3 pointB = pointA + new Vector3 (0.5f,0,0.5f); + while (true) { + yield return StartCoroutine(MoveObject(transform, pointA, position, 1.5f)); + yield return StartCoroutine(MoveObject(transform, position, pointA, 1.5f)); + position = new Vector3(Random.Range(-5.0F, 5.0F), 0, Random.Range(-5.0F, 5.0F)); + + } + } + + IEnumerator MoveObject (Transform thisTransform, Vector3 startPos, Vector3 endPos, float time) { + float i = 0.0f; + float rate = 1.0f / time; + while (i < 1.0f) { + i += Time.deltaTime * rate; + thisTransform.position = Vector3.Lerp(startPos, endPos, i); + yield return null; + } + } + + // Update is called once per frame + void Update () { + + } +} diff --git a/FricaDeGaze/Assets/misca2.cs.meta b/FricaDeGaze/Assets/misca2.cs.meta new file mode 100644 index 0000000..18f7a2b --- /dev/null +++ b/FricaDeGaze/Assets/misca2.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f6e251b779901f04db3728b14fd0da67 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: diff --git a/FricaDeGaze/Assets/misca3.cs b/FricaDeGaze/Assets/misca3.cs new file mode 100644 index 0000000..33ef53b --- /dev/null +++ b/FricaDeGaze/Assets/misca3.cs @@ -0,0 +1,32 @@ +using UnityEngine; +using System.Collections; + +public class misca3 : MonoBehaviour { + + + + IEnumerator Start () { + yield return new WaitForSeconds (0.5f); + Vector3 pointA = transform.position; + Vector3 pointB = pointA + new Vector3 (0,0.05f,0); + while (true) { + yield return StartCoroutine(MoveObject(transform, pointA, pointB, 0.5f)); + yield return StartCoroutine(MoveObject(transform, pointB, pointA, 0.5f)); + } + } + + IEnumerator MoveObject (Transform thisTransform, Vector3 startPos, Vector3 endPos, float time) { + float i = 0.0f; + float rate = 1.0f / time; + while (i < 1.0f) { + i += Time.deltaTime * rate; + thisTransform.position = Vector3.Lerp(startPos, endPos, i); + yield return null; + } + } + + // Update is called once per frame + void Update () { + + } +} diff --git a/FricaDeGaze/Assets/misca3.cs.meta b/FricaDeGaze/Assets/misca3.cs.meta new file mode 100644 index 0000000..97b44de --- /dev/null +++ b/FricaDeGaze/Assets/misca3.cs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c0d2b45e067b8af4aafe3029b5b82676 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: