{"author_name":"barret907k","cat":"LD #31","comments":[{"author_name":"bufferoverflow","time":"December 6, 2014 8:12 pm","epoch":1417914720,"text":"If you want to avoid the naming problems of cloned prefabs you could always just set the name of the newly instantiated object&#8217;s name to whatever you wanted (probably the name of the prefab)","spam":"N"}],"epoch":1417912800,"likes":0,"metadata":{"p_key":"23648","p_author":"barret907k","p_authorkey":"14910","p_urlkey":"59044","p_title":"Complete Game","p_cat":"LD #31","p_event":"LD31","p_time":"1417912800","p_likes":"0","p_comments":"1","p_status":"UPD5","us_key":"14910","us_name":"barret907k","us_username":"barret907k","event_start":"1417737600","event_key":"26","event_name":"LD31"},"text":"<p><a href=\"https:\/\/lorenzgames.files.wordpress.com\/2014\/12\/ludum31-sat-632-pm.png\"><img class=\"alignnone size-medium wp-image-2079\" src=\"https:\/\/lorenzgames.files.wordpress.com\/2014\/12\/ludum31-sat-632-pm.png?w=300\" alt=\"Ludum31 Sat 632 PM\" width=\"300\" height=\"201\" \/><\/a><\/p>\n <p>So I added puzzle pieces. \u00a0Along with 3 riddles that let the user know where the puzzle pieces are. \u00a0When you collect all 3 you get a winning screen. WOOO. \u00a0Losing and winning creates a complete game!<\/p>\n <p>This took me forever because there is some weird behavior in unity where a prefab cannot instantiate another version of itself without using itself as a reference. \u00a0So what happens is that the object instead of being (clone) ends up being (clone)(clone) the more you use that prefab. \u00a0The only I found around it is to use a 2nd class to instantiate it.<\/p>\n <p>So now to they gym for a little bit next steps when I get back.<\/p>\n <ul>\n <li>ART ART ART ART<\/li>\n <li>Fix bug where Levels get cloned on top of each other. \u00a0Stupid ray tracing is being a dick. \u00a0Maybe I&#8217;ll just keep what levels have been instatiated and prevent new ones in those positions. \u00a0This will work.<\/li>\n <li>I added hints to the riddles. \u00a0I need to add a button to show them in the pause menu.<\/li>\n <li>Find the fun. \u00a0I want to add guys and see how that changes the game. \u00a0Right now its pretty boring. \u00a0I&#8217;m want to full with how fast you and enemies go based on how big the level is. \u00a0This should add some fun.<\/li>\n <\/ul>\n <p>Alright till next time.<\/p>","time":"December 6th, 2014 7:40 pm","title":"Complete Game"}