{"id":244,"date":"2009-05-14T10:47:54","date_gmt":"2009-05-14T10:47:54","guid":{"rendered":"http:\/\/positech.co.uk\/cliffsblog\/?p=244"},"modified":"2009-05-14T10:50:03","modified_gmt":"2009-05-14T10:50:03","slug":"reflecting-beam-lasers","status":"publish","type":"post","link":"https:\/\/www.positech.co.uk\/cliffsblog\/2009\/05\/14\/reflecting-beam-lasers\/","title":{"rendered":"Reflecting beam lasers"},"content":{"rendered":"<p>My recent design thoughts and today&#8217;s tweaks make it clear I needed a way to see visually that lasers were just bouncing off enemy shields and achieving nothing, so I added a sort of &#8216;bounce&#8217; effect to the lasers (see video below). I didn&#8217;t bother doing any fancy maths for the collision reflection, it just skews off at a slightly random angle. Does this look ok? (also there is some quite cool shooting of rockets by a point defence laser going on in the second clip).<\/p>\n<p style=\"text-align: center;\">\n<object width=\"425\" height=\"344\"><param name=\"movie\" value=\"http:\/\/www.youtube.com\/v\/mI-hNaV79yw&#038;hl=en&#038;fs=1&#038;rel=0\"><\/param><param name=\"allowFullScreen\" value=\"true\"><\/param><param name=\"allowscriptaccess\" value=\"always\"><\/param><embed src=\"http:\/\/www.youtube.com\/v\/mI-hNaV79yw&#038;hl=en&#038;fs=1&#038;rel=0\" type=\"application\/x-shockwave-flash\" allowscriptaccess=\"always\" allowfullscreen=\"true\" width=\"425\" height=\"344\"><\/embed><\/object><\/p>\n","protected":false},"excerpt":{"rendered":"<p>My recent design thoughts and today&#8217;s tweaks make it clear I needed a way to see visually that lasers were just bouncing off enemy shields and achieving nothing, so I added a sort of &#8216;bounce&#8217; effect to the lasers (see video below). I didn&#8217;t bother doing any fancy maths for the collision reflection, it just<\/p>\n<p class=\"text-right\"><span class=\"screen-reader-text\">Continue Reading&#8230; Reflecting beam lasers<\/span><a class=\"btn btn-secondary continue-reading\" href=\"https:\/\/www.positech.co.uk\/cliffsblog\/2009\/05\/14\/reflecting-beam-lasers\/\">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],"tags":[],"class_list":["post-244","post","type-post","status-publish","format-standard","hentry","category-game-design","category-gratuitous-space-battles"],"_links":{"self":[{"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/posts\/244","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=244"}],"version-history":[{"count":0,"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/posts\/244\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/media?parent=244"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/categories?post=244"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/tags?post=244"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}