Added music.

This commit is contained in:
shakurass 2014-04-27 20:19:37 -06:00
commit 43d12cc35f
12 changed files with 291 additions and 11 deletions

Binary file not shown.

View file

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 38bfc99e65cfc8f4bb53f50021693720
AudioImporter:
serializedVersion: 4
format: -1
quality: -1
stream: 1
3D: 1
forceToMono: 0
useHardware: 0
loopable: 0
userData:

Binary file not shown.

View file

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 43d17e344e9b98d40b035dae2a27571a
AudioImporter:
serializedVersion: 4
format: -1
quality: -1
stream: 1
3D: 1
forceToMono: 0
useHardware: 0
loopable: 0
userData:

View file

@ -36,7 +36,7 @@ Renderer:
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 100000}
m_Enabled: 1
m_Enabled: 0
m_CastShadows: 1
m_ReceiveShadows: 1
m_LightmapIndex: 255

View file

@ -1819,6 +1819,7 @@ GameObject:
m_Component:
- 4: {fileID: 1164596950}
- 114: {fileID: 1164596949}
- 82: {fileID: 1164596951}
m_Layer: 0
m_Name: GameController
m_TagString: GameController
@ -1859,6 +1860,64 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
--- !u!82 &1164596951
AudioSource:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1164596948}
m_Enabled: 1
serializedVersion: 3
m_audioClip: {fileID: 8300000, guid: 38bfc99e65cfc8f4bb53f50021693720, type: 3}
m_PlayOnAwake: 1
m_Volume: 1
m_Pitch: 1
Loop: 1
Mute: 0
Priority: 128
DopplerLevel: 1
MinDistance: 1
MaxDistance: 500
Pan2D: 0
rolloffMode: 0
BypassEffects: 0
BypassListenerEffects: 0
BypassReverbZones: 0
rolloffCustomCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
panLevelCustomCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
spreadCustomCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
--- !u!1 &1195109751
GameObject:
m_ObjectHideFlags: 0

View file

