Permalink
Browse files

initial sperm sounds

  • Loading branch information...
1 parent f4d6452 commit 2b55768afd3368b491223ec598bd0d87bda51da5 @josephquested committed Feb 16, 2017
@@ -50,6 +50,7 @@
<Compile Include="Assets\Scripts\CSection\DecentTrigger.cs" />
<Compile Include="Assets\Scripts\CSection\GroundSpotlight.cs" />
<Compile Include="Assets\Scripts\CSection\GroundTrigger.cs" />
+ <Compile Include="Assets\Scripts\CSection\SpermHead.cs" />
<Compile Include="Assets\Scripts\CSection\SpermTail.cs" />
<Compile Include="Assets\Scripts\CSection\VaginaTrigger.cs" />
<Compile Include="Assets\Scripts\Player\FirstPersonController.cs" />
Binary file not shown.
@@ -0,0 +1,22 @@
+fileFormatVersion: 2
+guid: 7e667f4446be8424bb264ebe9b99ac35
+timeCreated: 1487282527
+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:
Binary file not shown.
@@ -0,0 +1,22 @@
+fileFormatVersion: 2
+guid: c52a5c3fb114646019fc6b01ac2b2f8a
+timeCreated: 1487282871
+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:
Binary file not shown.
Binary file not shown.
@@ -8,6 +8,7 @@ public class Cock : MonoBehaviour {
public float stamina;
public bool canCum;
public int quantity;
+ public bool primed;
void Update ()
{
@@ -21,7 +22,10 @@ IEnumerator CumRoutine ()
{
canCum = false;
yield return new WaitForSeconds(stamina);
- Cum();
+ if (primed)
+ {
+ Cum();
+ }
canCum = true;
}
@@ -31,8 +35,9 @@ void Cum ()
{
var sperm = Instantiate(spermPrefab, urethra.position, urethra.rotation);
Vector3 ejaculation = Vector3.forward;
- float force = Random.Range(1, 10);
+ float force = Random.Range(1, 400);
sperm.GetComponent<Rigidbody>().AddForce(ejaculation * force);
+ Destroy(sperm, 40f);
}
}
}
@@ -4,13 +4,14 @@
public class DecentTrigger : MonoBehaviour {
public Animator fatherAnimator;
+ public Cock cock;
void OnTriggerEnter (Collider collider)
{
if (collider.tag == "Player")
{
- print("triggered!");
- fatherAnimator.speed = 1;
+ print("primed!");
+ cock.primed = true;
}
}
}
@@ -0,0 +1,23 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+public class SpermHead : MonoBehaviour {
+ AudioSource audio;
+ public AudioClip[] sounds;
+
+ void Start ()
+ {
+ // if (Random.Range(0, 2) == 0)
+ // {
+ // Destroy(audio);
+ // return;
+ // }
+ audio = GetComponent<AudioSource>();
+ AudioClip clip = sounds[Random.Range(0, sounds.Length)];
+ audio.clip = clip;
+ audio.loop = true;
+ audio.pitch = Random.Range(-3, 3);
+ audio.Play();
+ }
+}
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: a3ba03225cbf74a8b9f0db3ae944b6d3
+timeCreated: 1487283098
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
@@ -11,7 +11,7 @@ void Start ()
}
void Update () {
- Vector3 movement = new Vector3(Random.Range(-5.0f, 5.0f), Random.Range(-5.0f, 5.0f), Random.Range(-5.0f, 5.0f));
+ Vector3 movement = new Vector3(Random.Range(-50.0f, 50.0f), Random.Range(-50.0f, 50.0f), Random.Range(-5.0f, 5.0f));
rb.AddForce(movement);
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
View
Binary file not shown.
@@ -92,3 +92,9 @@ Cmd: compileSnippet
api=15 type=0 insize=1023 outsize=14070 kw=DIRECTIONAL _EMISSION pd=UNITY_ENABLE_REFLECTION_BUFFERS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA ok=1
Cmd: compileSnippet
api=15 type=1 insize=1023 outsize=0 kw=DIRECTIONAL _EMISSION pd=UNITY_ENABLE_REFLECTION_BUFFERS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA ok=1
+Cmd: compileSnippet
+ api=15 type=0 insize=1023 outsize=15616 kw=DIRECTIONAL _EMISSION VERTEXLIGHT_ON pd=UNITY_ENABLE_REFLECTION_BUFFERS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA ok=1
+Cmd: compileSnippet
+ api=15 type=0 insize=1023 outsize=15405 kw=DIRECTIONAL VERTEXLIGHT_ON pd=UNITY_ENABLE_REFLECTION_BUFFERS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA ok=1
+Cmd: compileSnippet
+ api=15 type=0 insize=70512 outsize=16237 kw=DIRECTIONAL VERTEXLIGHT_ON pd=UNITY_ENABLE_REFLECTION_BUFFERS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA ok=1

0 comments on commit 2b55768

Please sign in to comment.