Outdated: Pong Made in Unity in 4 Minutes

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Thanks dude ! This is my first try in Unity (after watching a few presentation videos, messing around with the engine, etc), and now that I have the game saved, I can add new features.

Par-Crom
Автор

Worked, i use unity for 2 days only, hope i can gain knowledge and do something out of this. Thanks

PCFrost
Автор

Great tutorial. How would you be able to control one or both paddles by clicking and dragging it instead of using keys? My thinking is is that would then translate into touch controls on an iOS device.

roywilliams
Автор

Man i like this stuff, thanks for the tutorials!!.

brayhanreyes
Автор

really? can you post the link pls
an mike, you are truly awesome, your allegro videos are really really awesome, you didnt just teach us about allegro you taught a lot about game dev stuff. pls continue your awesome work (Y)

yousufazad
Автор

Call me crazy but I like the sound of mach keyboards. Also, cool video!

BarloMung
Автор

what line is controlling the speed of the ball? how do I increase it?

LeifgoesLive
Автор

both of my paddles move together how do i stop that to make them move seperate

jt-knvn
Автор

And I happen to like the sound of that keyboard

kennykenken
Автор

I didn't wan't the paddle to go through a wall, so what I did was make it a rigidbody just so it wouldn't pass through. However, I discovered that if the player is fast enough, they can still go through. Is there a way in the script to set a limit to how far you can travel? If so, I would love to know.

jakescartoons
Автор

So how do i add boundaries and make the ball respawn and scoring?

matthewtrue
Автор

I never left! I've just been making videos for other people. You can see some more of mine over at Unity3D's channel

MikeGeigTV
Автор

Haha, thats just awsome. So simple. Must start making games in Unity for my kid :)

salvanone
Автор

Hey, could you explain how to add vertical movement? I mean back and forward?

mat.
Автор

Of course, I must've done something wrong, nothing works.

Alessandro-vlbu
Автор

Can't add this script file name, Unity 4.3.4, what this bug ? No error in scripts :(

williamduhamel
Автор

MikeGeigTV help me I cant figure out whatswrong it say at the end there an error at sy, 0 );

using UnityEngine;
using System.Collections;
public class ball : MonoBehaviour {
 float sx;
 float sy;
 // Use this for initialization
 void Start () {
  sx = Random.Range (0, 2) == 0 ? -1 : 1;
  sy = Random.Range (0, 2) == 0 ? -1 : 1;
  Rigidbody.velocity = new Vector3 (Random.Range (5, 10) * sx, Random.Range (5, 10) * sy, 0)
 }
 // Update is called once per frame
 void Update () {
 
 }
}

Jamessplatoskiw
Автор

I have unity 4.6 and nothing is moving, the paddles don't move and the ball doesn't move, followed it step by step and cannot figure out what to do

matthewdavis
Автор

My bump1 is not moving in play mode. and bump 2 goes outside of the two borders, help!

FiberGuy
Автор

hello. how do you think is better to use vector3.reflect to make ball bounce off wall or use physical material like you did?

Getsumi