@ -293,7 +293,7 @@ Transform:
m_PrefabParentObject: {fileID: 400064, guid: c2a599d40f95a644fb16f5f31c9d3c2c, type: 2}
m_PrefabInternal: {fileID: 2125347412}
m_GameObject: {fileID: 353171681}
m_LocalRotation: {x: .382683456, y: 0, z: 0, w: .923879504}
m_LocalRotation: {x: .382683486, y: 0, z: 0, w: .923879564}
m_LocalPosition: {x: .827395439, y: 0, z: 0}
m_LocalScale: {x: .939999998, y: .810000002, z: 1}
m_Children: []
@ -373,7 +373,7 @@ Transform:
m_PrefabParentObject: {fileID: 400008, guid: c2a599d40f95a644fb16f5f31c9d3c2c, type: 2}
m_PrefabInternal: {fileID: 2125347412}
m_GameObject: {fileID: 362490602}
m_LocalRotation: {x: .382683456, y: 0, z: 0, w: .923879504}
m_LocalRotation: {x: .382683486, y: 0, z: 0, w: .923879564}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: .889999986, z: 1}
m_Children: []
@ -656,7 +656,7 @@ Transform:
m_PrefabParentObject: {fileID: 400004, guid: c2a599d40f95a644fb16f5f31c9d3c2c, type: 2}
m_PrefabInternal: {fileID: 2125347412}
m_GameObject: {fileID: 744217424}
m_LocalRotation: {x: .382683456, y: 0, z: 0, w: .923879504}
m_LocalRotation: {x: .382683486, y: 0, z: 0, w: .923879564}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: .889999986, z: 1}
m_Children: []
@ -907,7 +907,7 @@ Transform:
m_PrefabParentObject: {fileID: 400014, guid: c2a599d40f95a644fb16f5f31c9d3c2c, type: 2}
m_PrefabInternal: {fileID: 2125347412}
m_GameObject: {fileID: 936169192}
m_LocalRotation: {x: .382683456, y: 0, z: 0, w: .923879504}
m_LocalRotation: {x: .382683486, y: 0, z: 0, w: .923879564}
m_LocalPosition: {x: .827395439, y: 0, z: 0}
m_LocalScale: {x: .939999998, y: .810000002, z: 1}
m_Children: []
@ -1345,7 +1345,7 @@ Transform:
m_PrefabParentObject: {fileID: 400060, guid: c2a599d40f95a644fb16f5f31c9d3c2c, type: 2}
m_PrefabInternal: {fileID: 2125347412}
m_GameObject: {fileID: 1056369941}
m_LocalRotation: {x: .382683456, y: 0, z: 0, w: .923879504}
m_LocalRotation: {x: .382683486, y: 0, z: 0, w: .923879564}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: .850000024, z: 1}
m_Children: []
@ -1441,7 +1441,7 @@ Transform:
m_PrefabParentObject: {fileID: 400054, guid: c2a599d40f95a644fb16f5f31c9d3c2c, type: 2}
m_PrefabInternal: {fileID: 2125347412}
m_GameObject: {fileID: 1162005753}
m_LocalRotation: {x: .382683456, y: 0, z: 0, w: .923879504}
m_LocalRotation: {x: .382683486, y: 0, z: 0, w: .923879564}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: .939999998, y: .810000002, z: 1}
m_Children: []
@ -1781,7 +1781,7 @@ Transform:
m_PrefabParentObject: {fileID: 400012, guid: c2a599d40f95a644fb16f5f31c9d3c2c, type: 2}
m_PrefabInternal: {fileID: 2125347412}
m_GameObject: {fileID: 1746769090}
m_LocalRotation: {x: .382683456, y: 0, z: 0, w: .923879504}
m_LocalRotation: {x: .382683486, y: 0, z: 0, w: .923879564}
m_LocalPosition: {x: .827395439, y: 0, z: 0}
m_LocalScale: {x: .939999998, y: .810000002, z: 1}
m_Children: []
@ -2009,7 +2009,7 @@ Transform:
m_PrefabParentObject: {fileID: 400002, guid: c2a599d40f95a644fb16f5f31c9d3c2c, type: 2}
m_PrefabInternal: {fileID: 2125347412}
m_GameObject: {fileID: 1868927042}
m_LocalRotation: {x: .382683456, y: 0, z: 0, w: .923879504}
m_LocalRotation: {x: .382683486, y: 0, z: 0, w: .923879564}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: .889999986, z: 1}
m_Children: []
@ -2203,6 +2203,7 @@ GameObject:
- 92: {fileID: 1921743829}
- 124: {fileID: 1921743828}
- 81: {fileID: 1921743827}
- 82: {fileID: 1921743832}
m_Layer: 0
m_Name: Main Camera
m_TagString: MainCamera
@ -2271,6 +2272,64 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
--- !u!82 &1921743832
AudioSource:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1921743826}
m_Enabled: 1
serializedVersion: 3
m_audioClip: {fileID: 8300000, guid: 43d17e344e9b98d40b035dae2a27571a, type: 3}
m_PlayOnAwake: 1
m_Volume: 1
m_Pitch: 1
Loop: 1
Mute: 0
Priority: 128
DopplerLevel: 1
MinDistance: 1
MaxDistance: 500
Pan2D: 0
rolloffMode: 0
BypassEffects: 0
BypassListenerEffects: 0
BypassReverbZones: 0
rolloffCustomCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
panLevelCustomCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
spreadCustomCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
--- !u!1 &2025978448
GameObject:
m_ObjectHideFlags: 0

View file

