{"author_name":"GAFBlizzard","cat":"LD #31","comments":[],"epoch":1418286120,"likes":0,"metadata":{"p_key":"22138","p_author":"GAFBlizzard","p_authorkey":"12278","p_urlkey":"57503","p_title":"Ludum Dare 31 lessons learned","p_cat":"LD #31","p_event":"LD31","p_time":"1418286120","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"12278","us_name":"GAFBlizzard","us_username":"gafblizzard","event_start":"1417737600","event_key":"26","event_name":"LD31"},"text":"<p>Here are a few things I learned from this Ludum Dare:<\/p>\n <p>With HTML and swfobject.js, there seems to be no way to get initial mouse and keyboard focus without using wmode = &#8220;opaque&#8221; or possibly &#8220;window&#8221;, both of which apparently have performance problems.\u00a0 If you use wmode = &#8220;direct&#8221; for embedding Flash, people will have to click the flash video first for Flixel, and that click will apparently get ignored.\u00a0 Modifying Flixel might be one way to fix it.\u00a0 I just worked around it by making the game initially pause so there is a big arrow that makes it sort of obvious people need to click.<\/p>\n <p>Sometimes FlashDevelop seems to stop detecting compile errors, but when you run the standalone Flash player, it will freeze without doing anything.\u00a0 In this situation, if you close the Flash player and restart FlashDevelop, the next time you compile the error(s) should be properly detected.<\/p>\n <p>The standalone Flash player seems to have a bit of lag playing sound effects.\u00a0 However, playing the game in FireFox seems to make it better, so don&#8217;t panic!\u00a0 The &#8220;0.2&#8221; master volume in BFXR seems to work with 22 volume on my computer.\u00a0 However, BFXR annoyingly seems to reset the master volume with each new sound, so be very careful if you are wearing headphones.<\/p>\n <p>If I do something silly with a title\/menu page like making it a minigame, some people may like it, but other people may be annoyed by it.\u00a0 My conclusion is that I should include a skip button or keypress in that case so the people who get annoyed can jump straight to gameplay.<\/p>","time":"December 11th, 2014 3:22 am","title":"Ludum Dare 31 lessons learned"}