Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
THE SUBMISSION
  • Loading branch information
smz11006 committed Nov 10, 2015
1 parent b350d64 commit ee3ac1d
Show file tree
Hide file tree
Showing 1,249 changed files with 317 additions and 157 deletions.
131 changes: 131 additions & 0 deletions 0_Game_Submission_Builds/Sebastian_1942/Sebastian_1942.html
@@ -0,0 +1,131 @@
<!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 | 19-Bricktey-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: 1280,
height: 720,
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], "Sebastian_1942.unity3d");
});
-->
</script>
<style type="text/css">
<!--
body {
font-family: Helvetica, Verdana, Arial, sans-serif;
background-color: black;
color: white;
text-align: center;
}
a:link, a:visited {
color: #bfbfbf;
}
a:active, a:hover {
color: #bfbfbf;
}
p.header {
font-size: small;
}
p.header span {
font-weight: bold;
}
p.footer {
font-size: x-small;
}
div.content {
margin: auto;
width: 1280px;
}
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: 720px;
width: 1280px;
}
-->
</style>
</head>
<body>
<p class="header"><span>Unity Web Player | </span>19-Bricktey-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>
</div>
<p class="footer">&laquo; created with <a href="http://unity3d.com/unity/" title="Go to unity3d.com">Unity</a> &raquo;</p>
</body>
</html>
Binary file not shown.
Binary file not shown.
8 changes: 8 additions & 0 deletions ShipShooter/Assets/Environment/BGLegosSmall.prefab.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added ShipShooter/Assets/Environment/Legothick.ttf
Binary file not shown.
19 changes: 19 additions & 0 deletions ShipShooter/Assets/Environment/Legothick.ttf.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added ShipShooter/Assets/Legos/Background.prefab
Binary file not shown.
8 changes: 8 additions & 0 deletions ShipShooter/Assets/Legos/Background.prefab.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified ShipShooter/Assets/Scenes/GameScene.unity
Binary file not shown.
Binary file modified ShipShooter/Assets/Scenes/ShipLose.unity
Binary file not shown.
Binary file modified ShipShooter/Assets/Scenes/ShipMenu.unity
Binary file not shown.
Binary file modified ShipShooter/Assets/Scenes/ShipWin.unity
Binary file not shown.
29 changes: 21 additions & 8 deletions ShipShooter/Assets/Scripts/EnemySpawner.cs
Expand Up @@ -131,28 +131,41 @@ public class EnemySpawner : MonoBehaviour {
iTween.MoveTo(enemy1_right3, iTween.Hash("path", iTweenPath.GetPath("RightCurve3"), "time", 10));
// EdgeSpawnLast();

yield return new WaitForSeconds(2f);
yield return new WaitForSeconds(5f);
MidSpawnEdges();

yield return new WaitForSeconds(2f);
yield return new WaitForSeconds(3f);
MidSpawnMids();
yield return new WaitForSeconds(2f);
yield return new WaitForSeconds(8f);

EdgeSpawn();
MidSpawnEdges();
yield return new WaitForSeconds(2f);
yield return new WaitForSeconds(4f);

EdgeSpawn();
EdgeSpawnIn();
yield return new WaitForSeconds(2f);
yield return new WaitForSeconds(4f);

EdgeSpawnLast();
MidSpawnMids();
EdgeSpawnLast();
yield return new WaitForSeconds(2f);


yield return new WaitForSeconds(6f);
EdgeSpawnLast();
EdgeSpawnIn();
EdgeSpawn();
yield return new WaitForSeconds(4f);
MidSpawnEdges();
yield return new WaitForSeconds(5f);
EdgeSpawnLast();
EdgeSpawnIn();
EdgeSpawn();
EdgeSpawn();
EdgeSpawnIn();
MidSpawnEdges();
MidSpawnMids();

yield return new WaitForSeconds(8f);
Application.LoadLevel(3);
Debug.Log("enumerator Ends");

}
Expand Down
26 changes: 13 additions & 13 deletions ShipShooter/Assets/Scripts/Legosteroid.cs
Expand Up @@ -28,24 +28,24 @@ public class Legosteroid : MonoBehaviour {
brick3 = (GameObject)Instantiate(piece3, new Vector3(gameObject.transform.position.x - 1.4f, gameObject.transform.position.y + 2, 5), Quaternion.identity);
brick4 = (GameObject)Instantiate(piece4, new Vector3(gameObject.transform.position.x + 3, gameObject.transform.position.y + 1, 5), Quaternion.identity);

iTween.MoveTo(brick1, new Vector3(brick1.transform.position.x + 20, brick1.transform.position.y - 17, 5), 10);
iTween.MoveTo(brick2, new Vector3(brick1.transform.position.x - 22, brick1.transform.position.y + 35, 5), 10);
iTween.MoveTo(brick3, new Vector3(brick1.transform.position.x - 35, brick1.transform.position.y - 22, 5), 10);
iTween.MoveTo(brick4, new Vector3(brick1.transform.position.x + 40, brick1.transform.position.y + 20, 5), 10);
iTween.MoveTo(brick1, new Vector3(brick1.transform.position.x + 20, brick1.transform.position.y - 17, 5), 15);
iTween.MoveTo(brick2, new Vector3(brick1.transform.position.x - 22, brick1.transform.position.y + 35, 5), 16);
iTween.MoveTo(brick3, new Vector3(brick1.transform.position.x - 35, brick1.transform.position.y - 22, 5), 17);
iTween.MoveTo(brick4, new Vector3(brick1.transform.position.x + 40, brick1.transform.position.y + 20, 5), 16);
Destroy(gameObject);
}
if (brick1.transform.position.z != 5)
brick1.transform.position = new Vector3(brick1.transform.position.x, brick1.transform.position.y, 5);
if (brick2.transform.position.z != 5)
brick2.transform.position = new Vector3(brick2.transform.position.x, brick2.transform.position.y, 5);
if (brick3.transform.position.z != 5)
brick3.transform.position = new Vector3(brick3.transform.position.x, brick3.transform.position.y, 5);
if (brick4.transform.position.z != 5)
brick4.transform.position = new Vector3(brick4.transform.position.x, brick4.transform.position.y, 5);
//if (brick1.transform.position.z != 5)
// brick1.transform.position = new Vector3(brick1.transform.position.x, brick1.transform.position.y, 5);
//if (brick2.transform.position.z != 5)
// brick2.transform.position = new Vector3(brick2.transform.position.x, brick2.transform.position.y, 5);
//if (brick3.transform.position.z != 5)
// brick3.transform.position = new Vector3(brick3.transform.position.x, brick3.transform.position.y, 5);
//if (brick4.transform.position.z != 5)
// brick4.transform.position = new Vector3(brick4.transform.position.x, brick4.transform.position.y, 5);
}

