{"author_name":"Manik Sinha","cat":"LD #23","comments":[],"epoch":1335053640,"likes":0,"metadata":{"p_key":"57264","p_author":"Manik Sinha","p_authorkey":"12478","p_urlkey":"93013","p_title":"tip for people using processing.js","p_cat":"LD #23","p_event":"LD23","p_time":"1335053640","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"12478","us_name":"Manik Sinha","us_username":"pocico","event_start":"1334880000","event_key":"10","event_name":"LD23"},"text":"<p>If you&#8217;re using ArrayList, don&#8217;t give it an initial value. Anotherwords don&#8217;t do this:<\/p>\n <p>ArrayList enemies;<br \/>\n enemies = new ArrayList(20);<\/p>\n <p>I wasted too much time trying to figure that out. It was working fine in processing, but in the webbrowser it wasn&#8217;t working. Just leave it blank:<\/p>\n <p>ArrayList enemies;<br \/>\n enemies = new ArrayList();<\/p>\n <p>&nbsp;<\/p>","time":"April 21st, 2012 7:14 pm","title":"tip for people using processing.js"}