{"action":"created","issue":{"url":"https://api.github.com/repos/christopho/solarus/issues/665","labels_url":"https://api.github.com/repos/christopho/solarus/issues/665/labels{/name}","comments_url":"https://api.github.com/repos/christopho/solarus/issues/665/comments","events_url":"https://api.github.com/repos/christopho/solarus/issues/665/events","html_url":"https://github.com/christopho/solarus/issues/665","id":64314399,"number":665,"title":"Editor feature request: glue/unglue entities in the editor.","user":{"login":"Diarandor","id":5383999,"avatar_url":"https://avatars.githubusercontent.com/u/5383999?v=3","gravatar_id":"","url":"https://api.github.com/users/Diarandor","html_url":"https://github.com/Diarandor","followers_url":"https://api.github.com/users/Diarandor/followers","following_url":"https://api.github.com/users/Diarandor/following{/other_user}","gists_url":"https://api.github.com/users/Diarandor/gists{/gist_id}","starred_url":"https://api.github.com/users/Diarandor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diarandor/subscriptions","organizations_url":"https://api.github.com/users/Diarandor/orgs","repos_url":"https://api.github.com/users/Diarandor/repos","events_url":"https://api.github.com/users/Diarandor/events{/privacy}","received_events_url":"https://api.github.com/users/Diarandor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/christopho/solarus/labels/enhancement","name":"enhancement","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-25T16:36:50Z","updated_at":"2015-12-04T10:59:54Z","closed_at":null,"body":"Hi! I thought that it would be nice to have some button to glue several entities (or at least tiles) of the map editor; this option should be either a button above in the editor or an option for the right click context menu when a group of entities is selected at the same time (or maybe in both places). \r\n\r\nThis is useful, for instance, if you create a house on the map editor and later you decide to move it to another part of the map, you would not need to move all the sprites/entities of the house one by one. In the context menu that appears with right click on a group of glued entities, there should be an option to unglue all the entities glued in that group. It should also be possible to glue two groups of glued entities in a new one, and to copy-paste groups of glued entities.\r\n\r\nI suggest to add 2 buttons in the editor, above. One to glue selected entities. The other button would be a \"check box\" to enable/disable the \"glue feature\" temporarily (this would allow to move an entity with respect of the entities of the same glued group without ungluing the group). In other words, when the \"glue feature\" is enabled, if you click on an entity of the grup, all the entities of its group would be selected at the same time; if the feature is disabled, only the entity in which you click would be selected, but not the other entities of its group.\r\n\r\nThanks a lot!!!"},"comment":{"url":"https://api.github.com/repos/christopho/solarus/issues/comments/161937733","html_url":"https://github.com/christopho/solarus/issues/665#issuecomment-161937733","issue_url":"https://api.github.com/repos/christopho/solarus/issues/665","id":161937733,"user":{"login":"christopho","id":411718,"avatar_url":"https://avatars.githubusercontent.com/u/411718?v=3","gravatar_id":"","url":"https://api.github.com/users/christopho","html_url":"https://github.com/christopho","followers_url":"https://api.github.com/users/christopho/followers","following_url":"https://api.github.com/users/christopho/following{/other_user}","gists_url":"https://api.github.com/users/christopho/gists{/gist_id}","starred_url":"https://api.github.com/users/christopho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christopho/subscriptions","organizations_url":"https://api.github.com/users/christopho/orgs","repos_url":"https://api.github.com/users/christopho/repos","events_url":"https://api.github.com/users/christopho/events{/privacy}","received_events_url":"https://api.github.com/users/christopho/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T10:59:54Z","updated_at":"2015-12-04T10:59:54Z","body":"This issue was moved to christopho/solarus-quest-editor#126"}}