{"action":"opened","issue":{"url":"https://api.github.com/repos/increpare/terrylib_online/issues/227","labels_url":"https://api.github.com/repos/increpare/terrylib_online/issues/227/labels{/name}","comments_url":"https://api.github.com/repos/increpare/terrylib_online/issues/227/comments","events_url":"https://api.github.com/repos/increpare/terrylib_online/issues/227/events","html_url":"https://github.com/increpare/terrylib_online/issues/227","id":105387752,"number":227,"title":"delaypressed - waits a bit too long?","user":{"login":"increpare","id":465632,"avatar_url":"https://avatars.githubusercontent.com/u/465632?v=3","gravatar_id":"","url":"https://api.github.com/users/increpare","html_url":"https://github.com/increpare","followers_url":"https://api.github.com/users/increpare/followers","following_url":"https://api.github.com/users/increpare/following{/other_user}","gists_url":"https://api.github.com/users/increpare/gists{/gist_id}","starred_url":"https://api.github.com/users/increpare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/increpare/subscriptions","organizations_url":"https://api.github.com/users/increpare/orgs","repos_url":"https://api.github.com/users/increpare/repos","events_url":"https://api.github.com/users/increpare/events{/privacy}","received_events_url":"https://api.github.com/users/increpare/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-08T14:02:36Z","updated_at":"2015-09-08T14:02:36Z","closed_at":null,"body":"internally, do you need to do a -1 somewhere?\r\n\r\n    function update(){\r\n      //if you hold a, should trigger once every 30 frames\r\n      if (Input.delaypressed(Key.A,1)){\r\n        Debug.log(Game.time);\r\n      }\r\n    }\r\n\r\nproduces\r\n\r\nline 4 : 8\r\nline 4 : 10\r\nline 4 : 12\r\nline 4 : 14\r\nline 4 : 16\r\nline 4 : 18\r\nline 4 : 20\r\nline 4 : 22\r\nline 4 : 24\r\nline 4 : 26"}}