{"author_name":"TMKCodes","cat":"LD #30","comments":[],"epoch":1408840200,"likes":0,"metadata":{"p_key":"27552","p_author":"TMKCodes","p_authorkey":"35377","p_urlkey":"62996","p_title":"Dare progress report.","p_cat":"LD #30","p_event":"LD30","p_time":"1408840200","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"35377","us_name":"TMKCodes","us_username":"tmkcodes","event_start":"1408665600","event_key":"24","event_name":"LD30"},"text":"<p>Hello Ludum Dare guys..<\/p>\n <p>This how far we have gone in 25 hours..<\/p>\n <p><a href=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2014\/08\/LD30-saturday.png\"><img class=\"alignnone size-medium wp-image-379901\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2014\/08\/LD30-saturday-300x259.png\" alt=\"LD30-saturday\" width=\"300\" height=\"259\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/08\/LD30-saturday-300x259.png 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/08\/LD30-saturday-550x475.png 550w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/08\/LD30-saturday.png 1102w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n <p>&nbsp;<\/p>\n <p>That is a screenshot of what I have programmed today. It is much more complex than the picture tells. The white area are\u00a0tiles which are non collideable. The red area is made of tiles which are collideable. The yellow rectangle is kind of the player currently which can move around. Currently the red area does not block the yellow triangle from moving which allows the yellow triangle to move to the red area. The collision calculation is there, but I have not made it to disable the movement yet. If you notice the another small rectangle, the white one. It is another movable object, but it can not move other objects. Then again the yellow rectangle can push the white rectangle aroound.<\/p>\n <p>Now the funny stuff.. That white\/red area tiles are formed from 3 x 3 maps which have 6 x 6 tiles. Tiles are currently same size as the white and yellow triangles. Very much thanks to <a href=\"http:\/\/www.winterblood.com\/\">Winterblood<\/a> for helping with some coordinate math.<\/p>\n <p><span style=\"color: #000000\">TileWindowPositionX = (TileMapX * TileWidth) + (MapWorldX * MapWidth * TileWidth)<\/span><br style=\"color: #000000\" \/><span style=\"color: #000000\">TileWindowPositionY = (TileMapX *\u00a0TileHeight) + (MapWorldY * MapHeight * TileHeight)<\/span><\/p>\n <p>If someone is great and would reverse those two so that I can get TileMapX, TileMapY and MapWorlX, MapWorldY. I can manage without it, but it would make collision detection between world and entities much faster.<\/p>\n <p>&nbsp;<\/p>\n <p><a href=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2014\/08\/char_runcycle0001.png\"><img class=\"alignnone size-medium wp-image-379924\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2014\/08\/char_runcycle0001-300x255.png\" alt=\"char_runcycle0001\" width=\"300\" height=\"255\" \/><img class=\"alignnone size-medium wp-image-379923\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2014\/08\/char_runcycle0002-300x255.png\" alt=\"char_runcycle0002\" width=\"300\" height=\"255\" \/><img class=\"alignnone size-medium wp-image-379922\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2014\/08\/char_runcycle0003-300x255.png\" alt=\"char_runcycle0003\" width=\"300\" height=\"255\" \/><img class=\"alignnone size-medium wp-image-379921\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2014\/08\/char_runcycle0004-300x255.png\" alt=\"char_runcycle0004\" width=\"300\" height=\"255\" \/><img class=\"alignnone size-medium wp-image-379920\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2014\/08\/char_runcycle0005-300x255.png\" alt=\"char_runcycle0005\" width=\"300\" height=\"255\" \/><img class=\"alignnone size-medium wp-image-379919\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2014\/08\/char_runcycle0006-300x255.png\" alt=\"char_runcycle0006\" width=\"300\" height=\"255\" \/><\/a><\/p>\n <p>&nbsp;<\/p>\n <p>These rough pictures are done by my jam teammate and probably tomorrow well have them in more detailed form for me to add them to the game. \u00a0I don&#8217;t understand much about these graphics other than how to load them and draw them on the computer screen.<\/p>\n <p>The following LD30 picture has been drawnby myself with <a href=\"https:\/\/krita.org\/\">Krita<\/a>\u00a0the Linux\u00a0digital painting software. I&#8217;m going to include it as one of the game&#8217;s bootsplash.<\/p>\n <p><a href=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2014\/08\/LD30-banner.png\"><img class=\"alignnone size-medium wp-image-379962\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2014\/08\/LD30-banner-300x225.png\" alt=\"LD30-banner\" width=\"300\" height=\"225\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/08\/LD30-banner-300x225.png 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/08\/LD30-banner-550x412.png 550w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/08\/LD30-banner.png 1600w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n <p>I hope everyone is doing great! It&#8217;s time for me to go and sleep a bit.<\/p>\n <p>&nbsp;<\/p>","time":"August 23rd, 2014 7:30 pm","title":"Dare progress report."}