@ -39,7 +39,7 @@ public class GameController : MonoBehaviour {
Vector3 spawnPosition = new Vector3 (20f, 3f, 9f);
Quaternion spawnRotation = Quaternion.identity;
Instantiate (patronObjects[Random.Range (0, patronObjects.Length-1)], spawnPosition, spawnRotation);
Instantiate (patronObjects[Random.Range (0, patronObjects.Length)], spawnPosition, spawnRotation);
patronCounter++;

View file

@ -19,7 +19,7 @@ Material:
second:
m_Texture: {fileID: 2800000, guid: 26c9dff0fed396341b045e42e3a0b500, type: 3}
m_Scale: {x: 1, y: .5}
m_Offset: {x: 0, y: .5}
m_Offset: {x: 0, y: 0}
data:
first:
name: _BumpMap

136
Builds/Builds.html Normal file
View file

@ -0,0 +1,136 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Unity Web Player | Demon Shanker 2</title>
<script type='text/javascript' src='https://ssl-webplayer.unity3d.com/download_webplayer-3.x/3.0/uo/jquery.min.js'></script>
<script type="text/javascript">
<!--
var unityObjectUrl = "http://webplayer.unity3d.com/download_webplayer-3.x/3.0/uo/UnityObject2.js";
if (document.location.protocol == 'https:')
unityObjectUrl = unityObjectUrl.replace("http://", "https://ssl-");
document.write('<script type="text\/javascript" src="' + unityObjectUrl + '"><\/script>');
-->
</script>
<script type="text/javascript">
<!--
var config = {
width: 960,
height: 600,
params: { enableDebugging:"0" }
};
var u = new UnityObject2(config);
jQuery(function() {
var $missingScreen = jQuery("#unityPlayer").find(".missing");
var $brokenScreen = jQuery("#unityPlayer").find(".broken");
$missingScreen.hide();
$brokenScreen.hide();
u.observeProgress(function (progress) {
switch(progress.pluginStatus) {
case "broken":
$brokenScreen.find("a").click(function (e) {
e.stopPropagation();
e.preventDefault();
u.installPlugin();
return false;
});
$brokenScreen.show();
break;
case "missing":
$missingScreen.find("a").click(function (e) {
e.stopPropagation();
e.preventDefault();
u.installPlugin();
return false;
});
$missingScreen.show();
break;
case "installed":
$missingScreen.remove();
break;
case "first":
break;
}
});
u.initPlugin(jQuery("#unityPlayer")[0], "Builds.unity3d");
});
-->
</script>
<style type="text/css">
<!--
body {
font-family: Helvetica, Verdana, Arial, sans-serif;
background-color: white;
color: black;
text-align: center;
}
a:link, a:visited {
color: #000;
}
a:active, a:hover {
color: #666;
}
p.header {
font-size: small;
}
p.header span {
font-weight: bold;
}
p.footer {
font-size: x-small;
}
div.content {
margin: auto;
width: 960px;
}
div.broken,
div.missing {
margin: auto;
position: relative;
top: 50%;
width: 193px;
}
div.broken a,
div.missing a {
height: 63px;
position: relative;
top: -31px;
}
div.broken img,
div.missing img {
border-width: 0px;
}
div.broken {
display: none;
}
div#unityPlayer {
cursor: default;
height: 600px;
width: 960px;
}
-->
</style>
</head>
<body>
<p class="header"><span>Unity Web Player | </span>Demon Shanker 2</p>
<div class="content">
<div id="unityPlayer">
<div class="missing">
<a href="http://unity3d.com/webplayer/" title="Unity Web Player. Install now!">
<img alt="Unity Web Player. Install now!" src="http://webplayer.unity3d.com/installation/getunity.png" width="193" height="63" />
</a>
</div>
<div class="broken">
<a href="http://unity3d.com/webplayer/" title="Unity Web Player. Install now! Restart your browser after install.">
<img alt="Unity Web Player. Install now! Restart your browser after install." src="http://webplayer.unity3d.com/installation/getunityrestart.png" width="193" height="63" />
</a>
</div>
</div>
</div>
<p class="footer">&laquo; created with <a href="http://unity3d.com/unity/" title="Go to unity3d.com">Unity</a> &raquo;</p>
</body>
</html>

BIN
Builds/Builds.unity3d Normal file

Binary file not shown.

View file

@ -5,5 +5,7 @@ EditorBuildSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Scenes:
- enabled: 1
path: Assets/Scenes/TitleMenu.unity
- enabled: 1
path: Assets/Scenes/Main.unity