BTW, this is the falling blocks flash game I mentioned in my previous post. (click to play)

May 24th, 2008 | Tags: | Category: Flash Game |


I know this is supposed to be an art blog, but as soon as you introduce a computer, the lines between art and engineering start to get blurred. Regardless, I found this Flash AS3 Memory Leak to be such a landmine that I just had to post it somewhere for other people to hopefully find and breath a sigh of relief when they realize why their flash game slows down and grinds to a halt the longer they play it.

Okay, no beating around the bush. Do this code once a frame (or more!) and you’re flash game will grind to a halt.

mySprite.graphics.beginFill( 0xFFFFFF );
mySprite.graphics.drawRect( vPos.x, vPox.y, vSize.x, vSize.y );
mySprite.graphics.endFill();

This was my “DrawBlock” function for my falling blocks game. I see these three lines posted all over the web in tutorial and in forums. –Worse, I often only see the first two lines and no endFill(). The above code eats memory.

(more…)

May 24th, 2008 | Tags: | Category: Flash Game, Observation |

Emma’s one of the San Francisco artist I met through Sketchcrawl.com. She’s been making a comicbook, and posted some lessons learned. This is exactly the kind of thing I wish I had more time to post in *this* blog… however I’d rather see you learn something from *her* blog than learn nothing at all. :)
Here’s the link to Emma’s Comicking over on her blog “Art Plz”
May 09th, 2008 | Tags: | Category: Draw, Observation |