Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

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

Logystone

Newbie
  • Content Count

    18
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Logystone

  • Rank
    Newbie
  • Birthday 07/21/2000

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Logystone

    The Future of Unity!

    Thank you bro ❤️, Honestly i totally agree with you but just want to ask this question... even i can't see myself working on another game engine.
  2. Logystone

    The Future of Unity!

    Hello everyone. My name is Mohammad Nazzal i'm 18 Years old and have 3 years experience of Unity3D Engine. however after a week i will start university. Today i met my cousin who studied Software engineering and working in a big company and he knows a lot about the trending games and the engines used in that game, So i asked him "Is Unity3D Game engine worth working on it after the university like a job ?", he said "No" then he told me "tell me about the trending games right now like fortnite , PUBG ..ETC, they are all using Unreal engine" and if you want to get a game development job you should learn Unreal engine instead of Unity3D so you could work in Triple-A Studios .. and honestly i don't know what to do with my unity projects, c# experience ...etc any help,Critics ? guys be serious with the answer and forget the domain "ArmedUnity"
  3. Hello everyone, first of all sorry if i asked too many questions... but there's a few errors left in my 2nd game . I'm working on android game and almost %75 of the game in the Canvas.. I'm working on (1440x2800) screen size and this is my canvas settings : When i play the game on LG G5 The game works perfectly and the enemy speed is correct as i need (100), but when i played it on resolution (720x1280) the enemies on the game didn't even appear because of its speed (100) when i decreased the speed like (100->5) some of the doesn't appear and some of them i can see them as i see them on LG G5 . and honestly my mind is blown (NOTICE : the enemy is in the canvas as image)
  4. Thank you all very much! ❤️ it worked finally ..
  5. Hello everyone this is "ShapeChangeBeta" Script, i want to activate a one GameObject in an array and disable the rest and it works but sometimes when i click the button it activate a GameObject 2-3 times in row means repeating(EXAMPLE : like the cube is active and when i click the button to activate another shape like circle, it activate the same cube....). and i don't want to repeat it. i searched on google and everywhere with no answers! using System.Collections; using System.Collections.Generic; using UnityEngine; public class ShapeChangeBeta : MonoBehaviour { public GameObject[] Shapes; private int currentIndex = 0; void Start() { Shapes[0].SetActive(true); } public void OnButtonClick() { int newIndex = Random.Range(0, Shapes.Length); // Deactivate old gameobject Shapes[currentIndex].SetActive(false); // Activate new gameobject currentIndex = newIndex; Shapes[currentIndex].SetActive(true); } Thank you everyone!
  6. Logystone

    GameObjects spawning!

    Thank you very much! it worked finally but some of the Instantiated gameobjects go up and down and each enemy has this script talk a look at "enemySpeed" and the reason there's "-"before "enemySpeed" that because if i didn't put "-" it go up auto.., and there's another problem about GameManager script i'm trying to access to this script but when it Instantiated i get this error on trigger : "NullReferenceException: Object reference not set to an instance of an object EnemyManager.OnTriggerEnter2D (UnityEngine.Collider2D player) " using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyManager : MonoBehaviour { public Float enemySpeed; public GameManager gameManager; public Bool lose; // Update is called once per frame void Update() { transform.Translate(0f,-enemySpeed * Time.deltaTime,0f); } void OnTriggerEnter2D(Collider2D player) { if (this.gameObject.tag == "Gift4") { if (player.gameObject.tag == "Cube" || player.gameObject.tag == "Cylinder" || player.gameObject.tag == "Circle" || player.gameObject.tag == "ConeUp" || player.gameObject.tag == "ConeDown") { gameManager.Gift4(); Destroy(gameObject); } else { Destroy(gameObject); } } } NOTICE(in the pref i attached the script but after instantiate it de-attach auto..) i don't know if there's a better way to access to this script without getting errors and i'm sorry if i must create another topic for this error. Thank you all! (NOTICE!!!: About the Instantiated gameobjects that go up and down i fixed it i made a dumb mistake nvm 😂)
  7. Logystone

    GameObjects spawning!

    Hello everyone this is EnemySpawner script, first of all whats the problem with this code? nothing spawns and the second thing how can i spawn them in Canvas ? because they are UI Images using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class EnemySpawner : MonoBehaviour { public GameObject[] enemies; public Transform[] spawnPoints; // public RectTransform[] spawnPoints; public float spawnWait; public float spawnMostWait; public float spawnLeastWait; public int startWait; public bool stop; int randEnemy; void Start() { StartCoroutine(waitSpawner()); } void Update() { spawnWait = Random.Range(spawnLeastWait, spawnMostWait); } IEnumerator waitSpawner() { yield return new WaitForSeconds(startWait); while (!stop) { randEnemy = Random.Range(0, 5); int spawnPointIndex = Random.Range(0, spawnPoints.Length); Instantiate(enemies[randEnemy], spawnPoints[spawnPointIndex].position, spawnPoints[spawnPointIndex].rotation); yield return new WaitForSeconds(spawnWait); // gameObject.transform.SetParent(GameObject.FindGameObjectWithTag("Canvas").transform, false); } } }
  8. Hello everyone, Sorry for duplicating the question, This is Register.php Script <?PHP if(isset($_POST['user'])) { $user = $_POST['user']; } if(isset($_POST['email'])) { $email = $_POST['email']; } if(isset($_POST['password'])) { $pass = $_POST['password']; } $con = mysqli_connect("fdb16.awardspace.net","db_user","db_pass"); if (!empty($con)) die('Could not connect: ' . mysqli_connect_error($con)); $db_select = mysqli_select_db($con,"db_user"); if(!empty($db_select)) { die("Database selection failed: " . mysqli_error($db_select)); } if(!empty($user)) { $check = mysqli_query("SELECT * FROM `userinfo` WHERE `user`='".$user."'"); } if(!empty($check)) { $numrows = mysqli_num_rows($check); } if(!empty($numrows)) { if ($numrows == 0) { $pass = md5($pass); $ins = mysqli_query("INSERT INTO `userinfo` ( `id` , `user` , `email` , `pass` ) VALUES ('' , '".$user."' , '".$email."' , '".$pass."') ; "); if ($ins) die ("Succesfully Created User!"); else die ("Error: " . mysqli_error()); } else { die("User allready exists!"); } } ?> And i get this error : Warning: mysqli_connect(): (HY000/2002): Connection refused in /storage/ssd1/777/6725777/public_html/register.php on line 17Warning: mysqli_select_db() expects parameter 1 to be mysqli, boolean given in /storage/ssd1/777/6725777/public_html/register.php on line 21
  9. Logystone

    What's wrong with my register.php code!?

    @randomrabbit Thank you so much! @omard2000 Honestly i'm glad to hear this from you ,If you don't have any problem with Skype can you give me yours ?
  10. Logystone

    What's wrong with my register.php code!?

    @omard2000 this is testing script
  11. Logystone

    What's wrong with my register.php code!?

    @omard2000 Thank you so much!
  12. Logystone

    What's wrong with my register.php code!?

    @OcularCash Online
  13. <?PHP $user = $_POST['user']; $email = $_POST['email']; $pass = $_POST['password']; $con = mysqli_connect("lool","lool","lool"); if (!$con) die('Could not connect: ' . mysqli_error()); $db_select = mysqli_select_db("lool" , $con); if($db_select) { die("Database selection failed: " . mysqli_error($db_select)); } $check = mysqli_query("SELECT * FROM `userinfo` WHERE `user`='".$user."'"); $numrows = mysqli_num_rows($check); if ($numrows == 0) { $pass = md5($pass); $ins = mysqli_query("INSERT INTO `userinfo` ( `id` , `user` , `email` , `password` ) VALUES ('' , '".$user."' , '".$email."' , '".$password."') ; "); if ($ins) die ("Succesfully Created User!"); else die ("Error: " . mysqli_error()); } else { die("User allready exists!"); } ?> and i get these errors! Notice: Undefined index: user in /storage/ssd1/342/6725777/public_html/register.php on line 3Notice: Undefined index: email in /storage/ssd1/342/6725777/public_html/register.php on line 4Notice: Undefined index: password in /storage/ssd1/342/6725777/public_html/register.php on line 5Warning: mysqli_select_db() expects parameter 1 to be mysqli, string given in /storage/ssd1/342/6725777/public_html/register.php on line 11Warning: mysqli_query() expects at least 2 parameters, 1 given in /storage/ssd1/342/6725342/public_html/register.php on line 17Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, null given in /storage/ssd1/342/6725342/public_html/register.php on line 18Notice: Undefined variable: password in /storage/ssd1/342/6725342/public_html/register.php on line 22Warning: mysqli_query() expects at least 2 parameters, 1 given in /storage/ssd1/342/6725342/public_html/register.php on line 22Warning: mysqli_error() expects exactly 1 parameter, 0 given in /storage/ssd1/342/6725342/public_html/register.php on line 26Error:
  14. Logystone

    Welcome Window (Form)

    Wow Nice! Thaanks bro it helped me alot!
  15. Logystone

    Unity Recorder

    Thanks bro! I've just fixed it now! Deleted all recorder assets and re imported!
×