Level Scrolling while following mouse (includes source)

Hey Guys,

I don’t mean to be all blog spammy, but I figure someone might find this useful.

I’ve started working on a 2D scrolling game (I seem to start and never finish a 2D side scroller about once a year).
In my previous games I found scrolling to be tricky, so I thought I’d share how I’m approaching the problem this time around.

If anyone has some suggestions or comments I’d love to get them now while the project is in it’s infancy.

For example: Rather than shifting a big Sprite around would it be faster to capture screenshots with bitmapData and only display those? With the current engine, I don’t think it would be too hard to do that instead.

Anyway link is: