{"id":1768,"date":"2012-04-06T14:33:16","date_gmt":"2012-04-06T13:33:16","guid":{"rendered":"http:\/\/positech.co.uk\/cliffsblog\/?p=1768"},"modified":"2012-04-06T14:33:16","modified_gmt":"2012-04-06T13:33:16","slug":"explosive-fun","status":"publish","type":"post","link":"https:\/\/www.positech.co.uk\/cliffsblog\/2012\/04\/06\/explosive-fun\/","title":{"rendered":"Explosive fun"},"content":{"rendered":"<p>There is a todo list for the Gratuitous tank Battles beta, and something not officially on it (because nobody mentioned it) was to make the explosions and flames and so-on look better. People keep telling me they look great, but I want them to look tons better. That means a lot of tweaking, optimising and theorizing.<\/p>\n<p>It&#8217;s amazing how many variables you need to get particles looking right, and then how much more code. I have special code for flames, for flamethrowers, for ground bursts, for smoke plumes, for debris, for emitters attached to moving units&#8230; and so on. It&#8217;s quite a spaghetti mess of complicated and differently designed systems, but it seems to work.<\/p>\n<p align=\"center\"><a href=\"http:\/\/positech.co.uk\/cliffsblog\/wp-content\/uploads\/2012\/04\/parts.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1769\" title=\"parts\" src=\"http:\/\/positech.co.uk\/cliffsblog\/wp-content\/uploads\/2012\/04\/parts.jpg\" alt=\"\" width=\"500\" height=\"258\" srcset=\"https:\/\/www.positech.co.uk\/cliffsblog\/wp-content\/uploads\/2012\/04\/parts.jpg 500w, https:\/\/www.positech.co.uk\/cliffsblog\/wp-content\/uploads\/2012\/04\/parts-300x154.jpg 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p>Hopefully by the time the game ships to final release, the effects will look a lot better. It&#8217;s one of those things I really enjoy coding (even on Good Friday when i should be eating chocolate!), so I can often justify silly amounts of time on it.<\/p>\n<p>I also have grand plans for target designation laser effects, flickering shields and pulsing damage textures, but not enough hours in the day. How annoying&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There is a todo list for the Gratuitous tank Battles beta, and something not officially on it (because nobody mentioned it) was to make the explosions and flames and so-on look better. People keep telling me they look great, but I want them to look tons better. That means a lot of tweaking, optimising and<\/p>\n<p class=\"text-right\"><span class=\"screen-reader-text\">Continue Reading&#8230; Explosive fun<\/span><a class=\"btn btn-secondary continue-reading\" href=\"https:\/\/www.positech.co.uk\/cliffsblog\/2012\/04\/06\/explosive-fun\/\">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":[114,4],"tags":[],"class_list":["post-1768","post","type-post","status-publish","format-standard","hentry","category-gratuitous-tank-battles","category-programming"],"_links":{"self":[{"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/posts\/1768","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=1768"}],"version-history":[{"count":1,"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/posts\/1768\/revisions"}],"predecessor-version":[{"id":1770,"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/posts\/1768\/revisions\/1770"}],"wp:attachment":[{"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/media?parent=1768"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/categories?post=1768"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/tags?post=1768"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}