Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
game has connected to UI. Needs more Logic
  • Loading branch information
rkv14001 committed Sep 10, 2016
1 parent 2261611 commit 3f7d701
Show file tree
Hide file tree
Showing 4,334 changed files with 429 additions and 1,087,167 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Binary file modified First Project/.DS_Store
Binary file not shown.
Binary file modified First Project/Assets/.DS_Store
Binary file not shown.
Binary file added First Project/Assets/DnDBattle.unity
Binary file not shown.
8 changes: 8 additions & 0 deletions First Project/Assets/DnDBattle.unity.meta

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

Binary file added First Project/Assets/Gotham-Bold.otf
Binary file not shown.
25 changes: 25 additions & 0 deletions First Project/Assets/Gotham-Bold.otf.meta

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

Binary file added First Project/Assets/Gotham-BoldItalic.otf
Binary file not shown.
23 changes: 23 additions & 0 deletions First Project/Assets/Gotham-BoldItalic.otf.meta

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

Binary file added First Project/Assets/Gotham-Book.otf
Binary file not shown.
24 changes: 24 additions & 0 deletions First Project/Assets/Gotham-Book.otf.meta

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

Binary file added First Project/Assets/Gotham-BookItalic.otf
Binary file not shown.
22 changes: 22 additions & 0 deletions First Project/Assets/Gotham-BookItalic.otf.meta

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

Binary file added First Project/Assets/Gotham-Medium.otf
Binary file not shown.
20 changes: 20 additions & 0 deletions First Project/Assets/Gotham-Medium.otf.meta

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

Binary file added First Project/Assets/Gotham-MediumItalic.otf
Binary file not shown.
21 changes: 21 additions & 0 deletions First Project/Assets/Gotham-MediumItalic.otf.meta

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

Binary file added First Project/Assets/GothamCond-Light.otf
Binary file not shown.
21 changes: 21 additions & 0 deletions First Project/Assets/GothamCond-Light.otf.meta

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

Binary file added First Project/Assets/GothamCond-LightItalic.otf
Binary file not shown.
20 changes: 20 additions & 0 deletions First Project/Assets/GothamCond-LightItalic.otf.meta

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

Binary file added First Project/Assets/GothamOTF.zip
Binary file not shown.
8 changes: 8 additions & 0 deletions First Project/Assets/GothamOTF.zip.meta

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

Binary file added First Project/Assets/GothamXNarrow-Light.otf
Binary file not shown.
20 changes: 20 additions & 0 deletions First Project/Assets/GothamXNarrow-Light.otf.meta

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

Binary file not shown.
21 changes: 21 additions & 0 deletions First Project/Assets/GothamXNarrow-LightItalic.otf.meta

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

Binary file added First Project/Assets/Scene/DnDCombat.unity
Binary file not shown.
8 changes: 8 additions & 0 deletions First Project/Assets/Scene/DnDCombat.unity.meta

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

9 changes: 9 additions & 0 deletions First Project/Assets/Scripts.meta

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

59 changes: 59 additions & 0 deletions First Project/Assets/Scripts/DNDFight.cs
@@ -0,0 +1,59 @@
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class DNDFight : MonoBehaviour {

public Text pName;
public Text pHitPoints;
public Text pDMG;
public Text pAcc;
public Text eName;
public Text eHitPoints;
public Text eDMG;
public Text eAcc;

public string pNameStr;
public int pHitPointsInt;
public int pDMGLow;
public int pDMGHigh;
public float pAccf;

public string eNameStr;
public int eHitPointsInt;
public int eDMGLow;
public int eDMGHigh;
public float eAccf;

// Use this for initializations
void Start () {
Debug.Log ("HI");
pName = pName.GetComponent<Text> ();
pHitPoints = pHitPoints.GetComponent<Text> ();
pDMG = pDMG.GetComponent<Text> ();
pAcc = pAcc.GetComponent<Text> ();
eName = eName.GetComponent<Text> ();
eHitPoints = eHitPoints.GetComponent<Text> ();
eDMG = eDMG.GetComponent<Text> ();
eAcc = eAcc.GetComponent<Text> ();

}



void set () {
pName.text = pNameStr;
pHitPoints.text = "HP: " + pHitPointsInt.ToString ();
pDMG.text = pDMGLow.ToString () + " - " + pDMGHigh.ToString ();
pAcc.text = "Accuracy: " + pAccf.ToString ();

eName.text = eNameStr;
eHitPoints.text = "HP: " + eHitPointsInt.ToString ();
eDMG.text = eDMGLow.ToString () + " - " + eDMGHigh.ToString ();
eAcc.text = "Accuracy: " + eAccf.ToString ();
}

// Update is called once per frame
void Update () {
set ();
}
}
12 changes: 12 additions & 0 deletions First Project/Assets/Scripts/DNDFight.cs.meta

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

23 changes: 23 additions & 0 deletions First Project/Assets/Scripts/DNDGen.cs
@@ -0,0 +1,23 @@
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class DNDGen : MonoBehaviour {

// Use this for initialization
public GameObject MyCamera;
public float playerHealth;
public string myName;

public Text text;

void Start () {
Debug.Log ("My name is " + myName);
text = GetComponent<Text> ();
text.text = "My name is " + myName;
}

// Update is called once per frame
void Update () {

}
}
12 changes: 12 additions & 0 deletions First Project/Assets/Scripts/DNDGen.cs.meta

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

0 comments on commit 3f7d701

Please sign in to comment.