{"author_name":"kato9","cat":"LD #21","comments":[{"author_name":"sfernald","time":"August 22, 2011 2:46 pm","epoch":1314042360,"text":"This stuff is gold. I have never used After Effects and it&#8217;s great to see how it is put to use.  Keep up the great articles? How much space did those videos add to your swf anyway?","spam":"N"}],"epoch":1314037500,"likes":0,"metadata":{"p_key":"63767","p_author":"kato9","p_authorkey":"5821","p_urlkey":"99552","p_title":"NO ESCAPE Compositing\/Layers Breakdown","p_cat":"LD #21","p_event":"LD21","p_time":"1314037500","p_likes":"0","p_comments":"1","p_status":"UPD5","us_key":"5821","us_name":"kato9","us_username":"kato9","event_start":"1313712000","event_key":"7","event_name":"LD21"},"text":"<p><a href=\"http:\/\/www.ludumdare.com\/compo\/2011\/08\/22\/no-escape-compositinglayers-breakdown\/no_escape_layers\/\" rel=\"attachment wp-att-69567\"><img class=\"size-full wp-image-69567 aligncenter\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2011\/08\/no_escape_layers.gif\" alt=\"\" width=\"512\" height=\"256\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2011\/08\/no_escape_layers-300x150.gif 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2011\/08\/no_escape_layers-550x275.gif 550w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2011\/08\/no_escape_layers.gif 640w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><\/a><\/p>\n <p>I knew that if I wanted to sell the &#8216;story&#8217; of my game NO ESCAPE, I was going to need a strong atmosphere. I&#8217;m guessing not many game devs consider After Effects an essential tool for their process, but because I do motion graphics work for a living, I knew that AE could give me solid results quickly. So, here&#8217;s a quick breakdown of the my layering\/compositing process:<\/p>\n <p><strong>Layer 1: Background 1<\/strong><\/p>\n <p>Initially my background only had one layer, but the result looked fairly flat, so I decided to break the background elements into two layers, which allowed me to get a better parallax scrolling effect.<\/p>\n <p><strong>Layer 2: Background 2<\/strong><\/p>\n <p>The &#8216;main&#8217; background. The buildings were modeled and rendered in Cinema 4D. I used the Environment tool to add a layer of fog, which is why elements that are farther away are more faded.<\/p>\n <p><strong>Layer 3: Foreground<\/strong><\/p>\n <p>Also created in Cinema 4D. I rendered everything out using an orthographic projection, which is why the foreground looks flat even through it was modeled in 3D.<\/p>\n <p><strong>Layer 4: Rain<\/strong><\/p>\n <p>The rain was added in After Effects with a very useful third party plug-in called Particular. I created one single rain drop and set up a particle system to do the rest. If there&#8217;s anything I&#8217;ve learned from rainymood.com, it&#8217;s that rain makes everything better!<\/p>\n <p><strong>Layer 5: Smoke<\/strong><\/p>\n <p>The smoke was rendered in Cinema 4D using its PyroCluster shader, which creates pretty convincing little smoke puffs fairly easily.<\/p>\n <p><strong>Layer 6: Water Overflow<\/strong><\/p>\n <p>This is a small detail, but one of my favorite things in the whole game. After I was more or less done with coding, I knew I wanted to add a few more details including this little water overflow coming off of the billboard. I set up another particular system in After Effects, this time using the built in CC Particle World and this was the result.<\/p>\n <p><strong>Layer 7: Lightning!<\/strong><\/p>\n <p>The last thing I added was a few lightning strikes, which I thought came out pretty cool. Created in After Effects using the built in Advanced Lightning effect. I timed the strikes so that they would come a few seconds before the thunder claps in the audio track, and positioned them to where the player would likely be at that point.<\/p>\n <p>So there you go &#8211; a HUGE downside to doing things this way is that having this video background increased the size of the .swf dramatically. If I was a more competent programmer I would have tried to create these effects dynamically, but alas. Hope this was somewhat interesting, feel free to ask any questions about Cinema 4D or After Effects if you&#8217;re interested.<\/p>\n <p>Here&#8217;s a link to my entry:<\/p>\n <p><a href=\"http:\/\/www.ludumdare.com\/compo\/ludum-dare-21\/?action=preview&amp;uid=5821\">http:\/\/www.ludumdare.com\/compo\/ludum-dare-21\/?action=preview&amp;uid=5821<\/a><\/p>\n <p>&nbsp;<\/p>\n <p>&nbsp;<\/p>","time":"August 22nd, 2011 1:25 pm","title":"NO ESCAPE Compositing\/Layers Breakdown"}