{"action":"created","issue":{"url":"https://api.github.com/repos/d3athrow/vgstation13/issues/10085","repository_url":"https://api.github.com/repos/d3athrow/vgstation13","labels_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/10085/labels{/name}","comments_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/10085/comments","events_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/10085/events","html_url":"https://github.com/d3athrow/vgstation13/pull/10085","id":155150865,"number":10085,"title":"the Space Parallax update","user":{"login":"DeityLink","id":7573912,"avatar_url":"https://avatars.githubusercontent.com/u/7573912?v=3","gravatar_id":"","url":"https://api.github.com/users/DeityLink","html_url":"https://github.com/DeityLink","followers_url":"https://api.github.com/users/DeityLink/followers","following_url":"https://api.github.com/users/DeityLink/following{/other_user}","gists_url":"https://api.github.com/users/DeityLink/gists{/gist_id}","starred_url":"https://api.github.com/users/DeityLink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeityLink/subscriptions","organizations_url":"https://api.github.com/users/DeityLink/orgs","repos_url":"https://api.github.com/users/DeityLink/repos","events_url":"https://api.github.com/users/DeityLink/events{/privacy}","received_events_url":"https://api.github.com/users/DeityLink/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/d3athrow/vgstation13/labels/Content","name":"Content","color":"eb6420"},{"url":"https://api.github.com/repos/d3athrow/vgstation13/labels/Sprites","name":"Sprites","color":"FFAACC"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":114,"created_at":"2016-05-17T00:18:43Z","updated_at":"2016-05-31T18:30:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/d3athrow/vgstation13/pulls/10085","html_url":"https://github.com/d3athrow/vgstation13/pull/10085","diff_url":"https://github.com/d3athrow/vgstation13/pull/10085.diff","patch_url":"https://github.com/d3athrow/vgstation13/pull/10085.patch"},"body":"Revealing parallax yesterday gave me some very good feedback, notably, that everyone has their own interpretation of what makes a \"good\" parallax. Therefore, I've spent a few hours setting things up to crank up the customization up to eleven!\r\nPlayers now have 3 new preference Settings that they can change anytime:\r\n* Enable/Disable space parallax\r\n* Enable/Disable spacedust (which has been highly tweaked from the feedback I've had)\r\n* Set parallax speed (0 to 5, default being 2)\r\n\r\nAdmins also have a button to change the color of parallaxed space. I'll revamp the way space looks during Nar-Sie/Supermatter Cascade later on.\r\n\r\nHere's a few previews of how parallax looks with different settings:\r\n* Disabled: https://dl.dropboxusercontent.com/u/33846352/parallax/dreamseeker%202016-05-17%2001-42-23-30.webm\r\n* Normal Parallax (speed=2, with dust): https://dl.dropboxusercontent.com/u/33846352/parallax/dreamseeker%202016-05-17%2001-42-39-51.webm\r\n* Dust-less Parallax (speed=2, no dust): https://dl.dropboxusercontent.com/u/33846352/parallax/dreamseeker%202016-05-17%2001-42-56-16.webm\r\n* Static Parallax (speed=0, no dust): https://dl.dropboxusercontent.com/u/33846352/parallax/dreamseeker%202016-05-17%2001-43-08-05.webm\r\n* Fast Parallax (speed=4, with dust): https://dl.dropboxusercontent.com/u/33846352/parallax/dreamseeker%202016-05-17%2002-09-06-93.webm\r\n* Ultra-Slow Parallax (speed=0.2, with dust): https://dl.dropboxusercontent.com/u/33846352/parallax/dreamseeker%202016-05-17%2002-36-38-84.webm\r\n\r\nAnd here's me trying various space colors: https://dl.dropboxusercontent.com/u/33846352/parallax/dreamseeker%202016-05-17%2001-45-07-29.webm\r\n\r\nSpecial thanks to @monster860 who helped me get it working. This code was heavily inspired by his ParadiseSS13/Paradise#4085 . Although unlike Paradise's parallax:\r\n* stars aren't blended onto the layers, so they keep their twinkling animation\r\n* the position of the layers is dependent of the players' movements instead of their position, thus there are no \"jumps\" when you drift from a Z level to the next\r\n* the layers cycle when you keep moving in the same direction.\r\n* it's multi-layered.\r\n* you won't see the edges unless you expand your client.view beyond 22\r\n\r\nAlso thanks to @dylanstrategie for giving a go at porting it, and bringing it to my attention."},"comment":{"url":"https://api.github.com/repos/d3athrow/vgstation13/issues/comments/222778354","html_url":"https://github.com/d3athrow/vgstation13/pull/10085#issuecomment-222778354","issue_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/10085","id":222778354,"user":{"login":"PJB3005","id":8107459,"avatar_url":"https://avatars.githubusercontent.com/u/8107459?v=3","gravatar_id":"","url":"https://api.github.com/users/PJB3005","html_url":"https://github.com/PJB3005","followers_url":"https://api.github.com/users/PJB3005/followers","following_url":"https://api.github.com/users/PJB3005/following{/other_user}","gists_url":"https://api.github.com/users/PJB3005/gists{/gist_id}","starred_url":"https://api.github.com/users/PJB3005/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PJB3005/subscriptions","organizations_url":"https://api.github.com/users/PJB3005/orgs","repos_url":"https://api.github.com/users/PJB3005/repos","events_url":"https://api.github.com/users/PJB3005/events{/privacy}","received_events_url":"https://api.github.com/users/PJB3005/received_events","type":"User","site_admin":false},"created_at":"2016-05-31T18:30:54Z","updated_at":"2016-05-31T18:30:54Z","body":"I have an idea.\r\n\r\nWe merge this.\r\n\r\nProfile it.\r\n\r\nIf it ends up being of any impact we optimize it OR revert it if it's severe."}}
{"actor":{"display_login":"PJB3005"}}