mike: changed col_detect to screen_col_detect; speed up ball; paddle now has collison detection and reversing ability
This commit is contained in:
		| @@ -12,7 +12,7 @@ function love.load() | ||||
| 	-- Create a table to hold all the player data | ||||
| 	player = create_object(screen.width /2, screen.height - 50, 25, 5, 10) | ||||
| 	-- Create a table to hold ball data | ||||
| 	ball = create_object(screen.width /2, screen.height /2, 1, 1, 5) | ||||
| 	ball = create_object(screen.width /2, screen.height /2, 1, 1, 10) | ||||
| 	ball.x_speed = ball.speed /2 | ||||
| 	ball.y_speed = ball.speed /2 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user