{"id":307,"date":"2008-03-23T09:06:09","date_gmt":"2008-03-23T17:06:09","guid":{"rendered":"http:\/\/www.lostvectors.com\/blog\/?p=307"},"modified":"2010-10-11T09:13:07","modified_gmt":"2010-10-11T17:13:07","slug":"tech-demos","status":"publish","type":"post","link":"https:\/\/www.lostvectors.com\/blog\/2008\/03\/23\/tech-demos\/","title":{"rendered":"Tech Demos"},"content":{"rendered":"<p>Here are two tech demos for some new features I&#8217;ve been working on for Bowmaster 2. The first is circle vs line segment collision detections. I know I talk a lot about collision detection but it&#8217;s not a simple topic. In this example I show how a line segment can intersect with a circle. Just drag the red and green dots around to see where the intersections occur. The code for this demo is useful for determining fast moving projectile collisions against circular objects.<\/p>\n\n<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"\n\t\t\tid=\"fm__spike_line_vs_ball_vector_1221825087\"\n\t\t\tclass=\"flashmovie\"\n\t\t\twidth=\"550\"\n\t\t\theight=\"400\">\n\t<param name=\"movie\" value=\"http:\/\/www.lostvectors.com\/img\/_spike_line_vs_ball_vector.swf\" \/>\n\t<!--[if !IE]>-->\n\t<object\ttype=\"application\/x-shockwave-flash\"\n\t\t\tdata=\"http:\/\/www.lostvectors.com\/img\/_spike_line_vs_ball_vector.swf\"\n\t\t\tname=\"fm__spike_line_vs_ball_vector_1221825087\"\n\t\t\twidth=\"550\"\n\t\t\theight=\"400\">\n\t<!--<![endif]-->\n\t\t\n<p><a href=\"http:\/\/adobe.com\/go\/getflashplayer\"><img decoding=\"async\" src=\"http:\/\/www.adobe.com\/images\/shared\/download_buttons\/get_flash_player.gif\" alt=\"Get Adobe Flash player\" \/><\/a><\/p>\n\n\t<!--[if !IE]>-->\n\t<\/object>\n\t<!--<![endif]-->\n<\/object>\n<p>This next demo demonstrates a constant (stackable) &quot;aura&quot; effect. <\/p>\n<p>Imagine a defensive boost aura similar to something found in World of Warcraft. All the party members within a certain proximity of the aura provider are given a bonus. In BM2 you might see &quot;commander&quot; or &quot;elite&quot; type units that give off auras that boost stats of allied units. You&#8217;ll likely want to take down these units first to make weaken the overall strength of the enemy army.<\/p>\n\n<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"\n\t\t\tid=\"fm_aura_effect_1544892262\"\n\t\t\tclass=\"flashmovie\"\n\t\t\twidth=\"550\"\n\t\t\theight=\"561\">\n\t<param name=\"movie\" value=\"http:\/\/www.lostvectors.com\/img\/aura_effect.swf\" \/>\n\t<!--[if !IE]>-->\n\t<object\ttype=\"application\/x-shockwave-flash\"\n\t\t\tdata=\"http:\/\/www.lostvectors.com\/img\/aura_effect.swf\"\n\t\t\tname=\"fm_aura_effect_1544892262\"\n\t\t\twidth=\"550\"\n\t\t\theight=\"561\">\n\t<!--<![endif]-->\n\t\t\n<p><a href=\"http:\/\/adobe.com\/go\/getflashplayer\"><img decoding=\"async\" src=\"http:\/\/www.adobe.com\/images\/shared\/download_buttons\/get_flash_player.gif\" alt=\"Get Adobe Flash player\" \/><\/a><\/p>\n\n\t<!--[if !IE]>-->\n\t<\/object>\n\t<!--<![endif]-->\n<\/object>\n","protected":false},"excerpt":{"rendered":"<p>Here are two tech demos for some new features I&#8217;ve been working on for Bowmaster 2. The first is circle vs line segment collision detections. I know I talk a lot about collision detection but it&#8217;s not a simple topic. In this example I show how a line segment can&#8230; <a class=\"continue-reading-link\" href=\"https:\/\/www.lostvectors.com\/blog\/2008\/03\/23\/tech-demos\/\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-307","post","type-post","status-publish","format-standard","hentry","category-devlog"],"_links":{"self":[{"href":"https:\/\/www.lostvectors.com\/blog\/wp-json\/wp\/v2\/posts\/307","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lostvectors.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lostvectors.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lostvectors.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lostvectors.com\/blog\/wp-json\/wp\/v2\/comments?post=307"}],"version-history":[{"count":2,"href":"https:\/\/www.lostvectors.com\/blog\/wp-json\/wp\/v2\/posts\/307\/revisions"}],"predecessor-version":[{"id":309,"href":"https:\/\/www.lostvectors.com\/blog\/wp-json\/wp\/v2\/posts\/307\/revisions\/309"}],"wp:attachment":[{"href":"https:\/\/www.lostvectors.com\/blog\/wp-json\/wp\/v2\/media?parent=307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lostvectors.com\/blog\/wp-json\/wp\/v2\/categories?post=307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lostvectors.com\/blog\/wp-json\/wp\/v2\/tags?post=307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}