{"assets":[],"author_link":"author\/mghareeb32\/","author_name":"MSiddeek","cat":"LD #35","categories":["LD #35"],"comments":[],"epoch":1461141540,"event":"LD35","likes":6,"metadata":{"p_key":"83593","p_author":"MSiddeek","p_authorkey":"0","p_urlkey":"294331","p_title":"Can you guess the game mechanics from this code snippet?","p_cat":"LD #35","p_event":"LD35","p_time":"1461141540","p_likes":"6","p_comments":"0","p_status":"WAYBACK","us_key":null,"us_name":null,"us_username":null,"event_start":"1460678400","event_key":"33","event_name":"LD35"},"source_url":"2016\/04\/20\/can-you-guess-the-game-mechanics-from-this-code-snippet\/","text":"<p><code>\n<pre>\r\n    seen = scrCamSees(objPlayer.x, objPlayer.y);\r\n    if (seen) {\r\n        with (objPlayer) {\r\n            var wallpaper = instance_position(x, y, objWallpaper);\r\n            if (instance_exists(wallpaper)\r\n                    &amp;&amp; wallpaper.image_blend == image_blend) {\r\n                other.seen = false;\r\n            } else {\r\n                scrShapeshift(false);\r\n            }\r\n        }\r\n    }\r\n<\/pre>\n<p><\/p><\/code><\/p>\n<p style=\"text-align: center\"><strong><a href=\"http:\/\/ludumdare.com\/compo\/ludum-dare-35\/?action=preview&amp;uid=52528\">Go play!<\/a><\/strong><\/p>\n<p><a href=\"http:\/\/ludumdare.com\/compo\/ludum-dare-35\/?action=preview&amp;uid=52528\"><img class=\"aligncenter\" height=\"287\" src=\"https:\/\/img.itch.io\/aW1hZ2UvNjM0ODUvMjg2MTEzLmdpZg==\/315x250%23c\/UGrNab.gif\" width=\"430\"\/><\/a><\/p>","time":"April 20th, 2016 8:39 am","title":"Can you guess the game mechanics from this code snippet?","title_was_empty":false}