{"author_link":"\/users\/flying-dog-fish","author_name":"Flying Dog Fish","author_uid":"flying-dog-fish","comments":[],"epoch":1665174973,"event":"LD51","format":"md","ldjam_node_id":309486,"likes":4,"metadata":{"p_key":"169059","p_author":"Flying Dog Fish","p_authorkey":"1122902","p_urlkey":"396819","p_title":"Easiest way to make a labyrinth","p_cat":"LDJam ","p_event":"LD51","p_time":"1665174973","p_likes":"4","p_comments":"0","p_status":"WAYBACK","us_key":"1122902","us_name":"Flying Dog Fish","us_username":"flying-dog-fish","event_start":"1664496000","event_key":"114","event_name":"Ludum Dare 51"},"node":{"_collation":{"body_sanitizer":"TextUtils::SanitizeHTML via existing importer","event":"LD51","removed_author":false},"_superparent":296586,"_trust":10,"author":122902,"body":"I found that the easiest way to make a labyrinth was to draw it in pixel scale in gimp, then load it as a sprite in unity, and access it as an array, with black representing blank space, white representing a wall and so on.\nSo this\n![labyrinth0.png](\/\/\/raw\/610\/e1\/z\/52cd1.png)\nbecame this\n![labyrinth0big.png](\/\/\/raw\/610\/e1\/z\/52cd2.png)\nThis \n![labyrinth1.png](\/\/\/raw\/610\/e1\/z\/52cd3.png)\nbecame this\n![labyrinth1big.png](\/\/\/raw\/610\/e1\/z\/52cd5.png)\nAnd this \n![labyrinth2.png](\/\/\/raw\/610\/e1\/z\/52cd6.png)\nbecame this (scaled down)\n![labyrinth2big.png](\/\/\/raw\/610\/e1\/z\/52cd7.png)\nThe result can be seen in my game https:\/\/ldjam.com\/events\/ludum-dare\/51\/squareman","comments":6,"comments-timestamp":"2022-10-08T20:25:49Z","created":"2022-10-07T20:19:58Z","files":[],"files-timestamp":0,"id":309486,"love":4,"love-timestamp":"2022-10-11T15:40:30Z","meta":[],"modified":"2022-10-11T15:40:30Z","name":"Easiest way to make a labyrinth","node-timestamp":"2022-10-07T21:46:32Z","parent":301610,"parents":[1,5,9,296586,301610],"path":"\/events\/ludum-dare\/51\/squareman\/easiest-way-to-make-a-labyrinth","published":"2022-10-07T20:36:13Z","scope":"public","slug":"easiest-way-to-make-a-labyrinth","subsubtype":"","subtype":"","type":"post","version":964447},"node_metadata":{"n_key":"309486","n_urlkey":"396819","n_parent":"301610","n_path":"\/events\/ludum-dare\/51\/squareman\/easiest-way-to-make-a-labyrinth","n_slug":"easiest-way-to-make-a-labyrinth","n_type":"post","n_subtype":"","n_subsubtype":"","n_author":"122902","n_created":"1665173998","n_modified":"1665502830","n_version":"964447","n_status":"WAYBACK"},"source_url":"https:\/\/ldjam.com\/events\/ludum-dare\/51\/squareman\/easiest-way-to-make-a-labyrinth","text":"I found that the easiest way to make a labyrinth was to draw it in pixel scale in gimp, then load it as a sprite in unity, and access it as an array, with black representing blank space, white representing a wall and so on.\nSo this\n![labyrinth0.png](\/\/\/raw\/610\/e1\/z\/52cd1.png)\nbecame this\n![labyrinth0big.png](\/\/\/raw\/610\/e1\/z\/52cd2.png)\nThis \n![labyrinth1.png](\/\/\/raw\/610\/e1\/z\/52cd3.png)\nbecame this\n![labyrinth1big.png](\/\/\/raw\/610\/e1\/z\/52cd5.png)\nAnd this \n![labyrinth2.png](\/\/\/raw\/610\/e1\/z\/52cd6.png)\nbecame this (scaled down)\n![labyrinth2big.png](\/\/\/raw\/610\/e1\/z\/52cd7.png)\nThe result can be seen in my game https:\/\/ldjam.com\/events\/ludum-dare\/51\/squareman","title":"Easiest way to make a labyrinth","wayback_source":[]}