Skip to content
Permalink
Browse files

I cant sleep

I keep making changes, time to stop for tonight and sleep.
  • Loading branch information
aps16104 committed Feb 24, 2020
1 parent bb0f5a6 commit 3a8c711b32e5bb54545f3b9f37d99fa59b4416ae
@@ -180,7 +180,7 @@ MonoBehaviour:
m_HorizontalOverflow: 1
m_VerticalOverflow: 1
m_LineSpacing: 1
m_Text: '''Q'' - Tank (5pt)'
m_Text: '''Q'' - Tank 5 damage'
--- !u!222 &637984
CanvasRenderer:
m_ObjectHideFlags: 0
@@ -3171,7 +3171,7 @@ MonoBehaviour:
m_HorizontalOverflow: 1
m_VerticalOverflow: 1
m_LineSpacing: 1
m_Text: '''E'' - Beam (15pt)'
m_Text: '''E'' - Beam 15 damage'
--- !u!222 &1788233995
CanvasRenderer:
m_ObjectHideFlags: 0
@@ -3328,7 +3328,7 @@ MonoBehaviour:
m_HorizontalOverflow: 1
m_VerticalOverflow: 1
m_LineSpacing: 1
m_Text: '''Space'' - Light (1pt)'
m_Text: '''Space'' - Light 1 damage'
--- !u!222 &1874034111
CanvasRenderer:
m_ObjectHideFlags: 0
@@ -30,21 +30,21 @@ void OnTriggerEnter2D(Collider2D other)

if (other.tag == "Shot" )
{
ScoreScript.scoreValue += 1;
ScoreScript.scoreValue += 3;
Destroy(other.gameObject);
Destroy(gameObject);
}

if (other.tag == "Shot_2")
{
ScoreScript.scoreValue += 1;
ScoreScript.scoreValue += 3;
Destroy(other.gameObject);
Destroy(gameObject);
}

if (other.tag == "Shot_3")
{
ScoreScript.scoreValue += 1;
ScoreScript.scoreValue += 3;
Destroy(other.gameObject);
Destroy(gameObject);
}
@@ -17,50 +17,50 @@ void Start()
// Update is called once per frame
void Update()
{
level.text = "Level:" + levelValue;
level.text = "Level:" + levelValue + "/10";
if (ScoreScript.scoreValue >= 100 && ScoreScript.scoreValue < 200 )
{
level.text = "Level:" + (levelValue + 1);
level.text = "Level:" + (levelValue + 1) + "/10";
}

if (ScoreScript.scoreValue >= 200 && ScoreScript.scoreValue < 300)
{
level.text = "Level:" + (levelValue + 2);
level.text = "Level:" + (levelValue + 2) + "/10";
}

if (ScoreScript.scoreValue >= 300 && ScoreScript.scoreValue < 400)
{
level.text = "Level:" + (levelValue + 3);
level.text = "Level:" + (levelValue + 3) + "/10";
}

if (ScoreScript.scoreValue >= 400 && ScoreScript.scoreValue < 500)
{
level.text = "Level:" + (levelValue + 4);
level.text = "Level:" + (levelValue + 4) + "/10";
}

if (ScoreScript.scoreValue >= 500 && ScoreScript.scoreValue < 600)
{
level.text = "Level:" + (levelValue + 5);
level.text = "Level:" + (levelValue + 5) + "/10";
}

if (ScoreScript.scoreValue >= 600 && ScoreScript.scoreValue < 700)
{
level.text = "Level:" + (levelValue + 6);
level.text = "Level:" + (levelValue + 6) + "/10";
}

if (ScoreScript.scoreValue >= 700 && ScoreScript.scoreValue < 800)
{
level.text = "Level:" + (levelValue + 7);
level.text = "Level:" + (levelValue + 7) + "/10";
}

if (ScoreScript.scoreValue >= 800 && ScoreScript.scoreValue < 900)
{
level.text = "Level:" + (levelValue + 8);
level.text = "Level:" + (levelValue + 8) + "/10";
}

if (ScoreScript.scoreValue >= 900 && ScoreScript.scoreValue < 1000)
{
level.text = "Level:" + (levelValue + 9);
level.text = "Level:" + (levelValue + 9) + "/10";
}

if (ScoreScript.scoreValue >= 1000 && ScoreScript.scoreValue < 10000000)

0 comments on commit 3a8c711

Please sign in to comment.
You can’t perform that action at this time.