Tao Chen committed 2e22c40

fix sound and hit top/bottom now has sound too

  • Participants
  • Parent commits fc857e0

Comments (0)

Files changed (5)

 				// TODO fix the funky collision if has more time
 				// resolve y first	
+				var bounce_this_frame:Boolean = false;
 				other = collide("block", px, dy);
 				if (other != null) 
 				other = collide("block", dx, py);
-				var bounce_this_frame:Boolean = false;
 				if (other != null)
 					bounce_this_frame = true;
 		public function shoot_ball():void
+			_jump_sfx.stop();;
 			can_alley = false;
 			ball.do_predict = false;


Binary file modified.


Binary file modified.
 5!. give basket a bigger rebound fraction so it is more easy to score
 6. add more trick types, enchance tricks parsing and score calculates
 7. fix alley oop velocity, now it is quite weird. also fix alley oop lines, when doing a high shot the lines are hard to see, try to interpolate more points
-8. reduce ball size to see if it would looks better
+8!. reduce ball size to see if it would looks better
+1. add a random CHALLENGE mode that keep user scoring to a single basket or a single position