{"json_modified": "2016-03-28T08:46:11.224998", "uuid": "07a654ec-9263-44a2-99ed-79030b4bc95c", "title": "Extra lives", "url": "/en-US/docs/Games/Tutorials/2D_breakout_game_Phaser/Extra_lives", "tags": ["Canvas", "Beginner", "Phaser", "lives", "beginner", "Tutorial", "JavaScript", "canvas", "Games", "2D"], "translations": [], "modified": "2016-03-14T03:43:56", "label": "Extra lives", "localization_tags": [], "locale": "en-US", "id": 159285, "last_edit": "2016-03-14T03:43:26", "summary": "We can make the game enjoyable for longer by adding lives. In this article we'll implement a lives system, so that the player can continue playing until they have lost three lives, not just one.", "sections": [{"id": "Subnav", "title": "Subnav"}, {"id": "New_variables", "title": "New variables"}, {"id": "Defining_the_new_text_labels", "title": "Defining the new text labels"}, {"id": "Making_our_text_styling_DRY", "title": "Making our text styling DRY"}, {"id": "The_lives_handling_code", "title": "The lives handling code"}, {"id": "Events", "title": "Events"}, {"id": "Compare_your_code", "title": "Compare your code"}, {"id": "Next_steps", "title": "Next steps"}], "slug": "Games/Tutorials/2D_breakout_game_Phaser/Extra_lives", "review_tags": []}