{"action":"created","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/23374","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/23374/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/23374/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/23374/events","html_url":"https://github.com/godotengine/godot/issues/23374","id":374990309,"node_id":"MDU6SXNzdWUzNzQ5OTAzMDk=","number":23374,"title":"Metadata/Resource slot for Tiles","user":{"login":"xDGameStudios","id":10358443,"node_id":"MDQ6VXNlcjEwMzU4NDQz","avatar_url":"https://avatars3.githubusercontent.com/u/10358443?v=4","gravatar_id":"","url":"https://api.github.com/users/xDGameStudios","html_url":"https://github.com/xDGameStudios","followers_url":"https://api.github.com/users/xDGameStudios/followers","following_url":"https://api.github.com/users/xDGameStudios/following{/other_user}","gists_url":"https://api.github.com/users/xDGameStudios/gists{/gist_id}","starred_url":"https://api.github.com/users/xDGameStudios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xDGameStudios/subscriptions","organizations_url":"https://api.github.com/users/xDGameStudios/orgs","repos_url":"https://api.github.com/users/xDGameStudios/repos","events_url":"https://api.github.com/users/xDGameStudios/events{/privacy}","received_events_url":"https://api.github.com/users/xDGameStudios/received_events","type":"User","site_admin":false},"labels":[{"id":73330068,"node_id":"MDU6TGFiZWw3MzMzMDA2OA==","url":"https://api.github.com/repos/godotengine/godot/labels/feature%20proposal","name":"feature proposal","color":"1144ff","default":false},{"id":279097966,"node_id":"MDU6TGFiZWwyNzkwOTc5NjY=","url":"https://api.github.com/repos/godotengine/godot/labels/topic:core","name":"topic:core","color":"ffdd44","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-29T12:23:36Z","updated_at":"2018-10-29T16:40:10Z","closed_at":"2018-10-29T16:40:09Z","author_association":"NONE","body":"**Godot version:**\r\nv3.1\r\n\r\n**Feature description:**\r\nRight now I don't get the ideia how can I add metadata to tiles. I think this is an important feature, as tiles are suppose to be performant and lightweight (not having builtin functions like nodes)... being able to add metadata (or Resources type containing data that would be even better) would be a very good feature to add. For example in grid based games when tiles have different properties like: friction, damage, terrain effects, movement costs, etc.\r\n\r\nRight now this data is very hard to add in a (auto)tile per (auto)tile bases. Even though I can add scripts to Tileset and tileset_script (those seem to be different things) I can't access the data, variables I create within them! The ideia instead of a tile/tile variables would be a custom resource slot inside each tile.. this way we could create a TerrainResource type (for example) with the desired variables, create a TerrainResource instance for each terrain type and then attach the resource to the tile. It's pure data so the performance would be the same (I think), and when the values need to be changed the only place to change is inside the resource and not the tileset itself (it would be cleaner)."},"comment":{"url":"https://api.github.com/repos/godotengine/godot/issues/comments/433983605","html_url":"https://github.com/godotengine/godot/issues/23374#issuecomment-433983605","issue_url":"https://api.github.com/repos/godotengine/godot/issues/23374","id":433983605,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzk4MzYwNQ==","user":{"login":"groud","id":6093119,"node_id":"MDQ6VXNlcjYwOTMxMTk=","avatar_url":"https://avatars0.githubusercontent.com/u/6093119?v=4","gravatar_id":"","url":"https://api.github.com/users/groud","html_url":"https://github.com/groud","followers_url":"https://api.github.com/users/groud/followers","following_url":"https://api.github.com/users/groud/following{/other_user}","gists_url":"https://api.github.com/users/groud/gists{/gist_id}","starred_url":"https://api.github.com/users/groud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groud/subscriptions","organizations_url":"https://api.github.com/users/groud/orgs","repos_url":"https://api.github.com/users/groud/repos","events_url":"https://api.github.com/users/groud/events{/privacy}","received_events_url":"https://api.github.com/users/groud/received_events","type":"User","site_admin":false},"created_at":"2018-10-29T16:40:09Z","updated_at":"2018-10-29T16:40:09Z","author_association":"CONTRIBUTOR","body":"Duplicate of #12634"}}
{"actor":{"display_login":"groud"}}