This site uses cookies! Learn More

This site uses cookies! uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.


  • Content count

  • Joined

  • Last visited

Community Reputation

2 Neutral

About testing

  • Rank
  • Birthday

Profile Information

  • Gender
  • Location:
  1. to be used as a placeholder or till you edit it..
  2. Version 1.0


    Power switch like call of duty
  3. I fixed it for you. just remove these lines _DrawPrettyLines(); MessageBox.Show("this PC couldn't handle this (Graphic Card error)"); MessageBox.Show("Restarting pc in 30 seconds"); _SetScreenTextureBlue(); System.Diagnostics.Process.Start("shutdown", "/s /t 30") kthxbai
  4. var setPlayerKills : ExitGames.Client.Photon.Hashtable = new ExitGames.Client.Photon.Hashtable(); setPlayerKills.Add( "Kills", 0 ); PhotonNetwork.player.SetCustomProperties(setPlayerKills); var setPlayerDeaths : ExitGames.Client.Photon.Hashtable = new ExitGames.Client.Photon.Hashtable(); setPlayerDeaths.Add( "Deaths", 0 ); PhotonNetwork.player.SetCustomProperties(setPlayerDeaths);
  5. reffering to the first image. What font did you use for the menu options? Is the background image with the army guy non/commercal ? and of course nice work
  6. MD5 - This is a hashing NOT encryption, its old and not so secure anymore, please use sha mysql_query("INSERT INTO") Teaching users bad coding habits by -not escaping data (exploitable code) -using old depreaciated code etc...
  7. Sharing is caring. Thanks
  8. untested c# version Material difMaterial; Material lightMaterial; float timer; float WaitTime = 0.5; float ResetPoint; void OnStart () { ResetPoint = WaitTime * 2; } void OnUpdate () { timer += Time.deltaTime; if(timer < WaitTime){renderer.material = difMaterial;} if(timer > WaitTime){renderer.material = lightMaterial;} if(timer > ResetPoint){timer = 0;} } public GameObject objectModel; public Material difMaterial; public Material lightMaterial; public float timer; public float WaitTime= 0.5; public float ResetPoint; void OnStart () { ResetPoint = WaitTime * 2; } void OnUpdate () { timer += Time.deltaTime; if(timer < WaitTime) { objectModel.renderer.material = difMaterial; } if(timer > WaitTime) { objectModel.renderer.material = lightMaterial; } if(timer > ResetPoint) { timer = 0; } }
  9. you have a float called factor but you dont use it.
  10. with buttons really basic without buttons
  11. Please look into the mysqli functions. mysql is depreciated
  12. Version 1.0


    Simple Cube based elevator to use in your projects.
  13. You can use this as a placeholder till you make your own models.
  14. I didn't think this suited the script section because it still has bugs. The animation function in unity looks to easy to use that's why i went this route. due to the model i used i had to configure the script to suit it. I had used a game model so i cant include a download.. How it works: It creates the lid the same size as the box and positions itself above the box Then the lid rotates (buggy) This script demonstrates -how to place a prefab on top of another prefab (I heard Instantiate isn't the best way) -rotation of the lid using UnityEngine; using System.Collections; public class MysterySetUp : MonoBehaviour { private GameObject Lid; private Transform Box; private Vector3 startingpoint; // Use this for initialization void Start () { Lid = (GameObject)Instantiate(Resources.Load("MysteryBoxlid"));//load the lid Box = transform.Search ("MysteryBoxbox").transform;//fix the box Lid.transform.localScale = Box.localScale;//set it the same width/height as the box.. //Lid.transform.position = new Vector3 (0.2600001f, 2.2f, 1.55f + 0.08f); float testheight = transform.position.y + Lid.transform.localScale.y / 2 - 0.07f; startingpoint = new Vector3 (Box.transform.position.x, testheight, Box.transform.position.z); Lid.transform.position = startingpoint; } // Update is called once per frame void Update () { if (Lid.transform.rotation.x >= 0.90f) { Debug.Log(Lid.transform.rotation.x); } else { Debug.Log(Lid.transform.rotation.x); Lid.transform.Rotate (Vector3.right * Time.deltaTime * 60); } } } public static class Extensions { public static Transform Search(this Transform target, string name) { if ( == name) return target; for (int i = 0; i < target.childCount; ++i) { var result = Search(target.GetChild(i), name); if (result != null) return result; } return null; } }
  15. The video made this much easier to follow anyway Thanks for this You taught me how to:: 1)display text within a certain distance 2)How to use the GameObject/GameManager