{"author_name":"pakoito","cat":"LD #30","comments":[],"epoch":1408655940,"likes":0,"metadata":{"p_key":"29080","p_author":"pakoito","p_authorkey":"39791","p_urlkey":"64540","p_title":"Day two, laying the foundations","p_cat":"LD #30","p_event":"LD30","p_time":"1408655940","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"39791","us_name":"pakoito","us_username":"pakoito","event_start":"1408665600","event_key":"24","event_name":"LD30"},"text":"<p>Another 5 hours of livestreaming coding later I have the foundations for the LD project. Everything that was setup in my last post seems to be working fine and the pipeline works just fine.<\/p>\n <p>&nbsp;<\/p>\n <p>What I did today:<\/p>\n <ul>\n <li>Bring the whole render loop from my old project, along with bits and pieces of the Entity Component System (ECS).<\/li>\n <li>Fix some camera and projection problems that made android and PC behave differently.<\/li>\n <li>Add the ECS system for sprite rendering and HUD. Add debug text for ECS and FPS.<\/li>\n <li>Create my first component for those systems.<\/li>\n <li>Spent an embarrassingly long amount of time trying to be able to capture user clicks on screen to select said sprite. BROTIP: libgdx has inverted Y axis by default, and do not forget to camera.unproject the coordinates the touch listener spits you.<\/li>\n <li>Made a movement system for a control scheme similar to those in RTS games, but haven&#8217;t been successful so far. A small state machine in the input handler doubles as game logic, but my ECS systems are not capturing component changes at the expected pace.<\/li>\n <\/ul>\n <p>&nbsp;<\/p>\n <p>Thank you to the couple of subscribers I gained today, I only wish this gets a bit more interactive because it feels like I&#8217;m talking to myself most of the time when I&#8217;m trying to explain what&#8217;s happening on screen.<\/p>\n \n <p>Tags: <a href=\"http:\/\/ludumdare.com\/compo\/tag\/ld30\/\" rel=\"tag\">LD30<\/a>, <a href=\"http:\/\/ludumdare.com\/compo\/tag\/preparation\/\" rel=\"tag\">preparation<\/a><\/p>","time":"August 21st, 2014 4:19 pm","title":"Day two, laying the foundations"}