{"action":"created","issue":{"url":"https://api.github.com/repos/enigma-dev/enigma-dev/issues/933","labels_url":"https://api.github.com/repos/enigma-dev/enigma-dev/issues/933/labels{/name}","comments_url":"https://api.github.com/repos/enigma-dev/enigma-dev/issues/933/comments","events_url":"https://api.github.com/repos/enigma-dev/enigma-dev/issues/933/events","html_url":"https://github.com/enigma-dev/enigma-dev/issues/933","id":55286840,"number":933,"title":"vspeed/hspeed behaviour issues","user":{"login":"BPzeBanshee","id":10321244,"avatar_url":"https://avatars.githubusercontent.com/u/10321244?v=3","gravatar_id":"","url":"https://api.github.com/users/BPzeBanshee","html_url":"https://github.com/BPzeBanshee","followers_url":"https://api.github.com/users/BPzeBanshee/followers","following_url":"https://api.github.com/users/BPzeBanshee/following{/other_user}","gists_url":"https://api.github.com/users/BPzeBanshee/gists{/gist_id}","starred_url":"https://api.github.com/users/BPzeBanshee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BPzeBanshee/subscriptions","organizations_url":"https://api.github.com/users/BPzeBanshee/orgs","repos_url":"https://api.github.com/users/BPzeBanshee/repos","events_url":"https://api.github.com/users/BPzeBanshee/events{/privacy}","received_events_url":"https://api.github.com/users/BPzeBanshee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-23T14:28:42Z","updated_at":"2015-01-23T23:26:22Z","closed_at":null,"body":"Test builds:\r\nhttps://www.dropbox.com/s/qbwr7zmrournjls/Test7.gmk?dl=0\r\n\r\nUsing vspeed or hspeed by themselves results in an offset direction value. Using vspeed=270 will give a direction value of 269 instead of Game Maker 8.0 and Studio and every other version of Game Maker I've ever been familiar with's 270. The behaviour here is apparent in Test7.gmk, and defining a direction after defining vspeed/hspeed does not appear to affect the weird behaviour at all. Using plain speed and defining a direction will work correctly.\r\n\r\nI originally noticed this in my Warbird project and posted about it quite some time ago but hadn't isolated it from the other ENIGMA compatibility issues. obj_en1 appeared slightly distorted and would not fly down past the screen as intended, expecting an exact direction value of 270 when it was getting 269 due to it's use of vspeed."},"comment":{"url":"https://api.github.com/repos/enigma-dev/enigma-dev/issues/comments/71284227","html_url":"https://github.com/enigma-dev/enigma-dev/issues/933#issuecomment-71284227","issue_url":"https://api.github.com/repos/enigma-dev/enigma-dev/issues/933","id":71284227,"user":{"login":"TheExDeus","id":1474290,"avatar_url":"https://avatars.githubusercontent.com/u/1474290?v=3","gravatar_id":"","url":"https://api.github.com/users/TheExDeus","html_url":"https://github.com/TheExDeus","followers_url":"https://api.github.com/users/TheExDeus/followers","following_url":"https://api.github.com/users/TheExDeus/following{/other_user}","gists_url":"https://api.github.com/users/TheExDeus/gists{/gist_id}","starred_url":"https://api.github.com/users/TheExDeus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheExDeus/subscriptions","organizations_url":"https://api.github.com/users/TheExDeus/orgs","repos_url":"https://api.github.com/users/TheExDeus/repos","events_url":"https://api.github.com/users/TheExDeus/events{/privacy}","received_events_url":"https://api.github.com/users/TheExDeus/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T23:26:22Z","updated_at":"2015-01-23T23:26:22Z","body":"There is a rounding issue, where we just casted the result to int (269.9999 into 269.0000) instead of rounding. This is fixed in this commit: https://github.com/enigma-dev/enigma-dev/commit/0e358861fba53e7b6898df3696e94fc4fb2a3948"}}