{"action":"created","issue":{"url":"https://api.github.com/repos/IAMColumbia/NationalSpaceship/issues/74","labels_url":"https://api.github.com/repos/IAMColumbia/NationalSpaceship/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/IAMColumbia/NationalSpaceship/issues/74/comments","events_url":"https://api.github.com/repos/IAMColumbia/NationalSpaceship/issues/74/events","html_url":"https://github.com/IAMColumbia/NationalSpaceship/issues/74","id":57125428,"number":74,"title":"MG_EnemyDeath","user":{"login":"marco1251","id":6646155,"avatar_url":"https://avatars.githubusercontent.com/u/6646155?v=3","gravatar_id":"","url":"https://api.github.com/users/marco1251","html_url":"https://github.com/marco1251","followers_url":"https://api.github.com/users/marco1251/followers","following_url":"https://api.github.com/users/marco1251/following{/other_user}","gists_url":"https://api.github.com/users/marco1251/gists{/gist_id}","starred_url":"https://api.github.com/users/marco1251/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marco1251/subscriptions","organizations_url":"https://api.github.com/users/marco1251/orgs","repos_url":"https://api.github.com/users/marco1251/repos","events_url":"https://api.github.com/users/marco1251/events{/privacy}","received_events_url":"https://api.github.com/users/marco1251/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/IAMColumbia/NationalSpaceship/milestones/3","html_url":"https://github.com/IAMColumbia/NationalSpaceship/milestones/Marco%20Garcia%20-%20Project","labels_url":"https://api.github.com/repos/IAMColumbia/NationalSpaceship/milestones/3/labels","id":973939,"number":3,"title":"Marco Garcia - Project","description":"","creator":{"login":"noahmjohnson","id":8524462,"avatar_url":"https://avatars.githubusercontent.com/u/8524462?v=3","gravatar_id":"","url":"https://api.github.com/users/noahmjohnson","html_url":"https://github.com/noahmjohnson","followers_url":"https://api.github.com/users/noahmjohnson/followers","following_url":"https://api.github.com/users/noahmjohnson/following{/other_user}","gists_url":"https://api.github.com/users/noahmjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/noahmjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noahmjohnson/subscriptions","organizations_url":"https://api.github.com/users/noahmjohnson/orgs","repos_url":"https://api.github.com/users/noahmjohnson/repos","events_url":"https://api.github.com/users/noahmjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/noahmjohnson/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":0,"state":"open","created_at":"2015-02-10T17:08:40Z","updated_at":"2015-02-10T17:13:09Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-02-10T03:21:15Z","updated_at":"2015-02-25T01:17:49Z","closed_at":null,"body":"Description\r\nthe enemies will play sounds when they are destroyed by the player \r\n\r\nRequirements\r\n-enemies will be destroyed when touched by a player bullet\r\n-player bullets are triggers that will be deactivated when they touch an enemy\r\n-when destroyed, an enemy will be removed from the game and a sound will play (both enemy and bullet will disappear from the game)\r\n-some enemies will explode into smaller enemies that can hurt the player on contact \r\n\r\nNew Code\r\n\r\nvoid OnTriggerEnter(Collider other)\r\n    {\r\n\r\n        if (other.gameObject.tag == (\"PlayerBullet\"))\r\n        {\r\n         Destroy(this.gameObject);\r\n         print(\"enemy hit\");\r\n        }\r\n\r\n        if (other.gameObject.tag == (\"Player\"))\r\n        {\r\n            print(\"player has been hit\");\r\n        }\r\n\r\n    }\r\n\r\nPrevious Work\r\nnone\r\n\r\nOther Notes\r\nI want to have my player bullets destroying enemies as my first encounter/whitebox assignment for class 4 (2/17/15)"},"comment":{"url":"https://api.github.com/repos/IAMColumbia/NationalSpaceship/issues/comments/75886953","html_url":"https://github.com/IAMColumbia/NationalSpaceship/issues/74#issuecomment-75886953","issue_url":"https://api.github.com/repos/IAMColumbia/NationalSpaceship/issues/74","id":75886953,"user":{"login":"marco1251","id":6646155,"avatar_url":"https://avatars.githubusercontent.com/u/6646155?v=3","gravatar_id":"","url":"https://api.github.com/users/marco1251","html_url":"https://github.com/marco1251","followers_url":"https://api.github.com/users/marco1251/followers","following_url":"https://api.github.com/users/marco1251/following{/other_user}","gists_url":"https://api.github.com/users/marco1251/gists{/gist_id}","starred_url":"https://api.github.com/users/marco1251/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marco1251/subscriptions","organizations_url":"https://api.github.com/users/marco1251/orgs","repos_url":"https://api.github.com/users/marco1251/repos","events_url":"https://api.github.com/users/marco1251/events{/privacy}","received_events_url":"https://api.github.com/users/marco1251/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T01:17:49Z","updated_at":"2015-02-25T01:17:49Z","body":"enemy state script\r\nhttps://github.com/marco1251/MG_MusicShooter/blob/master/MusicShooter/Assets/Scripts/Enemy.cs\r\n\r\nEnemies lose health when hit by a player bullet. Enemies get destroyed when health reaches 0. "}}