I have a rather simple game I'm trying to show to my friends, and since it doesn't seem to work in standalone or javascript mode, I have no other choice to than to come to these here forums. Is there anyway to check for error post export? Maybe certain files are returning NullPointerExceptions? I don't know, any advice is appreciated.
Turns out the AIFFs wouldn't load because minim wouldn't recognize them, so I converted all my AIFFs to MP3s and solved the problem.
I need to load a song and play it during the opening screen of my application, even though the file is in the data folder. I still recieve a NullPointerException.
I currently am writing an application that draws a screen with cells (drawn as line()s) to a fit a grid (100x100 grid of 4x4 squares). How would I go about converting an image into a rect()s that fit into my grid? Essentially downsampling the image. I assume you would load the pixels of the image you're going to draw, loop through the pixels, take the color from the it's place in the image and draw a grid of rectangles.