Heya, here’s my rendition of Block Breaker, which is really the first complete game I’ve ever made (Unless you count Number Wizard.)
http://gamebucket.io/game/28d9c0a5-7e83-44eb-8aa3-0d8965ad62d2
Didn’t stray much from the video, I created my own sprite sheet with GIMP, used different music and sounds, solved the boring loop problem utilizing Lucas_Olstad’s solution that was posted here:
So I noticed a problem with the code in this section. You are always adding positive values when the velocities may in fact be negative. Meaning if your ball has a Y velocity of -2f and you add a value of 2f, the Y velocity is now 0, thus you are actually slowing the ball down.
I modified the code a little bit and came up with my own solution (note that this is also coded in Unity 5):
if (Mathf.Abs(GetComponent<Rigidbody2D>().velocity.x) < 1.5f)
{
// Copy the current values i…
All in all a positive experience.