Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Final Build
-Its done!
  • Loading branch information
lan11001 committed Oct 10, 2013
1 parent 961cf0b commit 594d3a6
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 3 deletions.
15 changes: 15 additions & 0 deletions Guardian of Silverkeep/Assets/Scene_John/GameOver.unity
Expand Up @@ -179,6 +179,7 @@ GameObject:
- 64: {fileID: 322396167}
- 23: {fileID: 322396166}
- 114: {fileID: 322396170}
- 114: {fileID: 322396171}
m_Layer: 0
m_Name: Plane
m_TagString: Untagged
Expand Down Expand Up @@ -249,6 +250,20 @@ MonoBehaviour:
color0: {r: 1, g: 1, b: 1, a: 0}
color1: {r: 1, g: 1, b: 1, a: 1}
duration: 3
--- !u!114 &322396171
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 322396165}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: aa6e9e146fe25475aa96f35b898960b8, type: 3}
m_Name:
m_EditorClassIdentifier:
timeleft: 0
totaltime: 3
levelname: MainMenu
--- !u!1 &844382857
GameObject:
m_ObjectHideFlags: 0
Expand Down
15 changes: 15 additions & 0 deletions Guardian of Silverkeep/Assets/Scene_John/VictoryScreen.unity
Expand Up @@ -86,6 +86,7 @@ GameObject:
- 64: {fileID: 322396167}
- 23: {fileID: 322396166}
- 114: {fileID: 322396170}
- 114: {fileID: 322396171}
m_Layer: 0
m_Name: Plane
m_TagString: Untagged
Expand Down Expand Up @@ -156,6 +157,20 @@ MonoBehaviour:
color0: {r: 1, g: 1, b: 1, a: 0}
color1: {r: 1, g: 1, b: 1, a: 1}
duration: 3
--- !u!114 &322396171
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 322396165}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: aa6e9e146fe25475aa96f35b898960b8, type: 3}
m_Name:
m_EditorClassIdentifier:
timeleft: 0
totaltime: 3
levelname: MainMenu
--- !u!1 &844382857
GameObject:
m_ObjectHideFlags: 0
Expand Down
5 changes: 4 additions & 1 deletion Guardian of Silverkeep/Assets/Scripts/FPS_HERO.cs
Expand Up @@ -61,7 +61,10 @@ public class FPS_HERO: MonoBehaviour

void Update ()
{

if(Input.GetKey(KeyCode.Escape))
Screen.lockCursor = false;
else
Screen.lockCursor = true;

if (state != State.Dead)
{
Expand Down
6 changes: 6 additions & 0 deletions Guardian of Silverkeep/Assets/Scripts/Hero.cs
Expand Up @@ -50,6 +50,8 @@ public class Hero: MonoBehaviour
void Start () {
state = State.Playing;
timeStamp = Time.time + coolDownPeriodInSeconds;
Screen.lockCursor = true;
Screen.showCursor = false;

}

Expand All @@ -63,6 +65,10 @@ public class Hero: MonoBehaviour
*/
void Update ()
{
// if(Input.GetKey(KeyCode.Escape))
// Screen.lockCursor = false;
// else
// Screen.lockCursor = true;
if (state != State.Dead)
{

Expand Down
4 changes: 2 additions & 2 deletions Guardian of Silverkeep/ProjectSettings/ProjectSettings.asset
Expand Up @@ -10,7 +10,7 @@ PlayerSettings:
targetGlesGraphics: 1
targetResolution: 0
accelerometerFrequency: 60
companyName: DefaultCompany
companyName: Game Huskies
productName: Guardian of Silverkeep
defaultCursor: {fileID: 0}
cursorHotspot: {x: 0, y: 0}
Expand Down Expand Up @@ -106,7 +106,7 @@ PlayerSettings:
m_BuildTargetIcons:
- m_BuildTarget:
m_Icons:
- m_Icon: {fileID: 0}
- m_Icon: {fileID: 2800000, guid: 7e53829d09be4594eafd649733610e44, type: 3}
m_Size: 128
m_BuildTargetBatching: []
webPlayerTemplate: APPLICATION:Default
Expand Down

0 comments on commit 594d3a6

Please sign in to comment.