{"action":"published","release":{"url":"https://api.github.com/repos/maxbilbow/AiScene/releases/1320855","assets_url":"https://api.github.com/repos/maxbilbow/AiScene/releases/1320855/assets","upload_url":"https://uploads.github.com/repos/maxbilbow/AiScene/releases/1320855/assets{?name}","html_url":"https://github.com/maxbilbow/AiScene/releases/tag/v0.10.6","id":1320855,"tag_name":"v0.10.6","target_commitish":"0.10.x","name":"Buttons Added & Ai Improvements","draft":false,"author":{"login":"maxbilbow","id":11065417,"avatar_url":"https://avatars.githubusercontent.com/u/11065417?v=3","gravatar_id":"","url":"https://api.github.com/users/maxbilbow","html_url":"https://github.com/maxbilbow","followers_url":"https://api.github.com/users/maxbilbow/followers","following_url":"https://api.github.com/users/maxbilbow/following{/other_user}","gists_url":"https://api.github.com/users/maxbilbow/gists{/gist_id}","starred_url":"https://api.github.com/users/maxbilbow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxbilbow/subscriptions","organizations_url":"https://api.github.com/users/maxbilbow/orgs","repos_url":"https://api.github.com/users/maxbilbow/repos","events_url":"https://api.github.com/users/maxbilbow/events{/privacy}","received_events_url":"https://api.github.com/users/maxbilbow/received_events","type":"User","site_admin":false},"prerelease":true,"created_at":"2015-05-21T03:10:05Z","published_at":"2015-05-21T03:53:16Z","assets":[{"url":"https://api.github.com/repos/maxbilbow/AiScene/releases/assets/593343","id":593343,"name":"AiScene.v0.10.6.OSX.app.zip","label":null,"uploader":{"login":"maxbilbow","id":11065417,"avatar_url":"https://avatars.githubusercontent.com/u/11065417?v=3","gravatar_id":"","url":"https://api.github.com/users/maxbilbow","html_url":"https://github.com/maxbilbow","followers_url":"https://api.github.com/users/maxbilbow/followers","following_url":"https://api.github.com/users/maxbilbow/following{/other_user}","gists_url":"https://api.github.com/users/maxbilbow/gists{/gist_id}","starred_url":"https://api.github.com/users/maxbilbow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxbilbow/subscriptions","organizations_url":"https://api.github.com/users/maxbilbow/orgs","repos_url":"https://api.github.com/users/maxbilbow/repos","events_url":"https://api.github.com/users/maxbilbow/events{/privacy}","received_events_url":"https://api.github.com/users/maxbilbow/received_events","type":"User","site_admin":false},"content_type":"application/zip","state":"uploaded","size":37233957,"download_count":0,"created_at":"2015-05-21T03:49:59Z","updated_at":"2015-05-21T03:51:53Z","browser_download_url":"https://github.com/maxbilbow/AiScene/releases/download/v0.10.6/AiScene.v0.10.6.OSX.app.zip"}],"tarball_url":"https://api.github.com/repos/maxbilbow/AiScene/tarball/v0.10.6","zipball_url":"https://api.github.com/repos/maxbilbow/AiScene/zipball/v0.10.6","body":"**Controls for v0.10.6 on OS X**\r\n\r\n```Swift\r\n\r\n/// Contains Keys control mapping for a desktop interface.\r\n///\r\n/// For example, the following gives a forward momentum of '2' when 'w' is pressed, and 0 when 'w' is released:\r\n///\r\n///   let MOVE_SPEED: (on:RMFloat,off:RMFloat) = (2, 0)\r\n///   var key = RMKey(self, action: \"forward\", characters: \"w\", speed: MOVE_SPEED)\r\n///\r\n/// The RMSActionProcessor class handles the application of the human term \"forward\", regardless of interface used. See also `RMXDPad` for iOS.\r\n///\r\n/// See also: `RMKeys` and  `RMSActionProcessor`.\r\nclass RMSKeys : RMXInterface {\r\n    \r\n    ///Key down, Key up options\r\n    static let ON_KEY_DOWN: (on:RMFloat,off:RMFloat) = (1,0)\r\n    static let ON_KEY_UP: (on:RMFloat,off:RMFloat) = (0,1)\r\n    static let MOVE_SPEED: (on:RMFloat,off:RMFloat) = (RMXInterface.moveSpeed * 2, 0)\r\n    static let LOOK_SPEED: (on:RMFloat,off:RMFloat) = (RMXInterface.lookSpeed * -10, 0)\r\n    \r\n    ///Key settings\r\n    lazy var keys: [ RMKey ] = [\r\n    \r\n    // Basic Movement\r\n    RMKey(self, action: \"forward\", characters: \"w\", speed: MOVE_SPEED),\r\n    RMKey(self, action: \"back\", characters: \"s\", speed: MOVE_SPEED),\r\n    RMKey(self, action: \"left\", characters: \"a\", speed: MOVE_SPEED),\r\n    RMKey(self, action: \"right\", characters: \"d\", speed: MOVE_SPEED),\r\n    RMKey(self, action: \"up\", characters: \"e\", speed: MOVE_SPEED),\r\n    RMKey(self, action: \"down\", characters: \"q\", speed: MOVE_SPEED),\r\n    RMKey(self, action: \"rollLeft\", characters: \"z\", speed: LOOK_SPEED),\r\n    RMKey(self, action: \"rollRight\", characters: \"x\", speed: LOOK_SPEED),\r\n    RMKey(self, action: \"jump\", characters: \" \"),\r\n    RMKey(self, action: \"look\", characters: \"mouseMoved\", isRepeating: false,speed: LOOK_SPEED),\r\n    \r\n    //Interactions\r\n    RMKey(self, action: \"grab\", characters: \"Mouse 1\", isRepeating: false, speed: ON_KEY_UP),\r\n    RMKey(self, action: \"throwItem\", characters: \"Mouse 2\", isRepeating: false,  speed: (0,20)),\r\n    RMKey(self, action: \"explode\", characters: \"b\", isRepeating: false,  speed: ON_KEY_UP),\r\n    \r\n    //Environmentals\r\n    RMKey(self, action: \"toggleAllGravity\", characters: \"g\", isRepeating: false,speed: ON_KEY_UP),\r\n    //RMKey(self, action: \"toggleGravity\", characters: \"G\", isRepeating: false,speed: ON_KEY_UP),\r\n    RMKey(self, action: \"toggleAI\", characters: \"A\", isRepeating: false,speed: ON_KEY_UP),\r\n    RMKey(self, action: \"reset\", characters: \"R\", isRepeating: false,speed: ON_KEY_UP),\r\n    \r\n    //Interface options\r\n    RMKey(self, action: \"lockMouse\", characters: \"m\", isRepeating: false, speed: ON_KEY_UP),\r\n    RMKey(self, action: \"nextCamera\", characters: \".\", isRepeating: false, speed: ON_KEY_DOWN),\r\n    RMKey(self, action: \"previousCamera\", characters: \",\", isRepeating: false, speed: ON_KEY_DOWN),\r\n    \r\n    //Misc: generically used for testing\r\n    RMKey(self, action: \"information\", characters: \"i\", isRepeating: false,speed: ON_KEY_DOWN), //Prints to terminal when testing\r\n    RMKey(self, action: \"zoomIn\", characters: \"=\", isRepeating: true, speed: MOVE_SPEED),\r\n    RMKey(self, action: \"zoomOut\", characters: \"-\", isRepeating: true, speed: MOVE_SPEED)\r\n    ]\r\n\r\n```\r\n**Images below are from iOS**\r\n![Uploading IMG_1464.jpg…]()\r\n![Uploading IMG_1465.jpg…]()\r\n![Uploading IMG_1468.jpg…]()\r\n![Uploading IMG_1469.jpg…]()\r\n![Uploading IMG_1470.jpg…]()\r\n"}}