In this video I finally start my How to Make Video Games tutorial series. I’m going to start off with Pong so that we can completely understand the Unity 5.6 interface, Sprites, Scenes, Physics, Keyboard Input, Collision Detection, Sound Effects, User Interfaces, Splash Screens, and so much more.
I already have games based on Space Invaders, Asteroids, Pac Man, Mario, Tetris, etc. ready to go. I also plan on making 2D Tower Defense and other popular games over the course of this series. After I finish up with 2D I’ll then start making 3D games. It should be a ton of fun.
If you like this tutorial series consider donating $1 on Patreon
[googleplusone]
MovePaddle.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MovePaddle : MonoBehaviour {
public float speed = 30;
void FixedUpdate(){
float vertPress = Input.GetAxisRaw ("Vertical");
GetComponent<Rigidbody2D> ().velocity = new Vector2 (0, vertPress) * speed;
}
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}