{"json_modified": "2016-05-12T09:14:37.049382", "uuid": "dea80c4b-66d7-42d2-ae82-d605b037558b", "title": "Collision detection", "url": "/en-US/docs/Games/Tutorials/2D_Breakout_game_pure_JavaScript/Collision_detection", "tags": ["Canvas", "Beginner", "beginner", "Tutorial", "JavaScript", "detection", "collision", "canvas", "Games"], "translations": [], "modified": "2016-05-12T09:14:37", "label": "Collision detection", "localization_tags": [], "locale": "en-US", "id": 147165, "last_edit": "2016-03-14T03:43:21", "summary": "We have the bricks appearing on the screen already, but the game still isn't that interesting\u00a0as the ball goes through them. We need to think about adding collision detection so it can\u00a0bounce off the bricks and break them.", "sections": [{"id": "Subnav", "title": "Subnav"}, {"id": "A_collision_detection_function", "title": "A collision detection function"}, {"id": "Making_the_bricks_disappear_after_they_are_hit", "title": "Making the bricks disappear after they are hit"}, {"id": "Tracking_and_updating_the_status_in_the_collision_detection_function", "title": "Tracking and updating the status in the collision detection function"}, {"id": "Activating_our_collision_detection", "title": "Activating our collision detection"}, {"id": "Compare_your_code", "title": "Compare your code"}, {"id": "Next_steps", "title": "Next steps"}], "slug": "Games/Tutorials/2D_Breakout_game_pure_JavaScript/Collision_detection", "review_tags": []}