Now:
October Challenge 2014
Ends in:

Coming Soon:
Ludum Dare 31
December 5th-8th, 2014

PST: 6 PM
*EST: 9 PM
UTC: 02:00

ConstructionPlease excuse the site weirdness. Mike is making and fixing things. Clocks are probably wrong. Colors are place-holder.

Ludum Dare 31:
Ludum Deals
???
 
Recent:
MiniLD #XX

tip for people using processing.js

Posted by
April 21st, 2012 7:14 pm

If you’re using ArrayList, don’t give it an initial value. Anotherwords don’t do this:

ArrayList enemies;
enemies = new ArrayList(20);

I wasted too much time trying to figure that out. It was working fine in processing, but in the webbrowser it wasn’t working. Just leave it blank:

ArrayList enemies;
enemies = new ArrayList();

 

Leave a Reply

You must be logged in to post a comment.


[cache: storing page]