{"id":195,"date":"2009-02-17T13:24:21","date_gmt":"2009-02-17T13:24:21","guid":{"rendered":"http:\/\/positech.co.uk\/cliffsblog\/?p=195"},"modified":"2009-02-17T13:24:21","modified_gmt":"2009-02-17T13:24:21","slug":"better-shields","status":"publish","type":"post","link":"https:\/\/www.positech.co.uk\/cliffsblog\/2009\/02\/17\/better-shields\/","title":{"rendered":"Better Shields"},"content":{"rendered":"<p>I spent part of yesterday and today working on the shield effects for Gratuitous Space Battles. The old effect was shit, but it was only placeholder. It was just a simple alpha blended sprite that draws over the ship, fading in and out as the ships hit like this:<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/www.positech.co.uk\/blog\/shields1.jpg\" alt=\"\" \/><\/p>\n<p style=\"text-align: left;\">There was a lot wrong with it. firstly lasers seemed to shine through it, secondly there was no feeling that the ship got hit from a certain angle, and there was generally not much pizzaz. The newer version is better but still needs work:<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/www.positech.co.uk\/blog\/shields2.jpg\" alt=\"\" \/><\/p>\n<p style=\"text-align: left;\">Now I have the incoming laser fire stopped at the right place, plus the shield itself has 2 layers, a feint all over effect, and an angled blast front image which faces the point of impact. I think it looks lots better. What I don&#8217;t have yet is any sparks or particles rippling out from the impact point. A simple particle shower is easy, but ideally the particles would ripple around the shield in a realistic spherical sense. I&#8217;m not sure how easily doable that si without doing it all in 3D, which is overkill.<\/p>\n<p style=\"text-align: left;\">Right now I&#8217;m working on spaceship breakups on explosions so I&#8217;m taking a break from the shields stuff.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I spent part of yesterday and today working on the shield effects for Gratuitous Space Battles. The old effect was shit, but it was only placeholder. It was just a simple alpha blended sprite that draws over the ship, fading in and out as the ships hit like this: There was a lot wrong with<\/p>\n<p class=\"text-right\"><span class=\"screen-reader-text\">Continue Reading&#8230; Better Shields<\/span><a class=\"btn btn-secondary continue-reading\" href=\"https:\/\/www.positech.co.uk\/cliffsblog\/2009\/02\/17\/better-shields\/\">Continue Reading&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,105,4],"tags":[],"class_list":["post-195","post","type-post","status-publish","format-standard","hentry","category-game-design","category-gratuitous-space-battles","category-programming"],"_links":{"self":[{"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/posts\/195","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/comments?post=195"}],"version-history":[{"count":0,"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/posts\/195\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/media?parent=195"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/categories?post=195"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/tags?post=195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}