{"author_name":"xandrew","cat":"LD #22","comments":[],"epoch":1324253280,"likes":1,"metadata":{"p_key":"60504","p_author":"xandrew","p_authorkey":"8080","p_urlkey":"96257","p_title":"The End Is Here!","p_cat":"LD #22","p_event":"LD22","p_time":"1324253280","p_likes":"1","p_comments":"0","p_status":"UPD5","us_key":"8080","us_name":"xandrew","us_username":"xandrew","event_start":"1323993600","event_key":"8","event_name":"LD22"},"text":"<h1><strong><a title=\"Solitude.\" href=\"http:\/\/www.ludumdare.com\/compo\/ludum-dare-22\/?action=preview&amp;uid=8080\" target=\"_blank\">Solitude.<\/a><\/strong><\/h1>\n <p style=\"text-align: center\"><img class=\"aligncenter\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/compo2\/87574\/8080-shot0.png\" alt=\"\" width=\"439\" height=\"285\" \/><\/p>\n <p>See submission:\u00a0<a href=\"http:\/\/www.ludumdare.com\/compo\/ludum-dare-22\/?action=preview&amp;uid=8080\" rel=\"nofollow\">http:\/\/www.ludumdare.com\/compo\/ludum-dare-22\/?action=preview&amp;uid=8080<\/a><\/p>\n <p><strong>HOW TO PLAY<\/strong><\/p>\n <p>You are a small guy who needs to escape from this place he is in (Great story, huh?). Lasers are set around the map and there is a portal somewhere that allows you get out. The portal must be powered for you to leave.<\/p>\n <p>Using the WSAD keys you need to move around and discover where to go. When coming across a laser you need to either point it (use ARROW keys to direct laser) at the portal to activate it or direct it to another laser turret to power that and get to the portal that way. You will most likely need to direct lasers at multiple light turrets around the level to create a chain that can reach the portal.<\/p>\n <p>Select the level from the drop down list at the top and click Play &#8211; you will be launched into the astonishing world that is SOLITUDE.<\/p>\n <p><strong>LEVEL DESIGNER<\/strong><\/p>\n <p>One of the features of this project is the custom level designer. While it does not include a GUI for creating your own, you can easily add data to the \u201clevels\u201d directory and create your own!<\/p>\n <p>Create a new folder inside \u201clevels\u201d that is a number (yeah sorry &#8211; don\u2019t know why I did that). Inside that folder you need 3 files:<br \/>\n # data.png<br \/>\n # bg.png<br \/>\n # level.txt<\/p>\n <p>data.png &#8211; this image is purely black and white. White pixels define the space where the player and lasers can move in, black pixels define boundaries and inaccessible space for both the player and the laser.<\/p>\n <p>bg.png &#8211; this image is the background display for the level. This needs to be the same size as data.png. It should show the boundaries and well as pretty background colours. For an example see the levels 0, 1, or 2.<\/p>\n <p>level.txt &#8211; this text file is parsed when the game starts and allows you to define where all the laser turrets are (as well as exit portal and player starting position). Note that the levels 0, 1, and 2 do not have this as they are programmed into the game. You can, however, view an example test file in level 3.<br \/>\n The format for level.txt is as follows:<\/p>\n <p><span style=\"color: #999999\"># this is a comment<\/span><br \/>\n <span style=\"color: #999999\"># coordinates start at 0,0 from the bottom left corner<\/span><br \/>\n <span style=\"color: #999999\"># all coordinates are pixel values<\/span><br \/>\n <span style=\"color: #999999\"># the first coordinate is ALWAYS the portal that is the exit<\/span><br \/>\n <span style=\"color: #008000\">740 300<\/span><br \/>\n <span style=\"color: #999999\"># the second is the PLAYERS STARTING POSITION<\/span><br \/>\n <span style=\"color: #008000\">75 75<\/span><br \/>\n <span style=\"color: #999999\"># the next coordinates are a list of all the light turrets in the map<\/span><br \/>\n <span style=\"color: #008000\">50 550<\/span><br \/>\n <span style=\"color: #008000\">380 500<\/span><br \/>\n <span style=\"color: #008000\">400 150 <\/span><br \/>\n <span style=\"color: #008000\">750 550<\/span><br \/>\n <span style=\"color: #999999\"># any turret with a boolean value of &#8216;true&#8217; after it means it is a source turret and is ALWAYS lit<\/span><br \/>\n <span style=\"color: #008000\">50 50 true<\/span><br \/>\n <span style=\"color: #999999\"># any turret with a string of &#8216;pulse&#8217; next to it means it is a pulsing turret (one second on &#8211; one second off)<\/span><br \/>\n <span style=\"color: #008000\">700 50 pulse<\/span><br \/>\n <span style=\"color: #999999\"># yes &#8211; you can have a source light that pulses <\/span><br \/>\n <span style=\"color: #008000\">300 50 true pulse<\/span><br \/>\n <span style=\"color: #999999\"># and the last bit can be reversed<\/span><br \/>\n <span style=\"color: #008000\">400 50 pulse true<\/span><\/p>\n <p>Once you have created all those files and put them in a numbered directory in the directory &#8220;levels\/&#8221; it should appear when you start the game!<br \/>\n Have fun creating \ud83d\ude09<\/p>\n <p><strong>ABOUT<\/strong><\/p>\n <p>Created for the Ludum Dare Compo #22<br \/>\n <a href=\"http:\/\/www.ludumdare.com\/compo\/\">http:\/\/www.ludumdare.com\/compo\/<\/a><\/p>\n <p>By xandrew<br \/>\n <a href=\"http:\/\/www.ludumdare.com\/compo\/author\/xandrew\/\">http:\/\/www.ludumdare.com\/compo\/author\/xandrew\/<\/a><\/p>\n <p>With this being my first Ludum Dare \u2013 I was thinking I\u2019ll just use this as a learning experience to discover what I need to do BEFORE the next one. And it has been a VERY big learning experience. Also might enter the Jam next time and get a few people in and make a party of it. Because my lack of creativity and ideas started to show about halfway though.<\/p>\n <p>Can obtain the source here:<br \/>\n <a href=\"https:\/\/github.com\/andrew-smith\/Solitude-Ludum-Dare\">https:\/\/github.com\/andrew-smith\/Solitude-Ludum-Dare<\/a><\/p>\n <p>(Yes I know &#8211; my menu design is terrible)<\/p>","time":"December 18th, 2011 7:08 pm","title":"The End Is Here!"}