How to Make a Computer Game(in Unity): Video Coming soon Perhaps the biggest tribute that a gamer can make for his love of games is to make a game himself. Hi my name is Vazgi and in this instructable I am going to teach you how to make a computer game.
We’ll add some sound effects and music, wrap up the game logic, and add multiple scenes to the game! If you don’t have it already, grab the project where we left it off in the last tutorial, and open it up in Unity. Make sure to click the Scenes\LevelScene item to make it ...
public class FireBall : MonoBehaviour2{3[SerializeField] private Rigidbody2D _rigidbody;4[SerializeField] private float _speed;56public void FlyInDirection(Vector2 flyDirection)7{8_rigidbody.velocity = flyDirection * _speed;9}1011private void OnTriggerEnter2D(Collider2D other)12{13Destroy(gameObject)...