Unity iPhone Pong Example Project
The very generous Kevin R of vectorboxgames.com has donated his recent work with Unity iPhone, creating an example Pong project for you to download and pick apart and learn from. Now his game is finished it available on the App Store, Details on the game are here -
http://www.vectorboxgames.com/vong/index.html
I know a lot of people have been waiting for this so a massive thanks to Kevin on behalf of all those users for his hard work!
Here is what Kevin has to say about the project download -
This was my first Unity game. I decided to give the project up to the community as another resource to learn from. I currently have it up on the appstore, but as a free download.
It’s a clone of Pong.
The code for this game was written in Javascript. There isn’t a ton of commenting, but the code is relatively clean (for a first project), so it should be a fairly good resource to learn from. If you have any questions, feel free to ask.
It covers the use of menus, accelerometer and touch controls, 2D using 3D elements, and more. It’s a full game.
As far as licensing goes… consider it the same as any other resource in the Unity Resources section. If UT want’s to add it to the resources section, that is fine by me.
And here’s a download link to the example -

[...] Unity iPhone Pong example project- w/ sample code [...]
[...] Unity iPhone Pong example project- w/ sample code [...]
[...] Unity3D iPhone Pong example project- w/ sample code [...]
[...] Unity3D iPhone Pong example project- w/ sample code [...]
[...] Unity3D iPhone Pong example project- w/ sample code [...]
[...] Unity3D iPhone Pong example project- w/ sample code [...]
This is great! Thank you.
I’m new to unity and overall game development. I have created a simple pong game for iphone. When I’m in the game view when i’m in unity, the game goes as planned… The problem is that when I build and run the game on my ipod touch, the paddle on the right hits the ball and the ball goes twice the speed of what it should across the screen into the left player’s goal. So, for example, I start the game and the ball spans at a speed of 10, hits my paddle on the left side of the screen, the ball hits my paddle bounces off, still at a speed of 10… then hits the paddle on the right side of the screen, bounces off, and starts coming back to my paddle at a speed of 20. The reason I’m so confused is that in the game view in unity and the unity remote, the game works great, but when I actually install it on my device this one thing goes wrong. can somebody help?:)
Hi Will, what’s your version number Unity wise? and also what kind of approach are you taking to the pong game – hand coded physics or Unity rigidbodies? use pasteit4me.com to paste your script and leave a link here if you like.
Cheers
Will
[...] Unity3D iPhone Pong example project- w/ sample code [...]
[...] Unity3D iPhone Pong example project- w/ sample code [...]
I was wondering did you happen to find a way to make the ball curve when it hits the wall? I have tried to put rotation on it but it gets a weird back spin and slows down the ball. Is there any way to get a curve on the ball with out slowing it down.
Do you mean curve or rebound in the opposite angle?
[...] Unity3D iPhone Pong example project- w/ sample code [...]