{"author_link":"\/users\/graal","author_name":"GRaAL","author_uid":"graal","comments":[],"epoch":1544390539,"event":"LD43","format":"md","ldjam_node_id":136988,"likes":4,"metadata":{"p_key":"126900","p_author":"GRaAL","p_authorkey":"1000484","p_urlkey":"343020","p_title":"SHADOW IS THE ENEMY","p_cat":"LDJam ","p_event":"LD43","p_time":"1544390539","p_likes":"4","p_comments":"0","p_status":"WAYBACK","us_key":"1000484","us_name":"GRaAL","us_username":"graal","event_start":"1543536000","event_key":"71","event_name":"LD 43"},"node":{"_collation":{"body_sanitizer":"TextUtils::SanitizeHTML via existing importer","event":"LD43","removed_author":false},"_superparent":120415,"_trust":1,"author":484,"body":"That could be a good theme for next LD (nope), but actually it is what I feel each time trying to add lightings to 2D Phaser games.\nDuring developing [NOPE](https:\/\/ldjam.com\/events\/ludum-dare\/43\/nope) I knew that lighting is required for horror atmosphere, but the only thing I had time to do is simple circle lights (which ignore walls and doors) and... what, are these shadows just 2 stretched rectangles? Yes, they are:\n\n![\u0421\u043d\u0438\u043c\u043e\u043a \u044d\u043a\u0440\u0430\u043d\u0430 2018-12-09 \u0432 23.58.25.png](\/\/\/raw\/4e1\/z\/1f816.png)\n\nI have a lot of free time (nope) so I read lot of tutorials about lightings and shadows. As result, I'd like to present you [post-LD version of NOPE](https:\/\/graal.itch.io\/nope-postld?secret=34xxzD7ls3zu4TWHUCIQk829Fs) with valid shadows, like that:\n\n![\u0421\u043d\u0438\u043c\u043e\u043a \u044d\u043a\u0440\u0430\u043d\u0430 2018-12-09 \u0432 23.58.39.png](\/\/\/raw\/4e1\/z\/1f815.png)\nIt is better understandable in motion:\n\nLD:\n![shadowrun2.gif](\/\/\/raw\/4e1\/z\/1f817.gif)\nPost-LD:\n![shadowrun3.gif](\/\/\/raw\/4e1\/z\/1f818.gif)\n\nYaw, light of flashlight does not pass doors! But if you open the door - it will:\n\n![doorlight2.gif](\/\/\/raw\/4e1\/z\/1f81a.gif)\n\nSo, I've spent additional 20 hours of my life to fight with Phaser reality. Maybe it is time to learn Unity. Or Godot. Or... Well, what would you suggest for a game like that?","comments":5,"comments-timestamp":"2018-12-10T20:32:54Z","created":"2018-12-09T21:13:00Z","files":[],"files-timestamp":0,"id":136988,"love":4,"love-timestamp":"2018-12-10T06:10:45Z","meta":[],"modified":"2018-12-10T20:32:54Z","name":"SHADOW IS THE ENEMY","node-timestamp":"2018-12-09T21:22:19Z","parent":124102,"parents":[1,5,9,120415,124102],"path":"\/events\/ludum-dare\/43\/nope\/shadow-is-the-enemy","published":"2018-12-09T21:22:19Z","scope":"public","slug":"shadow-is-the-enemy","subsubtype":"","subtype":"","type":"post","version":412109},"node_metadata":{"n_key":"136988","n_urlkey":"343020","n_parent":"124102","n_path":"\/events\/ludum-dare\/43\/nope\/shadow-is-the-enemy","n_slug":"shadow-is-the-enemy","n_type":"post","n_subtype":"","n_subsubtype":"","n_author":"484","n_created":"1544389980","n_modified":"1544473974","n_version":"412109","n_status":"WAYBACK"},"source_url":"https:\/\/ldjam.com\/events\/ludum-dare\/43\/nope\/shadow-is-the-enemy","text":"That could be a good theme for next LD (nope), but actually it is what I feel each time trying to add lightings to 2D Phaser games.\nDuring developing [NOPE](https:\/\/ldjam.com\/events\/ludum-dare\/43\/nope) I knew that lighting is required for horror atmosphere, but the only thing I had time to do is simple circle lights (which ignore walls and doors) and... what, are these shadows just 2 stretched rectangles? Yes, they are:\n\n![\u0421\u043d\u0438\u043c\u043e\u043a \u044d\u043a\u0440\u0430\u043d\u0430 2018-12-09 \u0432 23.58.25.png](\/\/\/raw\/4e1\/z\/1f816.png)\n\nI have a lot of free time (nope) so I read lot of tutorials about lightings and shadows. As result, I'd like to present you [post-LD version of NOPE](https:\/\/graal.itch.io\/nope-postld?secret=34xxzD7ls3zu4TWHUCIQk829Fs) with valid shadows, like that:\n\n![\u0421\u043d\u0438\u043c\u043e\u043a \u044d\u043a\u0440\u0430\u043d\u0430 2018-12-09 \u0432 23.58.39.png](\/\/\/raw\/4e1\/z\/1f815.png)\nIt is better understandable in motion:\n\nLD:\n![shadowrun2.gif](\/\/\/raw\/4e1\/z\/1f817.gif)\nPost-LD:\n![shadowrun3.gif](\/\/\/raw\/4e1\/z\/1f818.gif)\n\nYaw, light of flashlight does not pass doors! But if you open the door - it will:\n\n![doorlight2.gif](\/\/\/raw\/4e1\/z\/1f81a.gif)\n\nSo, I've spent additional 20 hours of my life to fight with Phaser reality. Maybe it is time to learn Unity. Or Godot. Or... Well, what would you suggest for a game like that?","title":"SHADOW IS THE ENEMY","wayback_source":[]}