{"action":"closed","issue":{"url":"https://api.github.com/repos/christopho/solarus/issues/901","repository_url":"https://api.github.com/repos/christopho/solarus","labels_url":"https://api.github.com/repos/christopho/solarus/issues/901/labels{/name}","comments_url":"https://api.github.com/repos/christopho/solarus/issues/901/comments","events_url":"https://api.github.com/repos/christopho/solarus/issues/901/events","html_url":"https://github.com/christopho/solarus/issues/901","id":154941754,"number":901,"title":"A possible camera bug (some region not drawn)","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/bug","name":"bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/christopho/solarus/milestones/14","html_url":"https://github.com/christopho/solarus/milestones/v1.5","labels_url":"https://api.github.com/repos/christopho/solarus/milestones/14/labels","id":956490,"number":14,"title":"v1.5","description":"Main objectives:\r\n- Mouse and touch API\r\n- iOS port","creator":{"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},"open_issues":6,"closed_issues":87,"state":"open","created_at":"2015-01-29T09:23:33Z","updated_at":"2016-05-16T14:50:45Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-05-16T00:39:10Z","updated_at":"2016-05-16T14:50:45Z","closed_at":"2016-05-16T14:50:45Z","body":"Hi, I am having problems with my new HUD (it is like in Link's Awakening) when the map size fits exactly the rectangle not covered by the HUD (if the map is bigger in the Y-coordinate then I do not have any problem). In my case, it happens that there is a rectangle of 8 pixels of height, in the above part of the map, which is not drawn (it is black). In other words, the above half of the first line of tiles, above, is not drawn. (The hero can still walk in that region without problem, but the part of the hero in that black rectangle, when he goes there, is not drawn either.) I have checked that my tiles are inside of the map (in the map editor), so this is probably an engine problem.\r\n\r\nIf you want I can send you a screenshot or even send you my project.\r\n\r\nMy quest size is 320x240, and the code I use for the camera (to get a rectangle below for my HUD) is the following:\r\n```Lua\r\nlocal camera_meta = sol.main.get_metatable(\"camera\") \r\nfunction camera_meta:on_created()\r\n  -- Decrease the size of the camera to display the HUD.\r\n  local x, y = sol.video.get_quest_size()\r\n  self:set_size(x, y - 16)\r\nend\r\n```"}}