void Update()
{
gameObject.transform.eulerAngles = new Vector3(gameObject.transform.eulerAngles.x + 5, gameObject.transform.eulerAngles.y, gameObject.transform.eulerAngles.z);
// gameObject.transform.eulerAngles = new Vector3(gameObject.transform.eulerAngles.x + 5, gameObject.transform.eulerAngles.y, gameObject.transform.eulerAngles.z);
}
}
32 changes: 27 additions & 5 deletions ShipShooter/Assets/Scripts/LegosteroidSpawner.cs
Expand Up @@ -3,14 +3,36 @@ using System.Collections;

public class LegosteroidSpawner : MonoBehaviour {

// Use this for initialization
void Start () {

}
public GameObject asteroid;

public GameObject spawnAsteroid1;
public GameObject spawnAsteroid2;
public GameObject spawnAsteroid3;
public GameObject spawnAsteroid4;

// Use this for initialization
void Start ()
{
StartCoroutine(AsteroidSpawn());

}


IEnumerator AsteroidSpawn()
{
yield return new WaitForSeconds(0.2f);
yield return new WaitForSeconds(5f);
spawnAsteroid1 = (GameObject)Instantiate(asteroid, new Vector3(-20.02866f, 11.89162f, 10f), Quaternion.identity);
iTween.MoveTo(spawnAsteroid1, new Vector3(31.74726f, -10.16816f, 10f), 10);
yield return new WaitForSeconds(3f);
spawnAsteroid1 = (GameObject)Instantiate(asteroid, new Vector3(-5.576063f, 14.47898f, 10f), Quaternion.identity);
iTween.MoveTo(spawnAsteroid1, new Vector3(-18.1424f, -11.79514f, 10f), 10);
yield return new WaitForSeconds(7f);
spawnAsteroid1 = (GameObject)Instantiate(asteroid, new Vector3(-19.92406f, 5.991251f, 10f), Quaternion.identity);
iTween.MoveTo(spawnAsteroid1, new Vector3(28.23111f, 10.77588f, 10f), 10);
yield return new WaitForSeconds(5f);
spawnAsteroid1 = (GameObject)Instantiate(asteroid, new Vector3(19.55236f, 14.41265f, 10f), Quaternion.identity);
iTween.MoveTo(spawnAsteroid1, new Vector3(5.40216f, -5.104211f, 10f), 10);

}

// Update is called once per frame
Expand Down
35 changes: 35 additions & 0 deletions ShipShooter/Assets/Scripts/Score.cs
@@ -0,0 +1,35 @@
using UnityEngine;
using System.Collections;
using UnityEngine.UI;

public class Score : MonoBehaviour {
//public static string updateField;
//public static int scoreTracker = 0;
//Text updates;

//public GameObject bullet;
//void OnCollisionEnter(Collision collision)
//{
// if (collision.gameObject.tag == "Bullet")
// {
// if (other.gameObject.tag == "enemy")
// scoreTracker = scoreTracker + 10;
// }
//}
//void Awake()
//{
// updates = GetComponent<Text>();

//}

//void Start()
//{
// updateField = "000";

//}
//void Update()
//{
// updateField = scoreTracker.ToString();
//}

}
12 changes: 12 additions & 0 deletions ShipShooter/Assets/Scripts/Score.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions ShipShooter/Assets/Scripts/StartGame.cs
@@ -0,0 +1,12 @@
using UnityEngine;
using System.Collections;

public class StartGame : MonoBehaviour {

public void PlayButton()
{
Application.LoadLevel(1);
}


}
12 changes: 12 additions & 0 deletions ShipShooter/Assets/Scripts/StartGame.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ShipShooter/Library/AssetImportState
@@ -1 +1 @@
5;0;-1
6;0;-1
Binary file modified ShipShooter/Library/CurrentLayout.dwlt
Binary file not shown.
Binary file modified ShipShooter/Library/EditorUserBuildSettings.asset
Binary file not shown.
Binary file modified ShipShooter/Library/InspectorExpandedItems.asset
Binary file not shown.
Binary file modified ShipShooter/Library/ProjectSettings.asset
Binary file not shown.
Binary file not shown.
Binary file modified ShipShooter/Library/ScriptAssemblies/Assembly-CSharp.dll.mdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit ee3ac1d

Please sign in to comment.