{"action":"created","issue":{"url":"https://api.github.com/repos/lodici/magarena-cardbuilder/issues/25","labels_url":"https://api.github.com/repos/lodici/magarena-cardbuilder/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/lodici/magarena-cardbuilder/issues/25/comments","events_url":"https://api.github.com/repos/lodici/magarena-cardbuilder/issues/25/events","html_url":"https://github.com/lodici/magarena-cardbuilder/issues/25","id":70656176,"number":25,"title":"Thoughts on CardBuilder first-phase integration specifics.","user":{"login":"lodici","id":2443519,"avatar_url":"https://avatars.githubusercontent.com/u/2443519?v=3","gravatar_id":"","url":"https://api.github.com/users/lodici","html_url":"https://github.com/lodici","followers_url":"https://api.github.com/users/lodici/followers","following_url":"https://api.github.com/users/lodici/following{/other_user}","gists_url":"https://api.github.com/users/lodici/gists{/gist_id}","starred_url":"https://api.github.com/users/lodici/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lodici/subscriptions","organizations_url":"https://api.github.com/users/lodici/orgs","repos_url":"https://api.github.com/users/lodici/repos","events_url":"https://api.github.com/users/lodici/events{/privacy}","received_events_url":"https://api.github.com/users/lodici/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-04-24T10:47:50Z","updated_at":"2015-05-13T17:10:36Z","closed_at":null,"body":"First \"``MagicCardDefinition``\" phase being the idea that we can use CardBuilder as a drop-in replacement for obtaining vanilla card images. The images will then be used in the same way a downloaded image is now. \r\n\r\n- CardBuilder and the current mechanism for using downloaded images should be able to run in parallel, even compliment each other, eg -\r\n - always use downloaded image.\r\n    - unless missing, in which case use CardBuilder image.\r\n - always use CardBuilder image.\r\n   - unless full image is available.\r\n- CardBuilder images should be playable even without cropped images.\r\n  - New install of Magarena uses CB images by default.\r\n  - Do away with TextMode?\r\n- Magarena should use the same caching for CardBuilder images as it does for the full downloaded images. \r\n- Download option required for cropped images. \r\n  - Responsibility of Magarena and should use the same mechanism as is currently used for downloading the full images.\r\n  - Add a ``crops`` sub-folder to the images download location. \r\n  - Crops should be named in the same way the full images are named now.\r\n  - Will need to add crop image download url to script? Scripts-Builder?\r\n- CardBuilder is responsible for loading the crop image from the ``crops`` folder and implementing any necessary caching.\r\n- use [``MagicRenderable``](https://github.com/magarena/magarenaCardBuilder/issues/5#issuecomment-94999582) interface."},"comment":{"url":"https://api.github.com/repos/lodici/magarena-cardbuilder/issues/comments/101749233","html_url":"https://github.com/lodici/magarena-cardbuilder/issues/25#issuecomment-101749233","issue_url":"https://api.github.com/repos/lodici/magarena-cardbuilder/issues/25","id":101749233,"user":{"login":"ShawnieBoy","id":2363180,"avatar_url":"https://avatars.githubusercontent.com/u/2363180?v=3","gravatar_id":"","url":"https://api.github.com/users/ShawnieBoy","html_url":"https://github.com/ShawnieBoy","followers_url":"https://api.github.com/users/ShawnieBoy/followers","following_url":"https://api.github.com/users/ShawnieBoy/following{/other_user}","gists_url":"https://api.github.com/users/ShawnieBoy/gists{/gist_id}","starred_url":"https://api.github.com/users/ShawnieBoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShawnieBoy/subscriptions","organizations_url":"https://api.github.com/users/ShawnieBoy/orgs","repos_url":"https://api.github.com/users/ShawnieBoy/repos","events_url":"https://api.github.com/users/ShawnieBoy/events{/privacy}","received_events_url":"https://api.github.com/users/ShawnieBoy/received_events","type":"User","site_admin":false},"created_at":"2015-05-13T17:10:36Z","updated_at":"2015-05-13T17:10:36Z","body":"With this in place, it shouldn't be too difficult to put in place an UpdateCardImage() for when a card's properties change (e.g.. colour, type, subtype, pt etc.) to reflect the changes."}}