{"assets":[],"author_link":"author\/illume\/","author_name":"illume","cat":"LD #16 - Exploration - 2009","categories":["LD #16 - Exploration - 2009"],"comments":[],"epoch":1260689520,"event":"LD16","likes":0,"metadata":{"p_key":"76402","p_author":"illume","p_authorkey":"0","p_urlkey":"284165","p_title":"Got the character spewing blood\u2026 I mean throwing flares.","p_cat":"LD #16 - Exploration - 2009","p_event":"LD16","p_time":"1260689520","p_likes":"0","p_comments":"0","p_status":"WAYBACK","us_key":null,"us_name":null,"us_username":null,"event_start":"1260489600","event_key":"2","event_name":"LD16"},"source_url":"2009\/12\/13\/spewing-flares\/","text":"<p>Got my character moving around and throwing flares.\u00a0 Going to limit my player controls.\u00a0 So there is less work for me to do.\u00a0 Forwards\/backwards along the bridge, and throw flare up\u2026 throw flare down.\u00a0 Now instead of a whip\/gun or other attack, the flare will both be the weapon and the way to light up the level.\u00a0 UP,DOWN,LEFT,RIGHT.<\/p>\n<p>The rendering is still pretty bad. Not at all how I want it.<\/p>\n<p>After I fix up the drawing\u2026 next will be to put in the <strong>BIG BAD<\/strong> code, make some <strong>lasers<\/strong>, then do collision detection between the particles and the <strong>BIG BAD<\/strong>, and also collisions with the cavern.<\/p>\n<p>For lighting and shadows I\u2019ve decided to have a lighting layer with per pixel alpha.\u00a0 Which will just be an image that is blit across the whole screen.\u00a0 It will be all black, except in areas where it will have parts taken away by lighting. So I will draw the lights onto this lighting layer, so that it leaves alpha at 50 or so, and instead of black an orangey color where the lighting is\u2026 the rest will be shadows.<\/p>\n<p>So now to implement that\u2026 but here is a screenie of \u2018<strong>Exploratio<\/strong>\u2018 so far\u2026<\/p>\n<p><img alt=\"http:\/\/rene.f0o.com\/~rene\/stuff\/screen_shot_2009_12_13_14_19_16.jpg\" src=\"http:\/\/rene.f0o.com\/%7Erene\/stuff\/screen_shot_2009_12_13_14_19_16.jpg\"\/><\/p>","time":"December 13th, 2009 7:32 am","title":"Got the character spewing blood\u2026 I mean throwing flares."}