{"author_link":"\/author\/mactinite\/","author_name":"mactinite","author_uid":"26320","comments":[{"author_name":"randomvideo.com","author_uid":"37570","time":"Aug 12, 2014 @ 2:47pm","epoch":1407854520,"text":"cool! i am curius to see your actual ld entrie , good luck mate."},{"author_name":"Knowledge","author_uid":"34045","time":"Aug 12, 2014 @ 4:10pm","epoch":1407859500,"text":"Really great.\r<br\/>It works on 2000 rooms too (but it's a bit of slow)."},{"author_name":"HoboMechanistic","author_uid":"38275","time":"Aug 12, 2014 @ 7:08pm","epoch":1407870180,"text":"Very cool, I loaded 3000 :D \r<br\/>\r<br\/>Do you mind if I ask what you used to make the rooms? Are they quads? I really like how the doors match up with one another."},{"author_name":"shatley123","author_uid":"20690","time":"Aug 12, 2014 @ 7:48pm","epoch":1407872580,"text":"Managed 5000. Then I decided to do 10000 and my browser crashed :D"},{"author_name":"mactinite","author_uid":"26320","time":"Aug 13, 2014 @ 3:02am","epoch":1407898620,"text":"Hey guys, thanks for the interest. \r<br\/>\r<br\/>@Hobo I just used prefab quads, since they're all the same size I matched them up pretty rigidly. I'm still messing with this, right now I've added different sized rooms, but the doors don't match up :(. So I'm gonna have to change my rendering to a tilebased method."}],"images":["ld30w\/26320-92b7dba3ec77fafea2988bb87c9a84e8.jpg","ld30w\/26320-765d3a9deba3d7864b43d8e9ab47d26b.jpg","ld30w\/26320-cfcaf4cd276e58beef0f6976e025894f.jpg"],"links":[{"url":"http:\/\/mactinitegames.com\/ext\/Ludum_WarmUp\/WebBuild.html","text":"Web"}],"metadata":{"g_key":"34389","g_author":"26320","g_event":"LD30W","g_eventkey":"25","g_subevent":"-","g_urlkey":"34419","g_title":"Random Room Generation","g_status":"UCHK1","g_place":"99999","g_commentcount":"5","g_site2_node_id":"0","g_hide":"N","g_has_icon":"Y","g_rqueue":"0","g_random":"0"},"nds":[],"node":null,"orig_images":["http:\/\/ludumdare.com\/compo\/wp-content\/compo2\/\/367470\/26320-shot0.png-eq-900-500.jpg","http:\/\/ludumdare.com\/compo\/wp-content\/compo2\/\/367470\/26320-shot1.png-eq-900-500.jpg","http:\/\/ludumdare.com\/compo\/wp-content\/compo2\/\/367470\/26320-shot2.png-eq-900-500.jpg"],"text":"Just a quick stab at random room generation. Instantiates the rooms, randomly picks connections to previous rooms, and ensures that no rooms take over the same grid position. \r\n\r\nI've got it working with upwards of 1000 rooms on my machine.\r\n\r\nUpdate 1 : Added different sized rooms. Changed the algorithm to check if the new room overlaps with an old one.  Still working with upwards of 1000 rooms. I'm really having fun with this! \r\n\r\nUpdate 2 : Wall rendering fixed. Okay I think I'm done with this until next week. <\/p>","title":"Random Room Generation"}