{"issue":{"created_at":"2011-11-23T16:41:52Z","state":"open","updated_at":"2011-11-23T17:06:10Z","user":{"gravatar_id":"f55644796d70ffeca72941d87c787a05","id":669012,"url":"https://api.github.com/users/rosshadden","login":"rosshadden","avatar_url":"https://secure.gravatar.com/avatar/f55644796d70ffeca72941d87c787a05?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":1,"body":"Seriously.  I dunno if it's viewport.center() or what, but if you move somewhere and refresh the page it becomes bjorked.","assignee":{"gravatar_id":"f55644796d70ffeca72941d87c787a05","id":669012,"url":"https://api.github.com/users/rosshadden","login":"rosshadden","avatar_url":"https://secure.gravatar.com/avatar/f55644796d70ffeca72941d87c787a05?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"id":2331660,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[{"name":"Bug","color":"e10c02","url":"https://api.github.com/repos/rosshadden/MMORPGKTHX/labels/Bug"}],"number":24,"title":"Viewport sucks on reentry.","closed_at":null,"html_url":"https://github.com/rosshadden/MMORPGKTHX/issues/24","milestone":{"created_at":"2011-11-20T20:55:31Z","state":"open","closed_issues":8,"due_on":null,"creator":{"gravatar_id":"f55644796d70ffeca72941d87c787a05","id":669012,"url":"https://api.github.com/users/rosshadden","login":"rosshadden","avatar_url":"https://secure.gravatar.com/avatar/f55644796d70ffeca72941d87c787a05?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"number":1,"title":"Viewport","description":"Rather than having the canvas being a set width/height the same size as each (small) map file, I would like to introduce the idea of a viewport, where the size of the viewport (canvas) has nothing to do with the size of the maps.\r\n\r\nThis would allow for much larger map files, which mean less resources to manage/transfer.  More importantly, it would allow for different browser sizes to have different viewport dimensions (revealing less/more of the map), while keeping the core gameplay the same.  Thus a user playing on a mobile device and a user playing on a desktop computer would have viewports that fit their screens, rather than forcing a tiny viewport on desktops, or a large viewport on mobile devices.\r\n\r\nCody needs this change to be completed before he can start the map editor app.","url":"https://api.github.com/repos/rosshadden/MMORPGKTHX/milestones/1","open_issues":1},"url":"https://api.github.com/repos/rosshadden/MMORPGKTHX/issues/24"},"action":"created","comment":{"created_at":"2011-11-23T17:06:10Z","updated_at":"2011-11-23T17:06:10Z","user":{"gravatar_id":"f55644796d70ffeca72941d87c787a05","id":669012,"url":"https://api.github.com/users/rosshadden","login":"rosshadden","avatar_url":"https://secure.gravatar.com/avatar/f55644796d70ffeca72941d87c787a05?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"First off, the position becomes messed up.  I think the farther offset the player is from the center, the worse the problem.\r\n\r\nSecondly, world.render() only renders what is inside the viewport for some reason.  Meaning if you move, you see black abyss where there should be tiles.","id":2851515,"url":"https://api.github.com/repos/rosshadden/MMORPGKTHX/issues/comments/2851515"}}